This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Performance Testing iperf

0

I am doing some performance testing using iperf between 2 Windows 2008 servers with a latency of around 80ms and a minimum available bandwidth of 200Mbps.

According to the following URL http://www.switch.ch/network/tools/tcp_throughput/ the optimal TCP window size should be around 2MB

required tcp buffer to reach 200 Mbps with RTT of 80.0 ms >= 2048.0 KByte

What throughput should I expect to see with this setting? Should it be reaching 200Mbps or what would be a more realistic value?

Many thanks

asked 24 Nov '13, 11:41

IanBlaney's gravatar image

IanBlaney
11112
accept rate: 0%


One Answer:

0

Well under 'ideal conditions', you can get up to ~190-195 Mbit/s. However, the real world is never ideal. So, if you get anything below that (which would be perfectly normal ;-)), there are many factors that can limit your throughput.

  • 'misbehaving' devices on the path, like switches, routers, firewalls, QoS devices, WAN accelerators
  • packet loss on the line
  • issues with the NIC driver of your Windows 2008 systems
  • TCP/IP offloading problems (also NIC driver related)
  • over provisioning of your provider (selling more bandwidth than he can actually guarantee at any time)

You can try to run iperf on two Linux systems (boot the PCs from a CDROM or flash drive), just to eliminate a possible impact of Windows 2008 and/or NIC driver issues. If you get the same (bad) results with iperf on Linux, you should capture the traffic and look for packet loss (retransmission, massive dup ACK, etc.)

BTW: What is the throughput you get with iperf on Windows 2008 with TCP (given the fact you have chosen the correct window and buffer sizes)? And what is the throughput if you test with UDP (iperf can do that as well)?

Regards
Kurt

answered 24 Nov '13, 16:10

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 25 Nov '13, 05:42

Hello Kurt

Many thanks for you answer. At the moment we are getting around 25-30Mbps when using TCP. There are WAN accelerators (Citrix) in between which we suspect are not configured properly and may be causing the issue. Taking packet captures at both ends we see strange things happening with the window size and scaling.

The accelerators are managed by a third party and we are in the process of getting the traffic between the iperf servers configured as passthrough mode.

We have tested using 2 linux clients and get much the same results. UDP throughput is around 120-130Mbps.

Ian

(25 Nov '13, 02:13) IanBlaney

There are WAN accelerators (Citrix) in between which we suspect are not configured properly and may be causing the issue.

You could place the two testing devices in front of the WAN accelerator if that is possible in your environment, or switch the WAN accelerators off during the test. Please consider, that those devices are not the only ones, that can cause trouble.

(25 Nov '13, 03:59) Kurt Knochner ♦