免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
31 [报告]
发表于 2007-04-03 14:24 |只看该作者
看来还是apache1.3的在这个测试的时候性能更好啊,不知道具体的应用如何

论坛徽章:
0
32 [报告]
发表于 2007-04-04 18:51 |只看该作者
Server Software:        Apache/2.0.59
Server Hostname:        localhost
Server Port:            80

Document Path:          /phpinfo.php
Document Length:        42628 bytes

Concurrency Level:      200
Time taken for tests:   66.355229 seconds
Complete requests:      10000
Failed requests:        43
   (Connect: 0, Length: 43, Exceptions: 0)
Write errors:           0
Total transferred:      428309785 bytes
HTML transferred:       426279785 bytes
Requests per second:    150.70 [#/sec] (mean)
Time per request:       1327.105 [ms] (mean)
Time per request:       6.636 [ms] (mean, across all concurrent requests)
Transfer rate:          6303.51 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   1.8      0      59
Processing:   326 1306 279.7   1264    3426
Waiting:       21  817 368.6    792    3351
Total:        326 1306 280.3   1264    3434

Percentage of the requests served within a certain time (ms)
  50%   1264
  66%   1287
  75%   1288
  80%   1288
  90%   1291
  95%   1436
  98%   2284
  99%   3062
100%   3434 (longest request)

晕,2.4G / 256M / 80G IDE
apache2.059 php1.6 mysql5.0
...

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
33 [报告]
发表于 2007-04-05 00:18 |只看该作者
我的PIII800,256M内存。815主板。fxp网卡,从本机测老提示出错,从另一个机器没的结果。
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> 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.202.18 (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.0
Server Hostname:        192.168.202.18
Server Port:            80

Document Path:          /index.php
Document Length:        38006 bytes

Concurrency Level:      200
Time taken for tests:   60.764415 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      382833332 bytes
HTML transferred:       380778412 bytes
Requests per second:    164.57 [#/sec] (mean)
Time per request:       1215.288 [ms] (mean)
Time per request:       6.076 [ms] (mean, across all concurrent requests)
Transfer rate:          6152.61 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0  148 835.7      0   12601
Processing:    36 1001 445.0    934    5971
Waiting:        7  746 351.5    728    5329
Total:         58 1150 955.9    951   14251

Percentage of the requests served within a certain time (ms)
  50%    951
  66%   1118
  75%   1220
  80%   1304
  90%   1622
  95%   2325
  98%   4053
  99%   4395
100%  14251 (longest request)

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
34 [报告]
发表于 2007-04-05 00:33 |只看该作者
另一个 双 PIII800的。694X的主板。
Server Software:        Apache
Server Hostname:        192.168.202.19
Server Port:            80

Document Path:          /test.php
Document Length:        33914 bytes

Concurrency Level:      200
Time taken for tests:   41.173292 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      341522629 bytes
HTML transferred:       340107835 bytes
Requests per second:    242.88 [#/sec] (mean)
Time per request:       823.466 [ms] (mean)
Time per request:       4.117 [ms] (mean, across all concurrent requests)
Transfer rate:          8100.35 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0  118 494.8      2    6220
Processing:    62  696 199.9    692    1371
Waiting:       15  363 189.9    346    1152
Total:         73  815 530.6    761    7292

Percentage of the requests served within a certain time (ms)
  50%    761
  66%    834
  75%    885
  80%    915
  90%   1026
  95%   1130
  98%   1229
  99%   3484
100%   7292 (longest request)


真强!CPU利用率马上为100%。

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
35 [报告]
发表于 2007-04-05 00:36 |只看该作者
原帖由 cnbluestar 于 2003-8-17 16:28 发表
Transfer rate: 22444.88 [Kbytes/sec]

哈哈,看来RAID卡就是比IDE快不少呀!



弱弱的问题:
这个测试和raid关系不大吧。应该测的是CPU、内存和网卡吧。

并且,如果速率大于11M的话,就应该是1000M的网卡吧。

论坛徽章:
0
36 [报告]
发表于 2007-04-15 15:03 |只看该作者
原帖由 lsstarboy 于 2007-4-5 00:36 发表



弱弱的问题:
这个测试和raid关系不大吧。应该测的是CPU、内存和网卡吧。

并且,如果速率大于11M的话,就应该是1000M的网卡吧。


我也弱弱的回答一下!仅仅是猜测!

人家用的是localhost测试而你用的是IP远程测试的!所以人家的100M网卡也能超过11M的!^_^

论坛徽章:
0
37 [报告]
发表于 2007-04-15 20:42 |只看该作者
我也来给个测试成绩

p3 450
256m
6.0 ide

Server Software:        Apache/2.2.4
Server Hostname:        localhost
Server Port:            80

Document Path:          /index.php
Document Length:        38155 bytes

Concurrency Level:      200
Time taken for tests:   133.837345 seconds
Complete requests:      10000
Failed requests:        1
   (Connect: 1, Length: 0, Exceptions: 0)
Write errors:           0
Total transferred:      383790000 bytes
HTML transferred:       381550000 bytes
Requests per second:    74.72 [#/sec] (mean)
Time per request:       2676.747 [ms] (mean)
Time per request:       13.384 [ms] (mean, across all concurrent requests)
Transfer rate:          2800.37 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   48 616.7      0   10300
Processing:   188 2619 604.3   2598    7043
Waiting:        0  793 499.9    706    4313
Total:        188 2667 995.6   2600   15504

Percentage of the requests served within a certain time (ms)
  50%   2600
  66%   2667
  75%   2713
  80%   2747
  90%   2825
  95%   3062
  98%   5159
  99%   5978
100%  15504 (longest request)

[ 本帖最后由 agoods 于 2007-4-15 20:48 编辑 ]

论坛徽章:
0
38 [报告]
发表于 2007-04-19 19:37 |只看该作者
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
CPU0: Intel(R) Celeron(R) CPU 2.80GHz stepping 01
Brought up 1 CPUs
256MB RAM




http://localhost/info.php
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/1.3.34
Server Hostname:        localhost
Server Port:            80

Document Path:          /info.php
Document Length:        40729 bytes

Concurrency Level:      200
Time taken for tests:   26.793662 seconds
Complete requests:      10000
Failed requests:        41
   (Connect: 0, Length: 41, Exceptions: 0)
Write errors:           0
Total transferred:      409319795 bytes
HTML transferred:       407289795 bytes
Requests per second:    373.22 [#/sec] (mean)
Time per request:       535.873 [ms] (mean)
Time per request:       2.679 [ms] (mean, across all concurrent requests)
Transfer rate:          14918.68 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       24  259 129.1    260     492
Processing:    26  275 129.2    275     507
Waiting:        3  242 139.2    242     492
Total:        505  534   4.6    534     546

Percentage of the requests served within a certain time (ms)
  50%    534
  66%    535
  75%    536
  80%    538
  90%    542
  95%    544
  98%    545
  99%    545
100%    546 (longest request)

论坛徽章:
0
39 [报告]
发表于 2007-07-17 14:19 |只看该作者
Failed requests:        0

为什么我的机器测试出来完成1000个请求,居然有827个请求失败呢???
数据如下:

大家帮忙分析一下

Server Software:        Apache/2.2.4
Server Hostname:        192.168.1.66
Server Port:            80

Document Path:          /index.php
Document Length:        42323 bytes

Concurrency Level:      50
Time taken for tests:   13.62500 seconds
Complete requests:      1000
Failed requests:        827
   (Connect: 0, Length: 827, Exceptions: 0)
Write errors:           0
Total transferred:      42535135 bytes
HTML transferred:       42327135 bytes
Requests per second:    76.56 [#/sec] (mean)
Time per request:       653.125 [ms] (mean)
Time per request:       13.063 [ms] (mean, across all concurrent requests)
Transfer rate:          3179.94 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   5.0      0      15
Processing:    15  639 1029.2    343    8281
Waiting:        0  483 980.3    203    8250
Total:         15  641 1028.9    343    8281

Percentage of the requests served within a certain time (ms)
  50%    343
  66%    500
  75%    625
  80%    703
  90%   1250
  95%   2750
  98%   4437
  99%   6312
100%   8281 (longest request)

机器是很老
赛扬1.1G     384M    15G IDE    BX老板子

论坛徽章:
0
40 [报告]
发表于 2007-07-17 16:14 |只看该作者
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.3
Server Hostname:        localhost
Server Port:            80

Document Path:          /test/index.php
Document Length:        212 bytes

Concurrency Level:      200
Time taken for tests:   6.701470 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Non-2xx responses:      10029
Total transferred:      4001571 bytes
HTML transferred:       2126148 bytes
Requests per second:    1492.21 [#/sec] (mean)
Time per request:       134.029 [ms] (mean)
Time per request:       0.670 [ms] (mean, across all concurrent requests)
Transfer rate:          583.01 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    7  90.1      3    3022
Processing:    16  123 387.2     90    6348
Waiting:       10  114 386.1     83    6333
Total:         16  130 399.0     93    6377

Percentage of the requests served within a certain time (ms)
  50%     93
  66%     97
  75%    100
  80%    103
  90%    118
  95%    141
  98%    171
  99%    497
100%   6377 (longest request)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP