[TYPO3] Speed improvements

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Sun Jun 25 14:44:14 CEST 2006


Bernhard Kraft wrote:
> Bernhard Kraft wrote:
> 

> especially I would be interested how the differences are when an PHP accelerator gets
> used.
> 

hi

I've installed your ext and everything seems to works but...

I'am opening page /t3/index.php?id=527. The page is created in 
typo3temp/kb_quickfe/527. The parsetime calculated in modified index.php 
($end-$start) is 0.01s. Normally if I use DB cache it was 0.1s - 0.3s. 
So good so far. 10-30x faster - great :)


But ab gives me strange results. I use ab from remote host with:

ab -k -n100 -c10 http://domain/t3/index.php?id=527


I am not sure how to interpret that. Times with or without kb_quickfe 
are very similar and shows like there is no so much speed gain as that 
calculated in index.php as ($end-$start).

I am a little confused.

I have Turck MMCache 2.4.6 installed.

Below results from ab:



-----------------------------------------------------
HERE WITH kb_quickfe:

Document Path:          /t3/index.php?id=527
Document Length:        13950 bytes

Concurrency Level:      10
Time taken for tests:   14.288609 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      1414644 bytes
HTML transferred:       1399191 bytes
Requests per second:    7.00 [#/sec] (mean)
Time per request:       1428.861 [ms] (mean)
Time per request:       142.886 [ms] (mean, across all concurrent requests)
Transfer rate:          96.65 [Kbytes/sec] received

Connection Times (ms)
               min  mean[+/-sd] median   max
Connect:       24  304 149.6    308     660
Processing:   511 1065 218.7   1059    1673
Waiting:      250  645 214.8    646    1260
Total:        537 1369 237.6   1376    1938




-------------------------------------------------------------
HERE WITHOUT kb_quickfe:

Document Path:          /t3/index.php?id=527
Document Length:        13993 bytes

Concurrency Level:      10
Time taken for tests:   14.641591 seconds
Complete requests:      100
Failed requests:        9
    (Connect: 0, Length: 9, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    0
Total transferred:      1432066 bytes
HTML transferred:       1416050 bytes
Requests per second:    6.83 [#/sec] (mean)
Time per request:       1464.159 [ms] (mean)
Time per request:       146.416 [ms] (mean, across all concurrent requests)
Transfer rate:          95.48 [Kbytes/sec] received

Connection Times (ms)
               min  mean[+/-sd] median   max
Connect:       24  347 155.6    382     692
Processing:   336 1027 211.5   1013    1649
Waiting:       91  565 196.0    531    1239
Total:        360 1375 251.5   1403    1805




------------------------------------------------------------------
HERE STATIC HTML:
Server Software:        Apache

Document Path:          /t3/index.htm
Document Length:        1728 bytes

Concurrency Level:      10
Time taken for tests:   3.474951 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      186700 bytes
HTML transferred:       172800 bytes
Requests per second:    28.78 [#/sec] (mean)
Time per request:       347.495 [ms] (mean)
Time per request:       34.750 [ms] (mean, across all concurrent requests)
Transfer rate:          52.37 [Kbytes/sec] received

Connection Times (ms)
               min  mean[+/-sd] median   max
Connect:       24  158 131.5    111     460
Processing:    50  176 115.0    138     483
Waiting:       50  175 114.9    137     478
Total:         74  335 167.0    251     620



--
Krystian



More information about the TYPO3-english mailing list