On Tue, Jan 18, 2000 at 04:51:47PM -0500, Jeff Hubbs wrote:
> Are there any good low-cost ways to perform stress-testing of Web servers in
> Linux-land?
>
Yes, as part of the apache software is a program called "ab"
for apache benchmarking. What I have done in the past is to use
the standard files from the webbench stuff (comes in 1K, 2K, 5K,
10K, 15K, and up to 2Mb or 5Mb I think) to make requests against.
We then wrote some simple shell and perl scripts to start multiple
copies of ab up on several client systems and then totaled the
results. The ab program produces output like the following:
ab command line used:
/usr/sbin/ab -k -n 60000 http://www.testedwebserver.com/index.html
This is ApacheBench, Version 1.3
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.6
Server Hostname: 192.168.121.189
Server Port: 80
Document Path: /index.html
Document Length: 1945 bytes
Concurrency Level: 1
Time taken for tests: 75.354 seconds
Complete requests: 60000
Failed requests: 0
Keep-Alive requests: 59406
Total transferred: 134733271 bytes
HTML transferred: 116700000 bytes
Requests per second: 796.24
Transfer rate: 1788.00 kb/s received
Connnection Times (ms)
min avg max
Connect: 0 0 0
Processing: 0 0 13
Total: 0 0 13
--
Steven A. DuChene        ">sad@valinux.com
Southeast US Systems Engineer
VA Linux Systems        http://www.valinux.com
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.