I'm writing an HTTP server (relax, it's a special purpose server, I don't want to reinvent the wheel..)
The tester(client) machine is connected with a 10Gb connection to the server. Testing showed great performance, but then I thought I'm going create some more tests which has resemblence to a real world environment, so I used TC to set the RTT for clients, like this:
tc qdisc add dev eth1 root netem delay 50ms
If I test it with a couple of hundred clients (either with
ab or with my test program) it works fine and fast.. but if I use more than a 1000 clients the speed starts the drop very rapidly, something I haven't observed without TC.
Is this normal? Is it possible to simulate a lot of clients with moderate RTT using just one test machine? If not, how should I test my app?