Hi...
What is the best way to benchmark a LVS-NAT cluster?
I have tried using "ab", but it seems to be giving me strange
results. My director is a Dell 1650, dual p4, 4 GB RAM, and my
real servers are Dell 2650, dual p4, 4GB RAM. When both RS
are configured (using ldirectord), ab shows:
./ab -n 1000 -c 500 http://192.168.1.153/index.php
Server Software: Apache
Server Hostname: 192.168.1.153
Server Port: 80
Document Path: /index.php
Document Length: 3453 bytes
Concurrency Level: 500
Time taken for tests: 0.366 seconds
Complete requests: 1000
Failed requests: 370
(Connect: 0, Length: 370, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 3606987 bytes
HTML transferred: 3469146 bytes
Requests per second: 2732.24 [#/sec] (mean)
Time per request: 183.00 [ms] (mean)
Time per request: 0.37 [ms] (mean, across all concurrent
requests)
Transfer rate: 9855.16 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 2 7 4.2 4 15
Processing: 27 89 60.1 65 343
Waiting: 11 88 60.1 65 343
Total: 27 95 60.6 71 354
Yet, if I only put one RS behind the director, there are no failed
requests at all.
Am I being an idiot and missing something here? Logs on RS do
not indicate any problems...
Jeff
|