发信人: liugang()
整理人: hahalee(1999-03-29 18:39:40), 站内信件
|
【 在 hahalee (哈哈李) 的大作中提到: 】 : 我在一台256M内存,2xPII300服务器上疲劳测试了4.0-CURRENT, : 结果相当的不错: : loadavg: 最大到达了63.xx, 心疼硬盘, 没继续折腾了 : apache: 安装了apache13-php包, 手工做了点配置, 最大连接 : 设为500个, 其时总进程数为54x,其中497个httpd. : 大约589个连接/秒. 吞吐12xxKB/s.(LAN,取一静态页面) : 打开fd有12xx个, 用掉5xxx个mbuf, load=2.0x : 平均连接响应时间<800ms : 没有测试cgi性能. 不过在web测试中机器表现如此悠闲,应该 : 会有相当的资源空间. FreeBSD可真是能吃苦耐劳. 我的机器是512内存,2XPII450,操作系统用的是REDHAT-5。2,LINUX-2。0。36 我对内核作乐少少的修改。这是我第一次测试机器,帮忙分析。可能我的测试挺不合理 的。 1:13pm up 3 days, 2:21, 108 users, load average: 268.74, 225.18, 129.09
[root@bbs bin]# ./ab -n 500 -c 500 http://bbs.szu.edu.cn/cgi-bin/bbsall This is ApacheBench, Version 1.2 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/
Server Software: Apache/1.3.3 Server Hostname: bbs.szu.edu.cn Server Port: 80
Document Path: /cgi-bin/bbsall Document Length: 14676 bytes
Concurrency Level: 500 Time taken for tests: 508.919 seconds Complete requests: 500 Failed requests: 0 Total transferred: 8946818 bytes HTML transferred: 8847100 bytes Requests per second: 0.98 Transfer rate: 17.58 kb/s received
Connnection Times (ms) min avg max Connect: 0 8262 10760 Processing: 101275 284741 494232 Total: 101275 293003 504992 能将你的测试方法具体写写吗?我这样测好象看不出什么。 [root@bbs bin]# ./ab -n 1 http://bbs.szu.edu.cn/cgi-bin/bbsall This is ApacheBench, Version 1.2 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/
Server Software: Apache/1.3.3 Server Hostname: bbs.szu.edu.cn Server Port: 80
Document Path: /cgi-bin/bbsall Document Length: 14677 bytes
Concurrency Level: 1 Time taken for tests: 0.734 seconds Complete requests: 1 Failed requests: 0 Total transferred: 14823 bytes HTML transferred: 14677 bytes Requests per second: 1.36 Transfer rate: 20.19 kb/s received
Connnection Times (ms) min avg max Connect: 0 0 0 Processing: 733 733 733 Total: 733 733 733
-- ※ 来源:.网易 BBS bbs.netease.com.[FROM: bbs.huizhou.gd.cn]
|
|