-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UDP iperf2 throughput cannot higher than 600Mbps #1217
Comments
I am not familiar with iperf2 implementation), but it may be because of the To check this try running iperf3 with burst size of 1 packet by setting |
Thank you for the suggestion! I have tried both /1 and /50, and their results are similar. When I tried reverse mode on client side (since I'm testing Down Link), it shows packet drop, but the server side which is listening shows no drop. Burst mode DL testingclient# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b1100M /1 -t5 Server listening on 5001 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b1100M /50 -t5 Server listening on 5001 --> Both results seem similar. Reverse modeclient# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b1100M /1 -t5 -R I have also test the TCP results, it can only get 300Mbps, and its RTT is 20ms. I'm wondering is it possible the link delay cause the package drop? |
The burst rate doesn't have an effect probably because you added a blank before the Did you have the If any case I suggest that you will try running with setting the burst, but with bit rate set to 200M, as the burst may increase throughput over 110M. I therefore suggest that you will try with |
Here's the result with no blank before / client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b1100M/1 -t5 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b1100M/50 -t5 Here's the result for 110M/1, 110M/10 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b 110M/1 -t5 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b 110M/10 -t5 Here's the result for 200M/1, 200M/10, and 200M/20 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b 200M/1 -t5 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b 200M/10 -t5 client# iperf3 -c 192.168.1.2 -i1 -p5001 -u -b 200M/20 -t5 Since the results are similar, it may not be the burst mode issue? |
It is strange that the bust does not have major effect. Maybe it is related to the high rate of packets loss, but I am not sure. In any case the difference between iperf2 and iperf3 throughput may also be because of the packets size. It seems that iperf3 sends 8KB packets, while iperf2 sends 1460 bytes packets. I suggest that you will try running both with the same packets size, e.g. 1000 bytes (or 8KB), by setting |
This time I tried b 200M and b 1100M, both with -l 8k b = 200Miperf3 iperf2 client # iperf -c 192.168.1.2 -p5001 -b 200M -l 8k -u b= 1100Miperf3 iperf2 -> If I set b = 1100M at server side, the results will show many 0 bit after 10 sec (default); if I only set b = 1100M at client side, then it looks fine (it will not show more than 10 sec). May I ask what cause this scenario? Maybe the length of the datagram is the issue, since this time b = 1100M can reach 900Mbps ! |
That very well may be the case. You can try with different packets lengths to to see how it impact the performance (both iper2 and iperf3). I also suggest to you However, there seem to be a network or PC performance/overload issue. When running using |
Context
I'm troubleshooting the company product, but there's some issue with the UDP iperf2 throughput
iperf 2.0.9
iperf 3.1.3
Bug Report
I set my pc as the server and the product's kernal as the client, the bandwidth is 1100M:
For Iperf3
[ 5] local 192.168.1.2 port 5001 connected to 192.168.1.1 port 50031
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 95.0 MBytes 797 Mbits/sec 0.053 ms 115/12278 (0.94%)
[ 5] 1.00-2.00 sec 111 MBytes 931 Mbits/sec 0.066 ms 207/14407 (1.4%)
[ 5] 2.00-3.00 sec 108 MBytes 908 Mbits/sec 0.073 ms 273/14130 (1.9%)
[ 5] 3.00-4.00 sec 110 MBytes 923 Mbits/sec 0.067 ms 303/14384 (2.1%)
[ 5] 4.00-5.00 sec 111 MBytes 934 Mbits/sec 0.056 ms 179/14425 (1.2%)
[ 5] 5.00-6.00 sec 109 MBytes 913 Mbits/sec 0.054 ms 217/14140 (1.5%)
[ 5] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 0.053 ms 0/14394 (0%)
[ 5] 7.00-8.00 sec 105 MBytes 883 Mbits/sec 0.057 ms 0/13466 (0%)
[ 5] 8.00-9.00 sec 107 MBytes 900 Mbits/sec 0.056 ms 0/13734 (0%)
iperf3: OUT OF ORDER - incoming packet = 68767 and received packet = 134302 AND SP = 5
[ 5] 9.00-10.00 sec 105 MBytes 879 Mbits/sec 0.075 ms 1/13416 (0.0075%)
[ 5] 10.00-10.03 sec 3.45 MBytes 876 Mbits/sec 0.074 ms 0/441 (0%)
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec 0.074 ms 1295/139215 (0.93%)
[SUM] 0.0-10.0 sec 1 datagrams received out-of-order
-> It looks normal
For iperf2
[ 3] local 192.168.1.2 port 5001 connected with 192.168.1.1 port 44077
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 0.0- 1.0 sec 66.4 MBytes 557 Mbits/sec 0.032 ms 22/47394 (0.046%)
[ 3] 1.0- 2.0 sec 66.4 MBytes 557 Mbits/sec 0.027 ms 33/47425 (0.07%)
[ 3] 2.0- 3.0 sec 66.5 MBytes 558 Mbits/sec 0.024 ms 24/47462 (0.051%)
[ 3] 3.0- 4.0 sec 66.5 MBytes 558 Mbits/sec 0.029 ms 0/47460 (0%)
[ 3] 4.0- 5.0 sec 66.5 MBytes 558 Mbits/sec 0.026 ms 0/47461 (0%)
[ 3] 5.0- 6.0 sec 66.5 MBytes 558 Mbits/sec 0.030 ms 26/47463 (0.055%)
[ 3] 6.0- 7.0 sec 66.5 MBytes 558 Mbits/sec 0.027 ms 35/47450 (0.074%)
[ 3] 7.0- 8.0 sec 66.3 MBytes 556 Mbits/sec 0.028 ms 186/47452 (0.39%)
[ 3] 8.0- 9.0 sec 66.5 MBytes 558 Mbits/sec 0.025 ms 0/47452 (0%)
[ 3] 0.0-10.0 sec 665 MBytes 557 Mbits/sec 0.028 ms 359/474363 (0.076%)
-> with no packet loss, no additional commands; why the the throughput drop to 500Mbps?
Expected Behavior
UDP can get 800~900Mbps throughput for iperf2 and iperf3, since I use cat5 cable for connection (1GB)
Actual Behavior
Iperf2 get no more than 600Mbps, I have tried -l , -w , -P, but all of them not work.
Possible Solutions
Unknown. Since I mainly use iperf2, I wish I can figure out this iperf2 issue.
The text was updated successfully, but these errors were encountered: