0
FreeBSD下面使用lighttpd和Squid的性能日志报告,熟悉的人能看出来里面很奇怪的地方的
先不指出了,明天继续测试Apache 以及各自在解析php的性能

freebsd# ./ab -n 10000 -c 10 http://192.168.10.8:8080/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.10.8 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Finished 10000 requests


Server Software:        lighttpd/1.4.12
Server Hostname:        192.168.10.8
Server Port:            8080

Document Path:          /
Document Length:        12266 bytes

Concurrency Level:      10
Time taken for tests:   36.864351 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      125970000 bytes
HTML transferred:       122660000 bytes
Requests per second:    271.26 [#/sec] (mean)
Time per request:       36.864 [ms] (mean)
Time per request:       3.686 [ms] (mean, across all concurrent requests)

Transfer rate:          3337.02 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.7      0      21
Processing:     1   35  15.5     34     101
Waiting:        0   19  11.8     18      74
Total:          1   35  15.6     34     101

Percentage of the requests served within a certain time (ms)
  50%     34
  66%     41
  75%     46
  80%     49
  90%     57
  95%     63
  98%     72
  99%     78
100%    101 (longest request)
freebsd# ./ab -n 10000 -c 10 http://127.0.0.1/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Finished 10000 requests


Server Software:        lighttpd/1.4.12
Server Hostname:        127.0.0.1
Server Port:            80

Document Path:          /
Document Length:        12266 bytes

Concurrency Level:      10
Time taken for tests:   20.853567 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      125010000 bytes
HTML transferred:       122660000 bytes
Requests per second:    479.53 [#/sec] (mean)
Time per request:       20.854 [ms] (mean)
Time per request:       2.085 [ms] (mean, across all concurrent requests)

Transfer rate:          5854.15 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.6      0       6
Processing:     0   19  11.7     18     263
Waiting:        0   12  10.8     10     262
Total:          0   19  11.8     19     263

Percentage of the requests served within a certain time (ms)
  50%     19
  66%     23
  75%     27
  80%     29
  90%     35
  95%     40
  98%     46
  99%     50
100%    263 (longest request)
| 引用(0)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]