Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would one go about objectively benchmarking different x86 server for their potential as x86 routers?

One idea I had is to setup two subnets, and, on opposite sides of a router. Then setup an Iperf client and server on the two subnets. However, this would only test raw throughput, and not how services like NAT and firewall rules act under load.

What is an objective way to test the throughput a router could handle in reality, eg. test NAT, firewall, and thoughput all at the same time.

EDIT: Is there a way to test a routers throughput directly without dealing with the bandwidth limits of the CAT6 cable in between.

share|improve this question
I think you're on the right track with iperf. – Matt Dec 12 '11 at 9:05
Without dealing with the cable bandwidth limits? But the traffic generator & receiver has to be plugged to the router. I don't see what you mean... – petrus Dec 12 '11 at 21:32
The max bandwidth on Cat6 is 10 Gigabit. What kind of router do you have that you're overrunning the bandwidth for Cat6? – Driftpeasant Dec 12 '11 at 21:35
Well, my switch is 100 Mbps. My point was to try and figure out how much throughput the CPU can handle regardless of switch speed. – Soviero Dec 12 '11 at 21:55
up vote 4 down vote accepted

iperf would be one way. You could design a bunch of tests and manually and then run iperf under each scenario.

However, have a look here. This is how these guys do it.

They use a tool call lxChariot which is meant to simulate real world loads.

share|improve this answer
Please see my most recent edit... – Soviero Dec 12 '11 at 21:21… - that's the newer version of that protocol. – Driftpeasant Dec 12 '11 at 21:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.