Apache ApacheBench OSS ---, -n, -w, 0, 05, 0646239, 1, 10, 100, 11, 1116.33, 120, 1246.17, 140, 19, 1900, 1923, 1996, 2, 2.2, 2.3, 2149, 22.870, 226, 2402, 25.530, 253, 2660, 2760, 28500, 3, 3000, 3170, 3916.95, 400, 410, 4372.53, 655654, 80, ab, Adam, apache, ApacheBench, Auto, AVG, Bench, Bin, bytes, C#, com, Complete, Concurrency, Connect, Connnection, Copyright, document, done, Draft, Failed, for, Foundation, fxfrog, gt, Hostname, html, http, httpd, iostat, is, IT, jp, KB, Length, Level-, Licensed, lt, Ltd, magazine, max, memstat, min, mod, MS, net, org, pagespeed, PATH, per, Port, Processing, rate, received, requests, restart, Revision, second, seconds, Server, Software, SourceForge, STG, taken, Technology, tests, The, this, Time, Times, to, TOP, Total, Transfer, transferred, Twiss, version, www, Zeus, zeustech, キャッシュ, こちら, ベンチマーク, モジュール, リバース, ヲタク, 以上, 個所, 処理, 分散, 収益, 域, 多分, 字, 導入, 導入前, 応答, 悪化, 改善, 時間, 普段, 検証, 理由, 経由, 結論, 計測, 記事, 評価, 赤字, 配信, 青, 高速 斉藤之雄 (Yukio Saito) 0 コメント
[IT] mod_pagespeed (Apache 高速化モジュール)を試した
[IT] mod_pagespeed (Apache 高速化モジュール)を試した
元記事はこちら → http://sourceforge.jp/magazine/10/11/05/0646239
■ さっそく導入してApache Bench で評価した。(導入&評価に要した時間3分、httpd restart 含む。memstat、top、iostat などは全然評価していない)
===
導入前のベンチマーク
c:Apache2.2bin>ab -n 100 -c 10 -w http://stg2.fxfrog.com/ > bench1.html
↓
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/
..done
Server Software: | Apache | ||
---|---|---|---|
Server Hostname: | stg2.fxfrog.com | ||
Server Port: | 80 | ||
Document Path: | / | ||
Document Length: | 19 bytes | ||
Concurrency Level: | 10 | ||
Time taken for tests: | 22.870 seconds | ||
Complete requests: | 100 | ||
Failed requests: | 0 | ||
Total transferred: | 28500 bytes | ||
HTML transferred: | 1900 bytes | ||
Requests per second: | 4372.53 | ||
Transfer rate: | 1246.17 kb/s received | ||
Connnection Times (ms) | |||
min | avg | max | |
Connect: | 140 | 226 | 340 |
Processing: | 260 | 1923 | 2660 |
Total: | 400 | 2149 | 3000 |
===
導入後のベンチマーク
(改善個所は青字、悪化個所は赤字にした)
c:Apache2.2bin>ab -n 100 -c 10 -w http://stg2.fxfrog.com/ > bench11.html
↓
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/
..done
Server Software: | Apache | ||
---|---|---|---|
Server Hostname: | stg2.fxfrog.com | ||
Server Port: | 80 | ||
Document Path: | / | ||
Document Length: | 19 bytes | ||
Concurrency Level: | 10 | ||
Time taken for tests: | 25.530 seconds | ||
Complete requests: | 100 | ||
Failed requests: | 0 | ||
Total transferred: | 28500 bytes | ||
HTML transferred: | 1900 bytes | ||
Requests per second: | 3916.95 | ||
Transfer rate: | 1116.33 kb/s received | ||
Connnection Times (ms) | |||
min | avg | max | |
Connect: | 120 | 253 | 410 |
Processing: | 290 | 2149 | 2760 |
Total: | 410 | 2402 | 3170 |
===
■結論
応答時間は改善したが、処理時間は悪化した。
ちなみに、リバースキャッシュを外しての計測です。普段はリバース経由で応答させています。理由は、分散配信検証をしているから。ヲタクの域を超えてます、多分、ええ、、収益を得ているから。
以上