Forums / Install & configuration / eaccelerator benchmark

eaccelerator benchmark

Author Message

Björn [email protected]

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