YMCのVPSを使っています。
しかしながら、ページ表示速度が遅いのでまず静的HTMLでベンチマーク取ってみました。
利用しているサービスはカスタム10。
測定環境
- 回線:100Mbps 光ファイバ(goo スピードテストで66.37Mbps)
ベンチマーク1
- ルータ経由数:21
以下、測定結果。
重要なポイントだけ引用。
% date Tue Sep 8 01:54:15 JST 2009 % /usr/local/apache2/bin/ab -n 100 Server Software: Apache/2.2.11 Document Length: 18661 bytes Concurrency Level: 1 Time taken for tests: 11.174 seconds Complete requests: 100 Failed requests: 0 Write errors: 0 Total transferred: 1896400 bytes HTML transferred: 1866100 bytes Requests per second: 8.95 [#/sec] (mean) Time per request: 111.743 [ms] (mean) Time per request: 111.743 [ms] (mean, across all concurrent requests) Transfer rate: 165.73 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 23 24 0.5 24 26 Processing: 73 87 51.1 76 350 Waiting: 23 25 1.2 25 32 Total: 98 112 51.1 100 374
まとめると以下。
- 回線が遅い
- レスポンスが来るまでが遅い(Processingの時間が長い)
ベンチマーク2
YMCのトップページの表示速度はすごく速いのでベンチマーク取ってみた。
- ルータ経由数:16
% date Tue Sep 8 01:54:15 JST 2009 % /usr/local/apache2/bin/ab -n 100 http://www.ymc.ne.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.ymc.ne.jp (be patient).....done Server Software: Apache/2.0.52 Server Hostname: www.ymc.ne.jp Server Port: 80 Document Path: / Document Length: 27895 bytes Concurrency Level: 1 Time taken for tests: 4.105 seconds Complete requests: 100 Failed requests: 0 Write errors: 0 Total transferred: 2804900 bytes HTML transferred: 2789500 bytes Requests per second: 24.36 [#/sec] (mean) Time per request: 41.049 [ms] (mean) Time per request: 41.049 [ms] (mean, across all concurrent requests) Transfer rate: 667.29 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 4 6 0.5 6 8 Processing: 34 35 0.6 35 38 Waiting: 7 8 0.3 8 9 Total: 39 41 0.8 41 45
比較
VPSが19KB、YMCのHTMLが28KBなのに、この差。
Comments