I got surprising results from some tests today.
The LVS is made of:
Director: P90, 72Mb RAM
RealServer1: P90, 72Mb RAM
RealServer2: P200, 130Mb RAM
RealServer3: P90, 24Mb RAM
RealServer4: 486, 32Mb RAM
I'm using wrr, and NAT.
The whole thing is on a 10mbs network.
results from httparm (stress tester I think I got from freshmeat.net):
--LVS--
max: 178 req/sec
sustained: 178 req/sec
then I took RealServer2 out of the LVS setup, and tested it separately:
--RealServer2 alone--
max: 175 req/sec
sustained: 130 req/sec
(more than 130 and the CPU load would build up)
results from apache benchmark:
LVS: 81.5 req/sec
RealServer2 alone: 107.55 req/sec
I then put RealServer2 back in the LVS and shut down all the other servers
and tried ab again..
RealServer2 alone in LVS: 94.07 req/sec
these tests aren't worth very much because I was running them from a 486,
but I still don't see why the LVS is doing worse than the single machine.
The other RealServers aren't very fast, but I thought they would help out.
Ian
|