下面数据都是web server第一次重新启动的测试.
其中apache是这样安装的.
./configure \
--prefix=/usr/home/yangjian/apache \
--with-mpm=worker \
--disable-access \
--disable-actions \
--disable-autoindex \
--disable-env \
--disable-imap \
--disable-negotiation \
--disable-setenvif \
--disable-status \
--disable-userdir \
--disable-cgi \
--disable-include \
--disable-auth \
--disable-asis \
--disable-log_config \
--disable-mime \
--disable-dir \
--disable-alias \
--disable-so
其他都没有装cgi相关的模块,都是只支持静态功能.
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.8 $> apache-2.0
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 192.168.241.109 (be patient)
Server Software: LiteSpeed
Server Hostname: 192.168.241.109
Server Port: 7981
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 69.97032 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 68556170 bytes
HTML transferred: 44936818 bytes
Requests per second: 1447.24 [#/sec] (mean)
Time per request: 690.970 [ms] (mean)
Time per request: 0.691 [ms] (mean, across all concurrent requests)
Transfer rate: 968.91 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 479 2077.3 100 45017
Processing: 12 145 142.0 126 2695
Waiting: 9 110 139.5 91 2661
Total: 39 625 2089.3 233 45129
Percentage of the requests served within a certain time (ms)
50% 233
66% 245
75% 256
80% 266
90% 395
95% 3197
98% 3709
99% 9245
100% 45129 (longest request)
Benchmarking 192.168.241.109 (be patient)
Server Software: Apache/2.0.49
Server Hostname: 192.168.241.109
Server Port: 7982
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 71.784828 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 71772417 bytes
HTML transferred: 44945349 bytes
Requests per second: 1393.05 [#/sec] (mean)
Time per request: 717.848 [ms] (mean)
Time per request: 0.718 [ms] (mean, across all concurrent requests)
Transfer rate: 976.39 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 3 344 2243.0 53 45048
Processing: 20 109 41.9 106 574
Waiting: 10 82 40.2 77 535
Total: 35 454 2248.4 160 45258
Percentage of the requests served within a certain time (ms)
50% 160
66% 175
75% 184
80% 192
90% 228
95% 383
98% 3189
99% 9138
100% 45258 (longest request)
Benchmarking 192.168.241.109 (be patient)
Server Software: lighttpd/1.4.7
Server Hostname: 192.168.241.109
Server Port: 7983
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 74.336715 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 68222506 bytes
HTML transferred: 44914817 bytes
Requests per second: 1345.23 [#/sec] (mean)
Time per request: 743.367 [ms] (mean)
Time per request: 0.743 [ms] (mean, across all concurrent requests)
Transfer rate: 896.23 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 568 2393.0 24 45038
Processing: 26 104 61.0 96 1360
Waiting: 14 90 59.5 84 1348
Total: 52 673 2397.0 117 45169
Percentage of the requests served within a certain time (ms)
50% 117
66% 127
75% 140
80% 163
90% 3106
95% 3129
98% 9104
99% 9129
100% 45169 (longest request)
:::后面的都是没有重新启动连续测试的结果:::
Benchmarking 192.168.241.109 (be patient)
Server Software: LiteSpeed
Server Hostname: 192.168.241.109
Server Port: 7981
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 60.269460 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 68616450 bytes
HTML transferred: 44976330 bytes
Requests per second: 1659.22 [#/sec] (mean)
Time per request: 602.695 [ms] (mean)
Time per request: 0.603 [ms] (mean, across all concurrent requests)
Transfer rate: 1111.81 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 5 434 2028.5 102 45050
Processing: 36 127 63.7 123 1174
Waiting: 19 93 60.9 89 1122
Total: 67 562 2038.2 228 45277
Percentage of the requests served within a certain time (ms)
50% 228
66% 240
75% 248
80% 254
90% 281
95% 3179
98% 3263
99% 9211
100% 45277 (longest request)
Benchmarking 192.168.241.109 (be patient)
Server Software: Apache/2.0.49
Server Hostname: 192.168.241.109
Server Port: 7982
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 68.747225 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 71726529 bytes
HTML transferred: 44916613 bytes
Requests per second: 1454.60 [#/sec] (mean)
Time per request: 687.472 [ms] (mean)
Time per request: 0.687 [ms] (mean, across all concurrent requests)
Transfer rate: 1018.88 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 3 487 2353.4 23 45041
Processing: 19 130 65.8 103 759
Waiting: 12 110 63.6 84 749
Total: 37 618 2359.0 143 45319
Percentage of the requests served within a certain time (ms)
50% 143
66% 192
75% 225
80% 238
90% 352
95% 3147
98% 3351
99% 9172
100% 45319 (longest request)
Benchmarking 192.168.241.109 (be patient)
Server Software: Apache/2.0.49
Server Hostname: 192.168.241.109
Server Port: 7982
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 70.561070 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 71771700 bytes
HTML transferred: 44944900 bytes
Requests per second: 1417.21 [#/sec] (mean)
Time per request: 705.611 [ms] (mean)
Time per request: 0.706 [ms] (mean, across all concurrent requests)
Transfer rate: 993.31 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 11 345 1798.0 61 45032
Processing: 23 116 37.2 113 575
Waiting: 14 86 34.5 82 507
Total: 44 461 1804.8 175 45258
Percentage of the requests served within a certain time (ms)
50% 175
66% 187
75% 197
80% 202
90% 230
95% 3149
98% 3197
99% 3343
100% 45258 (longest request)
Benchmarking 192.168.241.109 (be patient)
Server Software: lighttpd/1.4.7
Server Hostname: 192.168.241.109
Server Port: 7983
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 73.647771 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 68222506 bytes
HTML transferred: 44914817 bytes
Requests per second: 1357.81 [#/sec] (mean)
Time per request: 736.478 [ms] (mean)
Time per request: 0.736 [ms] (mean, across all concurrent requests)
Transfer rate: 904.62 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 3 584 2735.8 19 45015
Processing: 29 97 55.8 91 1380
Waiting: 17 85 54.8 81 1374
Total: 54 682 2740.0 109 45134
Percentage of the requests served within a certain time (ms)
50% 109
66% 115
75% 120
80% 124
90% 1380
95% 3121
98% 9111
99% 9137
100% 45134 (longest request)
Benchmarking 192.168.241.109 (be patient)
Server Software: lighttpd/1.4.7
Server Hostname: 192.168.241.109
Server Port: 7983
Document Path: /index.html
Document Length: 449 bytes
Concurrency Level: 1000
Time taken for tests: 73.262095 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 68229326 bytes
HTML transferred: 44919307 bytes
Requests per second: 1364.96 [#/sec] (mean)
Time per request: 732.621 [ms] (mean)
Time per request: 0.733 [ms] (mean, across all concurrent requests)
Transfer rate: 909.47 [Kbytes/sec] received