ez projects / csmemcacheblock / forum / general / any benchmarks?
You need to be logged in to post messages in the forums. New users may register here.
Member since: Posts: 170 |
Monday 18 January 2010 9:59:37 am Hi!
Interesting extension, do you have any benchmarks or numbers to showcase how much it improves performance compared to regular cache-block's? And how many cache-block's do you use (root blocks, not nested childs)? And what platform? ;) André Lead Engineer eZ Publish |
|
|
Member since: Posts: 1 |
Wednesday 27 January 2010 3:02:22 pm Hi,
During test i did not noticed any boost performance boost. Testing was done just with default ezwebin installation and it's cache block. Currently there are three. Some data collected. Operation system: Centos PHP: 5.3 Apc Memcache CPCU - Pentium(R) Dual-Core CPU E6500 @ 2.93GHz RAM - 2gb This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking ez4.din.lt (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Finished 500 requests Server Software: lighttpd/1.4.22 Server Hostname: ez4.din.lt Server Port: 80 Document Path: / Document Length: 19356 bytes Concurrency Level: 5 Time taken for tests: 14.614033 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 9886615 bytes HTML transferred: 9678000 bytes Requests per second: 34.21 [#/sec] (mean) Time per request: 146.140 [ms] (mean) Time per request: 29.228 [ms] (mean, across all concurrent requests) Transfer rate: 660.60 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 1.1 0 14 Processing: 26 145 475.0 68 6730 Waiting: 24 141 475.0 59 6726 Total: 26 145 475.8 68 6744 Percentage of the requests served within a certain time (ms) 50% 68 66% 109 75% 118 80% 135 90% 200 95% 342 98% 627 99% 1341 100% 6744 (longest request) APC memcache block [root@remdex examples]# ab -n 500 -c 5 http://ez4.din.lt/ This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking ez4.din.lt (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Finished 500 requests Server Software: lighttpd/1.4.22 Server Hostname: ez4.din.lt Server Port: 80 Document Path: / Document Length: 19354 bytes Concurrency Level: 5 Time taken for tests: 15.811858 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 9885569 bytes HTML transferred: 9677000 bytes Requests per second: 31.62 [#/sec] (mean) Time per request: 158.119 [ms] (mean) Time per request: 31.624 [ms] (mean, across all concurrent requests) Transfer rate: 610.49 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 1.4 0 23 Processing: 28 156 690.5 88 12443 Waiting: 26 150 690.7 82 12441 Total: 28 156 690.5 88 12443 Percentage of the requests served within a certain time (ms) 50% 88 66% 112 75% 130 80% 155 90% 193 95% 238 98% 315 99% 702 100% 12443 (longest request) Memcache block [root@remdex examples]# ab -n 500 -c 5 http://ez4.din.lt/ This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking ez4.din.lt (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Finished 500 requests Server Software: lighttpd/1.4.22 Server Hostname: ez4.din.lt Server Port: 80 Document Path: / Document Length: 19354 bytes Concurrency Level: 5 Time taken for tests: 16.637811 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 9885569 bytes HTML transferred: 9677000 bytes Requests per second: 30.05 [#/sec] (mean) Time per request: 166.378 [ms] (mean) Time per request: 33.276 [ms] (mean, across all concurrent requests) Transfer rate: 580.18 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.6 0 7 Processing: 29 165 232.1 61 2113 Waiting: 26 159 231.6 58 2109 Total: 29 165 232.3 61 2119 Percentage of the requests served within a certain time (ms) 50% 61 66% 164 75% 214 80% 260 90% 378 95% 511 98% 895 99% 1357 100% 2119 (longest request) It's not dedicated server for this site. So results changes approximately around 2 or 3 #/s. Anyway using apc or memcache advantage is you reduce disk calls :) And perhaps some overhead was added by using ez Components implementation. Just need more testing :) --------------------------------------------- |
You need to be logged in to post messages in the forums. New users may register here.