我也装上了,好像感觉不出来啊。
用 /usr/sbin/ab 测了一下,差别不是很大啊。
http://www.uplinux.com/info.php
测试方法:
$ /usr/sbin/ab "http://www.uplinux.com/bbs/index.php" -n200 -c1 -dS -H'Accept-Encoding: x-gzip'
This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking www.uplinux.com (be patient)
Completed 100 requests
Finished 200 requests
Server Software: Apache/1.3.27
Server Hostname: www.uplinux.com
Server Port: 80
Document Path: /bbs/index.php
Document Length: 4467 bytes
Concurrency Level: 1
Time taken for tests: 19.030 seconds
Complete requests: 200
Failed requests: 121
(Connect: 0, Length: 121, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 981588 bytes
HTML transferred: 893388 bytes
Requests per second: 10.51 [#/sec] (mean)
Time per request: 95.15 [ms] (mean)
Time per request: 95.15 [ms] (mean, across all concurrent requests)
Transfer rate: 51.58 [Kbytes/sec] received
Connnection Times (ms)
min avg max
Connect: 0 0 0
Processing: 86 95 146
Total: 86 95 146 |