Mod_Pagespeed、安定版を入れてみた

GoogleのApacheサーバ向けウェブ高速化モジュール、Mod_Pagespeed、安定版リリース という記事が流れていたので懐かしさのあまり入れてみました

以前話題になったのが2年前ですね、mod_pagespeedをEC-CUBEを使って早速試してみる | のぶろぐ

インストール方法

公式に書いてある通りですが64bitCentOSの場合

~~~
$ wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
$ sudo yum install at # CentOS6なら標準で入ってると思います
$ sudo rpm -U mod-pagespeed-*.rpm
警告: mod-pagespeed-stable_current_x86_64.rpm: ヘッダ V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
job 1 at 2012-10-11 19:13
~~~

これで完了、簡単ですねヽ(´ー`)ノ

Installing mod_pagespeed From Packages – Make the Web Faster — Google Developers

試してみる

mod_pagespeed off

~~~
$ ab -n 100 -c 10 http://nob-log.info/

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 nob-log.info (be patient)…..done

Server Software: Apache/2.2.15
Server Hostname: nob-log.info
Server Port: 80

Document Path: /
Document Length: 62381 bytes

Concurrency Level: 10
Time taken for tests: 0.091 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 6339467 bytes
HTML transferred: 6300481 bytes
Requests per second: 1102.96 [#/sec] (mean)
Time per request: 9.066 [ms] (mean)
Time per request: 0.907 [ms] (mean, across all concurrent requests)
Transfer rate: 68283.08 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 1
Processing: 4 8 2.8 8 15
Waiting: 3 8 2.8 7 14
Total: 4 9 2.7 8 15

Percentage of the requests served within a certain time (ms)
50% 8
66% 9
75% 10
80% 11
90% 14
95% 15
98% 15
99% 15
100% 15 (longest request)
~~~

mod_pagespeed on

~~~
$ ab -n 100 -c 10 http://nob-log.info/

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 nob-log.info (be patient)…..done

Server Software: Apache/2.2.15
Server Hostname: nob-log.info
Server Port: 80

Document Path: /
Document Length: 67312 bytes

Concurrency Level: 10
Time taken for tests: 0.500 seconds
Complete requests: 100
Failed requests: 1
(Connect: 0, Receive: 0, Length: 1, Exceptions: 0)
Write errors: 0
Total transferred: 6760171 bytes
HTML transferred: 6731171 bytes
Requests per second: 200.16 [#/sec] (mean)
Time per request: 49.961 [ms] (mean)
Time per request: 4.996 [ms] (mean, across all concurrent requests)
Transfer rate: 13213.87 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 6 9.7 0 37
Processing: 14 43 14.8 42 93
Waiting: 9 40 16.4 38 93
Total: 18 49 16.6 45 93

Percentage of the requests served within a certain time (ms)
50% 45
66% 55
75% 62
80% 64
90% 71
95% 83
98% 86
99% 93
100% 93 (longest request)
~~~

結果

何故か遅くなったヽ(´ー`)ノ
なんか間違えているのかWPには効果が微妙なのか…要調査が必要なようです

とりあえずoffにしておこーっと

コメント

タイトルとURLをコピーしました