0
(0)

[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)
 minavgmax
Connect:140226340
Processing:26019232660
Total:40021493000

 

===

導入後のベンチマーク

(改善個所は青字、悪化個所は赤字にした)

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)
 minavgmax
Connect:120253410
Processing:29021492760
Total:41024023170

 

===

■結論

応答時間は改善したが、処理時間は悪化した。

ちなみに、リバースキャッシュを外しての計測です。普段はリバース経由で応答させています。理由は、分散配信検証をしているから。ヲタクの域を超えてます、多分、ええ、、収益を得ているから。

以上

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

投稿者 斉藤之雄 (Yukio Saito)

Global Information and Communication Technology OTAKU / Sports volunteer / Social Services / Master of Technology in Innovation for Design and Engineering, AIIT / BA, Social Welfare, NFU / twitter@yukio_saitoh