免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 48893 | 回复: 2
打印 上一主题 下一主题

[Web] AB測試,失敗率高。。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-13 22:54 |只看该作者 |倒序浏览
[root@devel www]# /usr/local/apache2/bin/ab -n 10000 -c 1000 http://localhost/index.php/action/register
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to 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
Completed 10000 requests
Finished 10000 requests


Server Software:        nginx/0.6.32
Server Hostname:        localhost
Server Port:            80

Document Path:          /index.php/action/register
Document Length:        955 bytes

Concurrency Level:      1000
Time taken for tests:   11.019 seconds
Complete requests:      10000
Failed requests:        8244
   (Connect: 0, Receive: 0, Length: 8244, Exceptions: 0)
Write errors:           0
Total transferred:      19306320 bytes
HTML transferred:       15736320 bytes
Requests per second:    907.56 [#/sec] (mean)
Time per request:       1101.861 [ms] (mean)
Time per request:       1.102 [ms] (mean, across all concurrent requests)
Transfer rate:          1711.09 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    4  11.0      0      56
Processing:     7  693 1812.0     81   10964
Waiting:        2  692 1812.3     80   10964
Total:          8  698 1820.6     82   11015

Percentage of the requests served within a certain time (ms)
  50%     82
  66%    110
  75%    195
  80%    327
  90%   3016
  95%   3773
  98%   9121
  99%   9162
100%  11015 (longest request)

為什么失敗率這么高呢?請問可能是什么原因。。。
centos5.2+至強2.3+1g

论坛徽章:
0
2 [报告]
发表于 2008-08-13 22:55 |只看该作者
/usr/local/apache2/bin/ab -n 100 -c 100 http://localhost/index.php/action/register

Concurrency Level:      100
Time taken for tests:   0.063 seconds
Complete requests:      100
Failed requests:        45
   (Connect: 0, Receive: 0, Length: 45, Exceptions: 0)
Write errors:           0

论坛徽章:
0
3 [报告]
发表于 2008-08-14 20:21 |只看该作者
定下啊。。。。。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP