eaccelerator benchmark

Author Message

Björn Dieding@xrow.de

Tuesday 03 May 2005 3:02:02 pm

Did I do anything wrong or is this a common result with eaccelerator?

I have a P4 3GZ FC2 IDE. I was using iron cube before and it was only able to deliver 10 pages per second.

eaccelerator.cache_dir = /var/cache/php-eaccelerator
eaccelerator.shm_size = 0
eaccelerator.enable = 1
eaccelerator.optimizer = 1
eaccelerator.check_mtime = 1
eaccelerator.filter = "*.php *.phtml !.cache"
eaccelerator.shm_max = 0
eaccelerator.shm_ttl = 3600
eaccelerator.shm_prune_period = 0
eaccelerator.shm_only = 1
eaccelerator.compress = 1
eaccelerator.compress_level = 9
eaccelerator.debug = 0
eaccelerator.keys = "shm_only"
eaccelerator.sessions = "shm_only"
eaccelerator.content = "shm_only"
p15142952:~ # ab -c 20 -n 500 http://www/links
This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking www (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Finished 500 requests
Server Software:        Apache/2.0.51                                      
Server Hostname:        www
Server Port:            80

Document Path:          /links
Document Length:        10870 bytes

Concurrency Level:      20
Time taken for tests:   29.618 seconds
Complete requests:      500
Failed requests:        0
Broken pipe errors:     0
Total transferred:      5654188 bytes
HTML transferred:       5442846 bytes
Requests per second:    16.88 [#/sec] (mean)
Time per request:       1184.72 [ms] (mean)
Time per request:       59.24 [ms] (mean, across all concurrent requests)
Transfer rate:          190.90 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:       84    84    0.6     84    98
Processing:   449  1076  317.0   1043  2489
Waiting:      363  1076  316.9   1043  2489
Total:        449  1160  317.0   1127  2573

Percentage of the requests served within a certain time (ms)
  50%   1127
  66%   1255
  75%   1345
  80%   1396
  90%   1568
  95%   1717
  98%   1927
  99%   2044
 100%   2573 (last request)

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Łukasz Serwatka

Wednesday 18 May 2005 8:22:23 am

This is result from my test:
Athlon XP 3200+, Fedora Core 3

Default eAccelerator 0.9.3-rc2 settings

With 500 requests I had 494 failed so I suppose configuration problem.

ab -c 20 -n 200 http://localhost/test.ez/
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Finished 200 requests
Server Software:        Apache/1.3.33
Server Hostname:        localhost
Server Port:            80

Document Path:          /test.ez/
Document Length:        20837 bytes

Concurrency Level:      20
Time taken for tests:   20.099 seconds
Complete requests:      200
Failed requests:        0
Broken pipe errors:     0
Total transferred:      4252800 bytes
HTML transferred:       4167400 bytes
Requests per second:    9.95 [#/sec] (mean)
Time per request:       2009.90 [ms] (mean)
Time per request:       100.50 [ms] (mean, across all concurrent requests)
Transfer rate:          211.59 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    19   63.6      0   286
Processing:   402  1815  270.8   1868  2085
Waiting:      358  1814  275.5   1868  2084
Total:        402  1834  247.8   1868  2349

Percentage of the requests served within a certain time (ms)
  50%   1868
  66%   1870
  75%   1878
  80%   1885
  90%   1938
  95%   2037
  98%   2079
  99%   2149
 100%   2349 (last request)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 03:25:47
Script start
Timing: Jan 20 2025 03:25:47
Module start 'layout'
Timing: Jan 20 2025 03:25:47
Module start 'content'
Timing: Jan 20 2025 03:25:48
Module end 'content'
Timing: Jan 20 2025 03:25:48
Script end

Main resources:

Total runtime1.2621 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 590.2734152.6250
Module start 'layout' 0.00550.0033 742.898439.4609
Module start 'content' 0.00881.2517 782.3594546.9375
Module end 'content' 1.26050.0016 1,329.296912.1719
Script end 1.2621  1,341.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2497160.0002
Check MTime0.00130.1028160.0001
Mysql Total
Database connection0.00060.046810.0006
Mysqli_queries1.216796.3969540.0225
Looping result0.00050.0427520.0000
Template Total1.230397.520.6151
Template load0.00220.177820.0011
Template processing1.228097.297320.6140
Template load and register function0.00010.008410.0001
states
state_id_array0.00090.068210.0009
state_identifier_array0.00170.131720.0008
Override
Cache load0.00170.1362150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.053720.0003
Fetch class attribute name0.00130.104240.0003
XML
Image XML parsing0.00120.092420.0006
class_abstraction
Instantiating content class attribute0.00000.000440.0000
General
dbfile0.00110.0866240.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs