Forums / Install & configuration / eaccelerator benchmark

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

eZ debug

Timing: Jan 20 2025 01:04:00
Script start
Timing: Jan 20 2025 01:04:00
Module start 'content'
Timing: Jan 20 2025 01:04:01
Module end 'content'
Timing: Jan 20 2025 01:04:02
Script end

Main resources:

Total runtime1.3867 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.9688180.8359
Module start 'content' 0.00701.2062 769.8047552.0156
Module end 'content' 1.21330.1734 1,321.8203336.7813
Script end 1.3866  1,658.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.3340210.0002
Check MTime0.00170.1213210.0001
Mysql Total
Database connection0.00080.058710.0008
Mysqli_queries1.310294.48011910.0069
Looping result0.00200.14361890.0000
Template Total1.354897.720.6774
Template load0.00210.151420.0010
Template processing1.352797.547520.6763
Template load and register function0.00010.008510.0001
states
state_id_array0.00060.043510.0006
state_identifier_array0.00220.162020.0011
Override
Cache load0.00170.1241150.0001
Sytem overhead
Fetch class attribute can translate value0.00190.139030.0006
Fetch class attribute name0.00110.079040.0003
XML
Image XML parsing0.00140.104030.0005
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00630.4546350.0002
String conversion0.00000.001130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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