2010年1月25日月曜日

Xcacheを設定した場合のベンチマーク

1回目

[root@localhost ~]# ab -n 100 -c 10 http://xxxx-net.jp/
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 xxxx-net.jp (be patient).....done

Server Software: Apache
Server Hostname: xxxx-net.jp
Server Port: 80
Document Path: /
Document Length: 0 bytes
Concurrency Level: 10
Time taken for tests: 12.785964 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 36400 bytes
HTML transferred: 0 bytes
Requests per second: 7.82 [#/sec] (mean)
Time per request: 1278.596 [ms] (mean)
Time per request: 127.860 [ms] (mean, across all concurrent requests)
Transfer rate: 2.74 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 51 360 899.9 64 3050
Processing: 403 817 411.1 757 4253
Waiting: 402 807 404.0 753 4252
Total: 467 1177 1042.7 812 4318
Percentage of the requests served within a certain time (ms)
50% 812
66% 857
75% 878
80% 915
90% 4029
95% 4050
98% 4068
99% 4318
100% 4318 (longest request)
2回目
[root@localhost ~]# ab -n 100 -c 10 http://xxxx-net.jp/

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 xxxx-net.jp (be patient).....done

Server Software: Apache
Server Hostname: xxxx-net.jp
Server Port: 80

Document Path: /
Document Length: 0 bytes

Concurrency Level: 10
Time taken for tests: 10.592108 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 36400 bytes
HTML transferred: 0 bytes
Requests per second: 9.44 [#/sec] (mean)
Time per request: 1059.211 [ms] (mean)
Time per request: 105.921 [ms] (mean, across all concurrent requests)
Transfer rate: 3.30 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 53 92 283.0 63 2893
Processing: 439 843 1152.4 626 8477
Waiting: 438 835 1151.4 626 8477
Total: 505 936 1177.1 691 8542

Percentage of the requests served within a certain time (ms)
50% 691
66% 723
75% 757
80% 805
90% 1043
95% 1437
98% 8442
99% 8542
100% 8542 (longest request)
約二倍ほど速くなったかな??