eAccelerator 0.9.5-RC1. Jis grįžo :)

Seniau rašiau, kad teko išmesti eAccelerator’ių dėl pastebėtų negerų dalykų.

Pasirodžius Release Candidate 1 versijai nusprendžiau vėl jį išbandyti ir pažiūrėti, ar man ramybės nedavę bug’ai yra ištaisyti.

Atrodo, kad viskas veikia nepriekaištingai. Jau praėjo kelios dienos ir nei vienas apache thread’as nesicrash’ino ar pan. Nemanau, kad atsiras kažkokia tai didesnė problema :)

O dabar palyginimui, ką duoda eAccelerator:

%ab -n 500 http://dev.erdves.info/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0
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 dev.erdves.info (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Finished 500 requests

Server Software: Apache
Server Hostname: dev.erdves.info
Server Port: 80

Document Path: /
Document Length: 1439 bytes

Concurrency Level: 1
Time taken for tests: 29.72770 seconds
Complete requests: 500
Failed requests: 0
Write errors: 0
Total transferred: 921000 bytes
HTML transferred: 719500 bytes
Requests per second: 17.20 [#/sec] (mean)
Time per request: 58.146 [ms] (mean)
Time per request: 58.146 [ms] (mean, across all concurrent requests)
Transfer rate: 30.92 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 2
Processing: 52 57 16.0 53 259
Waiting: 50 55 15.9 51 257
Total: 52 57 16.0 53 259

Percentage of the requests served within a certain time (ms)
50% 53
66% 57
75% 57
80% 58
90% 59
95% 68
98% 100
99% 133
100% 259 (longest request)

Seniau rašiau apie framework’o evoliucija ir irgi leidau ab testus. Pažiūrėkime, kokie buvo rezultatai visiškai to pačio kodo be eAccelerator:

%ab -n 500 http://dev.erdves.info/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0
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 dev.erdves.info (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Finished 500 requests

Server Software: Apache
Server Hostname: dev.erdves.info
Server Port: 80

Document Path: /
Document Length: 1439 bytes

Concurrency Level: 1
Time taken for tests: 52.362119 seconds
Complete requests: 500
Failed requests: 0
Write errors: 0
Total transferred: 921000 bytes
HTML transferred: 719500 bytes
Requests per second: 9.55 [#/sec] (mean)
Time per request: 104.724 [ms] (mean)
Time per request: 104.724 [ms] (mean, across all concurrent requests)
Transfer rate: 17.17 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 2
Processing: 87 103 35.0 92 476
Waiting: 85 101 34.7 90 473
Total: 87 103 35.0 92 476

Percentage of the requests served within a certain time (ms)
50% 92
66% 94
75% 98
80% 102
90% 134
95% 181
98% 220
99% 241
100% 476 (longest request)

Skirtumas, manau, yra labai akivaizdus.Vos ne 50% (~45%) efektyviau. Jėgelė :)

O čia šiaip control panel’ės shoot’as:

eAccelerator control panel

Leave a Reply