iperf3: Uneven distribution of TCP throughput. #1242
Replies: 2 comments 1 reply
-
Hi, Does the same thing happen with longer tests? It's unusual to have that kind of asymmetry. It's possible there could be a bottleneck on the Pi somewhere. Do you see the same issue when trying the test between one of the Pi's and a PC? What about different numbers of parallel connections? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Since If this test will have even data distribution then the TCP stack may cause the issue, as when iperf3 try to send it sends to all streams. Therefore a reasonable cause of the problem is that for some reason the TCP stack prioritize the streams. |
Beta Was this translation helpful? Give feedback.
-
I am trying to use iperf3 to characterize Raspberry Pi-4 networking performance.
The setup consists of two Raspberry Pi-4s directly connected by the builtin 1 Gbe port.
I am seeing uneven/unfair distribution of TCP throughput across parallel TCP connections.
This is what I see when running 4 parallel TCP connections:
iperf3 -c pi2 -i 0 -P4
Connection 1 gets 11 Mbits/sec
Connection 2 gets 193 Mbits/sec
Connection 3 gets 719 Mbits/sec
Connection 4 gets 18 Mbits/sec
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Total of {1-4} is 941 Mbits/sec
I was expecting each of the 4 TCP connections to get ~235 Mbits/sec. {941/4}
Why are Connections 1 and 4 getting left behind?
Why is Connection 3 getting more than 3 times the expected performance?
This seems like a bug to me.
Has anyone else seen something similar?
Any pointers will be happily followed!
Thanks!
-- steve [email protected]
Beta Was this translation helpful? Give feedback.
All reactions