Difference iPerf results on windows and linux using same hardware #1293
Replies: 3 comments 4 replies
-
Hi, a possible reason is that different buffer sizes are used. The size can be viewed by using the Note that the |
Beta Was this translation helpful? Give feedback.
-
Hi David, I have dropped -b, and added -l and didn't experienced any different results. Also, one thing I have noticed that in windows the MSS size is picked up as default, however, when I locked it down to 1500, the results didn't changed. Linux: Test Complete. Summary Results: iperf Done. $ iperf3 -c 10.42.160.10 -p 8443 -t 5 -V -l 128K Test Complete. Summary Results: iperf Done. Windows: Test Complete. Summary Results: iperf Done. C:\Temp\iperf-3.1.3-win64>iperf3 -c 10.42.160.10 -p 8443 -t 5 -V -l 128K Test Complete. Summary Results: iperf Done. C:\Temp\iperf-3.1.3-win64>iperf3 -c 10.42.160.10 -p 8443 -t 5 -V -l 128K -M 1500 Test Complete. Summary Results: iperf Done. |
Beta Was this translation helpful? Give feedback.
-
Hi Munaveed2002,
|
Beta Was this translation helpful? Give feedback.
-
Hi All,
I am struggling with iperf between windows and linux. When I install Linux on same hardware, I get ~1G bandwidth, however, when I install windows on it I get ~150 Mbps.
I know distance does have a impact when it comes to throughput but why it doesn't have any effect when I install Linux on same hardware?
Would like to know why iperf is sensitive about the distance on windows application but not on Linux?
Stats:
►Test 1:
Version iperf 3.1.7
Operating System: Linux Red Hat (3.10.0-1160.53.1.el7.x86_64)
Latency between Server & client is 12ms
$ ping 10.42.160.10 -c 2
PING 10.42.160.10 (10.42.160.10) 56(84) bytes of data.
64 bytes from 10.42.160.10: icmp_seq=1 ttl=57 time=12.5 ms
64 bytes from 10.42.160.10: icmp_seq=2 ttl=57 time=11.9 ms
--- 10.42.160.10 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 11.924/12.227/12.531/0.323 ms
►Upload from Client to Server
$ iperf3 -c 10.42.160.10 -p 8443 -b 2G -t 5
Connecting to host 10.42.160.10, port 8443
[ 4] local 10.43.243.204 port 60094 connected to 10.42.160.10 port 8443
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 97.6 MBytes 819 Mbits/sec 0 2.60 MBytes
[ 4] 1.00-2.00 sec 112 MBytes 942 Mbits/sec 0 2.61 MBytes
[ 4] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 0 2.61 MBytes
[ 4] 3.00-4.00 sec 112 MBytes 942 Mbits/sec 0 2.64 MBytes
[ 4] 4.00-5.00 sec 112 MBytes 942 Mbits/sec 0 2.66 MBytes
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-5.00 sec 546 MBytes 917 Mbits/sec 0 sender
[ 4] 0.00-5.00 sec 546 MBytes 917 Mbits/sec receiver
iperf Done.
►Download from Server to Client
$ iperf3 -c 10.42.160.10 -p 8443 -b 2G -t 5 -R
Connecting to host 10.42.160.10, port 8443
Reverse mode, remote host 10.42.160.10 is sending
[ 4] local 10.43.243.204 port 60098 connected to 10.42.160.10 port 8443
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 108 MBytes 903 Mbits/sec
[ 4] 1.00-2.00 sec 112 MBytes 942 Mbits/sec
[ 4] 2.00-3.00 sec 112 MBytes 941 Mbits/sec
[ 4] 3.00-4.00 sec 112 MBytes 941 Mbits/sec
[ 4] 4.00-5.00 sec 112 MBytes 942 Mbits/sec
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-5.00 sec 559 MBytes 938 Mbits/sec 0 sender
[ 4] 0.00-5.00 sec 558 MBytes 936 Mbits/sec receiver
►Test 2:
Version iperf 3.1.3
Operating System: Windows 10 64 bit
Latency between Server & client is 12ms
C:\Temp\iperf-3.1.3-win64>ping 10.42.160.10
Pinging 10.42.160.10 with 32 bytes of data:
Reply from 10.42.160.10: bytes=32 time=12ms TTL=62
Reply from 10.42.160.10: bytes=32 time=12ms TTL=62
Reply from 10.42.160.10: bytes=32 time=12ms TTL=62
Reply from 10.42.160.10: bytes=32 time=12ms TTL=62
Ping statistics for 10.42.160.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 12ms, Maximum = 12ms, Average = 12ms
C:\Temp\iperf-3.1.3-win64>iperf3 -c 10.42.160.10 -p 8443 -b 2G -t 5
Connecting to host 10.42.160.10, port 8443
[ 4] local 10.43.190.59 port 61578 connected to 10.42.160.10 port 8443
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 17.0 MBytes 143 Mbits/sec
[ 4] 1.00-2.00 sec 18.9 MBytes 158 Mbits/sec
[ 4] 2.00-3.01 sec 18.9 MBytes 157 Mbits/sec
[ 4] 3.01-4.01 sec 18.8 MBytes 158 Mbits/sec
[ 4] 4.01-5.00 sec 18.8 MBytes 158 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-5.00 sec 92.2 MBytes 155 Mbits/sec sender
[ 4] 0.00-5.00 sec 92.2 MBytes 155 Mbits/sec receiver
iperf Done.
C:\Temp\iperf-3.1.3-win64>iperf3 -c 10.42.160.10 -p 8443 -b 2G -t 5 -R
Connecting to host 10.42.160.10, port 8443
Reverse mode, remote host 10.42.160.10 is sending
[ 4] local 10.43.190.59 port 61588 connected to 10.42.160.10 port 8443
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 15.7 MBytes 132 Mbits/sec
[ 4] 1.00-2.00 sec 15.6 MBytes 131 Mbits/sec
[ 4] 2.00-3.00 sec 15.7 MBytes 132 Mbits/sec
[ 4] 3.00-4.00 sec 15.7 MBytes 132 Mbits/sec
[ 4] 4.00-5.00 sec 15.7 MBytes 132 Mbits/sec
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-5.00 sec 80.4 MBytes 135 Mbits/sec 0 sender
[ 4] 0.00-5.00 sec 78.9 MBytes 132 Mbits/sec receiver
iperf Done.
Beta Was this translation helpful? Give feedback.
All reactions