Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want perform a network performance benchmarking test so need to generate a 10 Gbps traffic in the network. The nodes are running RHEL 5.x. Can anyone please point me out to suitable binaries etc.

Can we use the iperf and netperf commands to perform this test?

share|improve this question

3 Answers 3

yes, iperf is the right tool for this. Make sure you use a long interval to allow the traffic stream to grow to 10GbE speeds. You may have to modify TCP window sizes to reach full saturation, as well. Here are some sample command lines...

On the server side:

iperf -s

On the client side:

iperf -c server.ip.address -w64k -t60

share|improve this answer

Sure, by all means.

One thing to watch out for with iperf is that you can bottleneck at the CPU - by default, it uses random data to nullify the effect of any tricky compression or deduplication of data.

If you have enough nodes, then it should be no problem to just use the default; if you find that the CPU is pegging, then override the input to something a little less intensive: -F /dev/zero

Also, depending on latency, TCP's ACKing may slow you down. To flood the pipes, use UDP with -u.

Whether you can actually generate 10 Gbps of data depends completely on the performance of your nodes and their network uplinks.

share|improve this answer

To get speeds greater than 1Gbps, the -P flag will help you out.

iperf -c server.ip.example.com -P8 -w64k

From man iperf:

  -P, --parallel n
        number of parallel client threads to run

You don't have to do anything special on the server side. Just run iperf -s.

share|improve this answer

Your Answer

 
discard

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.