Webサーバーチューニング

某VPSサーバー上で動いている某サイトのab(ApacheBench)の結果をログしておく。

この数値が、チューニングによってどう変わって行くか、乞うご期待。

>ab -n 100 -c 10 http://www.***.jp/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.***.jp (be patient).....done

Server Software:        Apache/2.2.3
Server Hostname:        www.***.jp
Server Port:            80

Document Path:          /
Document Length:        37725 bytes

Concurrency Level:      10
Time taken for tests:   162.094 seconds
Complete requests:      100
Failed requests:        17
(Connect: 0, Receive: 0, Length: 17, Exceptions: 0)
Write errors:           0
Total transferred:      3795583 bytes
HTML transferred:       3772483 bytes
Requests per second:    0.62 [#/sec] (mean)
Time per request:       16209.375 [ms] (mean)
Time per request:       1620.938 [ms] (mean, across all concurrent requests)
Transfer rate:          22.87 [Kbytes/sec] received

Connection Times (ms)
min  mean[+/-sd] median   max
Connect:        0   13   6.2     16      16
Processing:  8688 15763 5002.6  14750   32359
Waiting:     2938 8672 3887.0   7625   22078
Total:       8688 15775 5002.2  14750   32375

Percentage of the requests served within a certain time (ms)
50%  14750
66%  16281
75%  17250
80%  17641
90%  23094
95%  28844
98%  31063
99%  32375
100%  32375 (longest request)