免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: 葱头
打印 上一主题 下一主题

请大家公布一下自己的apache压力测试成绩 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2008-01-26 05:39 |显示全部楼层
主机 Debian4.0r2(p4-2.4G 512M 80G-ide) + vmware6(FreeBSD6.3 mem=64M)
FreeBSD里装了mysql5.1.22+apache2.2.8(worker)+php5.2.5

测试结果:

# ab -n 10000 -c 200 http://localhost/index.html
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 localhost (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:        Apache/2.2.8
Server Hostname:        localhost
Server Port:            80

Document Path:          /index.html
Document Length:        44 bytes

Concurrency Level:      200
Time taken for tests:   20.120321 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      3250000 bytes
HTML transferred:       440000 bytes
Requests per second:    497.01 [#/sec] (mean)
Time per request:       402.406 [ms] (mean)
Time per request:       2.012 [ms] (mean, across all concurrent requests)
Transfer rate:          157.70 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   1.8      0      51
Processing:    81  396 531.8    288    5398
Waiting:       44  306 441.7    236    5179
Total:         81  396 532.5    288    5399

Percentage of the requests served within a certain time (ms)
  50%    288
  66%    324
  75%    334
  80%    345
  90%    403
  95%    504
  98%   2638
  99%   3842
100%   5399 (longest request)

[ 本帖最后由 charles73 于 2008-1-26 05:44 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP