paulsjv
Mon 30th Sep '02, 5:28pm
so i'm trying to stress test my new servers.. one is a web server the other is a DB server...
i figure i can just use the ab command from apache.. but reading the help on it i still don't know what i need to run at the command line.. here's what i have so far:
./ab http://site.com/forum/index.php -n 1000 -c 100
here are the results below (it's kinda forgien to me)
Benchmarking (be patient)
^M ^M$
Server Hostname:
Server Port:
Document Path: /forum/index.php
Document Length: 65438 bytes
Concurrency Level: 100
Time taken for tests: 100.812 seconds
Complete requests: 1000
Failed requests: 941
(Connect: 0, Length: 941, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 10154982 bytes
HTML transferred: 9832738 bytes
Requests per second: 9.92 [#/sec] (mean)
Time per request: 10081.20 [ms] (mean)
Time per request: 100.81 [ms] (mean, across all concurrent requests)
Transfer rate: 100.73 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 205 671.0 0 4148
Processing: 4178 9442 2068.0 9145 16925
Waiting: 2599 9438 2067.0 9145 16925
Total: 4178 9646 2406.6 9163 19384
Percentage of the requests served within a certain time (ms)
50% 9163
66% 9658
75% 10058
80% 10386
90% 12175
95% 15488
98% 17265
99% 18237
100% 19384 (last request)
while watching the "top" of the server while this was running the server load got WAY high.. i'm assuming it's because i had 100 concurrent connections.. but i'm curious to know how much data traveled between my DB server and my web server and how long that took to get etc.. cause when i was watching my DB server it bearly got over 1 for a load while my Web server got well over 30.. hmmm anyway are there any tests you all can recommend?
i figure i can just use the ab command from apache.. but reading the help on it i still don't know what i need to run at the command line.. here's what i have so far:
./ab http://site.com/forum/index.php -n 1000 -c 100
here are the results below (it's kinda forgien to me)
Benchmarking (be patient)
^M ^M$
Server Hostname:
Server Port:
Document Path: /forum/index.php
Document Length: 65438 bytes
Concurrency Level: 100
Time taken for tests: 100.812 seconds
Complete requests: 1000
Failed requests: 941
(Connect: 0, Length: 941, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 10154982 bytes
HTML transferred: 9832738 bytes
Requests per second: 9.92 [#/sec] (mean)
Time per request: 10081.20 [ms] (mean)
Time per request: 100.81 [ms] (mean, across all concurrent requests)
Transfer rate: 100.73 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 205 671.0 0 4148
Processing: 4178 9442 2068.0 9145 16925
Waiting: 2599 9438 2067.0 9145 16925
Total: 4178 9646 2406.6 9163 19384
Percentage of the requests served within a certain time (ms)
50% 9163
66% 9658
75% 10058
80% 10386
90% 12175
95% 15488
98% 17265
99% 18237
100% 19384 (last request)
while watching the "top" of the server while this was running the server load got WAY high.. i'm assuming it's because i had 100 concurrent connections.. but i'm curious to know how much data traveled between my DB server and my web server and how long that took to get etc.. cause when i was watching my DB server it bearly got over 1 for a load while my Web server got well over 30.. hmmm anyway are there any tests you all can recommend?