免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
11 [报告]
发表于 2003-01-28 12:27 |只看该作者

请大家公布一下自己的apache压力测试成绩

我觉得和负载好像没什么关系。
把并发数调低,就可以完成测试了。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
12 [报告]
发表于 2003-01-28 13:49 |只看该作者

请大家公布一下自己的apache压力测试成绩

我发现我这里的phpinfo的速度就特别慢,我怀疑是因为我调用的模块太多了,我在做-n 10000的时候也是打不开1000的时候就拒绝服务了
你的rh的php装得模块跟freebsd下面的一样不?

论坛徽章:
0
13 [报告]
发表于 2003-01-29 13:00 |只看该作者

请大家公布一下自己的apache压力测试成绩

freebsd 4.7   P4 1.7g  256m
测试后把apache关后,居然启动不起来了
真ft.....

[paopaoer@bbs paopaoer]$ab -n 10000 -c 200 http://localhost/phpinfo.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.120 $>; 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 localhost (be patient)
Completed 1000 requests
apr_recv: Connection reset by peer (54)
Total of 1625 requests completed
[paopaoer@bbs paopaoer]$ab -n 10000 -c 20 http://localhost/phpinfo.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.120 $>; 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 localhost (be patient)
apr_recv: Connection reset by peer (54)
Total of 180 requests completed
[paopaoer@bbs paopaoer]$ab -n 10000 -c 2 http://localhost/phpinfo.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.120 $>; 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 localhost (be patient)
apr_recv: Connection reset by peer (54)
Total of 16 requests completed
[paopaoer@bbs paopaoer]$

论坛徽章:
0
14 [报告]
发表于 2003-01-31 12:31 |只看该作者

请大家公布一下自己的apache压力测试成绩

這是我的成績 :

p4 1.6 / 512 DDR / 18G SCSI HD

ab -n 10000 -c 200 http://localhost/info.php
This is ApacheBench, Version 1.3d <$Revision: 1.67 $>; apache-1.3
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 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.27                                      
Server Hostname:        localhost
Server Port:            80

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

Concurrency Level:      200
Time taken for tests:   59.117 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      605564128 bytes
HTML transferred:       603172504 bytes
Requests per second:    169.16 [#/sec] (mean)
Time per request:       1182.34 [ms] (mean)
Time per request:       5.91 [ms] (mean, across all concurrent requests)
Transfer rate:          10243.49 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   178  260.0    164  3419
Processing:    67   984  349.5    949  8499
Waiting:       58   983  349.6    949  8498
Total:         67  1162  552.3   1119 11502

Percentage of the requests served within a certain time (ms)
  50%   1119
  66%   1150
  75%   1166
  80%   1180
  90%   1236
  95%   1331
  98%   1585
  99%   1816
100%  11502 (last request)

這是家中的伺服器 :

Cyrix M2 266 / 128 M  / 8 G HD

ab -n 10000 -c 200 http://localhost/info.php
This is ApacheBench, Version 1.3d <$Revision: 1.67 $>; apache-1.3
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 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.27                                      
Server Hostname:        localhost
Server Port:            80

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

Concurrency Level:      200
Time taken for tests:   1043.663 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      658992379 bytes
HTML transferred:       656592495 bytes
Requests per second:    9.58 [#/sec] (mean)
Time per request:       20873.26 [ms] (mean)
Time per request:       104.37 [ms] (mean, across all concurrent requests)
Transfer rate:          631.42 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1   851    nan    650 48882
Processing:  4601 10903 5682.4   6355 249321
Waiting:     4099 10837 5687.2   6287 249303
Total:       4601 11754 5894.2   7005 249917

Percentage of the requests served within a certain time (ms)
  50%   7005
  66%   7432
  75%   7969
  80%   9209
  90%  17378
  95%  31540
  98%  69961
  99%  116223
100%  249917 (last request)

论坛徽章:
0
15 [报告]
发表于 2003-05-25 21:06 |只看该作者

请大家公布一下自己的apache压力测试成绩

cd /usr/local/apache/bin

./ab

/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.1" not found

我的BSD是否没有安装完整?!难道不些包漏了?freebsd 4.5 release cvsup 到4.8 stable.

谁知道是怎么回事啊?

论坛徽章:
0
16 [报告]
发表于 2003-08-17 16:10 |只看该作者

请大家公布一下自己的apache压力测试成绩

Xeon 1.26 x2 /1024M ECC/18Gx2 + 32Gx2/HP NetRAID Mirror

This is ApacheBench, Version 1.3d <$Revision: 1.67 $>; apache-1.3
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 localhost (be patient)

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

Document Path:          /test/show.php
Document Length:        37728 bytes

Concurrency Level:      200
Time taken for tests:   17.078 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      383313615 bytes
HTML transferred:       381336510 bytes
Requests per second:    585.55 [#/sec] (mean)
Time per request:       341.56 [ms] (mean)
Time per request:       1.71 [ms] (mean, across all concurrent requests)
Transfer rate:          22444.88 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        4    66   26.4     68   147
Processing:   228   269   41.5    265   450
Waiting:      143   268   41.7    264   450
Total:        228   335   33.6    335   469

Percentage of the requests served within a certain time (ms)
  50%    335
  66%    347
  75%    356
  80%    361
  90%    376
  95%    389
  98%    413
  99%    424
100%    469 (last request)

论坛徽章:
0
17 [报告]
发表于 2003-08-17 16:21 |只看该作者

请大家公布一下自己的apache压力测试成绩

P4 2.4 / 1024M / 160G IDE

This is ApacheBench, Version 1.3d <$Revision: 1.67 $>; apache-1.3
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 localhost (be patient)

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

Document Path:          /test/show.php
Document Length:        26305 bytes

Concurrency Level:      200
Time taken for tests:   20.929 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      266917800 bytes
HTML transferred:       264943230 bytes
Requests per second:    477.81 [#/sec] (mean)
Time per request:       418.58 [ms] (mean)
Time per request:       2.09 [ms] (mean, across all concurrent requests)
Transfer rate:          12753.49 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    96  481.8     65  6388
Processing:    19   316   52.8    308   548
Waiting:       12   315   52.9    308   547
Total:         19   412  482.6    401  6758

Percentage of the requests served within a certain time (ms)
  50%    401
  66%    402
  75%    405
  80%    406
  90%    415
  95%    460
  98%    530
  99%    548
100%   6758 (last request)

论坛徽章:
0
18 [报告]
发表于 2003-08-17 16:28 |只看该作者

请大家公布一下自己的apache压力测试成绩

Transfer rate: 22444.88 [Kbytes/sec]

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

论坛徽章:
0
19 [报告]
发表于 2003-10-13 13:56 |只看该作者

请大家公布一下自己的apache压力测试成绩

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

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

Concurrency Level:      200
Time taken for tests:   30.599 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      354950000 bytes
HTML transferred:       352950000 bytes
Requests per second:    326.81 [#/sec] (mean)
Time per request:       611.98 [ms] (mean)
Time per request:       3.06 [ms] (mean, across all concurrent requests)
Transfer rate:          11600.05 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        3   286  151.0    286   717
Processing:   523   311  166.2    305  1031
Waiting:       27   308  166.2    302  1030
Total:        523   597  117.0    545  1417

Percentage of the requests served within a certain time (ms)
  50%    545
  66%    583
  75%    616
  80%    634
  90%    740
  95%    789
  98%   1014
  99%   1233
100%   1417 (last request)

1G的CPU 1G的内存 8G的SCSI+80G的IDE
FreeBSD4.8 跑了个IPB的论坛.

PHP的编译

Configure Command  './configure' '--prefix=/usr/local/php' '--with-mysql=/usr/local/mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/usr/local/apache/conf' '--enable-track-vars' '--enable-force-cgi-redirect' '--enable-pic' '--enable-inline-optimiation' '--enable-memory-limit' '--enable-debug=no' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal'

论坛徽章:
0
20 [报告]
发表于 2004-07-06 08:24 |只看该作者

请大家公布一下自己的apache压力测试成绩

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

Document Path:          /tt.php
Document Length:        40277 bytes

Concurrency Level:      200
Time taken for tests:   37.456759 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      404730000 bytes
HTML transferred:       402770000 bytes
Requests per second:    266.97 [#/sec] (mean)
Time per request:       749.135 [ms] (mean)
Time per request:       3.746 [ms] (mean, across all concurrent requests)
Transfer rate:          10552.01 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1  73.4      0    3000
Processing:   115  713 1275.6    399   16185
Waiting:        4  461 995.7    220    9014
Total:        115  715 1281.0    399   16185

Percentage of the requests served within a certain time (ms)
  50%    399
  66%    412
  75%    419
  80%    423
  90%    440
  95%   3095
  98%   6035
  99%   6084
100%  16185 (longest request)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP