-
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
iperf3 reporting 0 bytes of throughput under UDP and high latency conditions #1195
Comments
I suggest to try some variations of the test to see what happens. That may give more information about the problem:
|
Also, consider checking for host-based or network firewalls that might be blocking UDP traffic. |
The connections between client and server is over a direct ethernet to ethernet connection to the first bridge and rf connection from bridge to bridge. There should be no network firewalls blocking UDP traffic. I don't think this is the issue because UDP traffic does get through for some cases like when buffer length is 64kb. |
Is the problem in these cases only with the control messages? If this is the case, what it the throughput on the server side? Can you share the client and server output for one of these cases?
It may be that for some reason, e.g. because of network loading by other traffic, there are "windows of time" when packets can pass between the client and server. Since UDP does not retry sending, there is a lower chance that it will send when such "window" is open. If you still want to use UDP tcpdump/Wireshark logs may be needed to further evaluate the problem (for both UDP and TCP on the client side). |
Context
Version of iperf3: iperf 3.10.1 (cJSON 1.7.13) Server & Client
Hardware: Raspberry Pi Model B revision 2 Server & Client
Operating system (and distribution, if any): 2016-02-03-raspbian-jessie
Other relevant information (for example, non-default compilers,
libraries, cross-compiling, etc.):
Iperf3 is being used to test across a network of multiple bridges for varying hops from 1-5 to reach the server from the client. The bridges are doing encryption/decryption which adds to the latency and communicating over a wired RF connection. I am using Iperf3 to calculate how the throughput varies over differing hop counts, packet sizes and RF channels. The issue looks similar to iperf3 server udp mode showing 0.0 for everthing #905.
Bug Report
Seeing current bitrate in all 1 second reports
Depending on latency, I am seeing 0.00 Kbits/sec, 0.00 Bytes transfered for 1s reports until seeing some data.
Server
sudo iperf3 -s -p 2303 -f k
Client
ping 192.168.100.2
sudo /usr/local/bin/iperf3 -c 192.168.100.2 -t 10 -p 2303 -u -l 64 -f 'k'
and other times it fails to show anything at all
Server
Client
sudo /usr/local/bin/iperf3 -c 192.168.100.2 -t 10 -p 2303 -u -l 64 -f 'k'
Steps to Reproduce
Run Iperf3 Server and client with UDP. Set connection between server and client with high latency. As the number of hops/latency increases, The more likely I am to see the "error - unable to read from stream socket: Resource temporarily unavailable". Issue occurs the same if -t is increased from default.
Possible Solution
The text was updated successfully, but these errors were encountered: