|
用ab测试的结果(和freeoz对比,测试20次,并发10线程)
freead:
[test@hk ~]# ab -n 20 -c 10 http://www.freeadelaide.com/bbs/index.php
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking www.freeadelaide.com (be patient).....done
Server Software: Apache
Server Hostname: www.freeadelaide.com
Server Port: 80
Document Path: /bbs/index.php
Document Length: 23236 bytes
Concurrency Level: 10
Time taken for tests: 18.221538 seconds
Complete requests: 20
Failed requests: 1
(Connect: 0, Length: 1, Exceptions: 0)
Write errors: 0
Total transferred: 540937 bytes
HTML transferred: 532243 bytes
Requests per second: 1.10 [#/sec] (mean)
Time per request: 9110.769 [ms] (mean)
Time per request: 911.077 [ms] (mean, across all concurrent requests)
Transfer rate: 28.98 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 363 371 10.1 370 407
Processing: 1989 6003 2671.9 6487 12164
Waiting: 444 759 575.2 591 2832
Total: 2372 6375 2676.8 6850 12571
Percentage of the requests served within a certain time (ms)
50% 6850
66% 7286
75% 8165
80% 8223
90% 10652
95% 12571
98% 12571
99% 12571
100% 12571 (longest request)
FreeOZ:
[test@hk ~]# ab -n 20 -c 10 http://www.freeoz.org/forum/index.php
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking www.freeoz.org (be patient).....done
Server Software: nginx/0.6.34
Server Hostname: www.freeoz.org
Server Port: 80
Document Path: /forum/index.php
Document Length: 28584 bytes
Concurrency Level: 10
Time taken for tests: 2.331348 seconds
Complete requests: 20
Failed requests: 0
Write errors: 0
Total transferred: 613880 bytes
HTML transferred: 607346 bytes
Requests per second: 8.58 [#/sec] (mean)
Time per request: 1165.674 [ms] (mean)
Time per request: 116.567 [ms] (mean, across all concurrent requests)
Transfer rate: 256.93 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 162 163 1.3 163 168
Processing: 611 711 105.6 643 870
Waiting: 268 295 22.6 290 347
Total: 774 874 105.4 806 1033
Percentage of the requests served within a certain time (ms)
50% 806
66% 974
75% 993
80% 1003
90% 1023
95% 1033
98% 1033
99% 1033
100% 1033 (longest request) |
|