Skip to content

High UDP packet loss, compare with nuttcp #1707

Answered by davidBar-On
IlorDash asked this question in Q&A
Discussion options

You must be logged in to vote

@IlorDash, I hope you are still interested in a solution to this issue or at least are willing to test possible solution.

I now suspect that the issue is the select() (with a timeout) that is done before reading input, to make sure that input is available, so the read will not be stuck forever. Since each stream is handled by a separate thread (since 3.16), I believe that this is done to make sure that the main thread will not get stuck when waiting for control messages, etc. Therefore, I created a version that don't do the select when reading from data streams.

Will you be able to test using this iperf3 version and see if it improves the UDP message loss?

It is available in my iperf3 rep…

Replies: 7 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@IlorDash
Comment options

Comment options

You must be logged in to vote
3 replies
@IlorDash
Comment options

@davidBar-On
Comment options

@IlorDash
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@IlorDash
Comment options

@davidBar-On
Comment options

Answer selected by IlorDash
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1705 on May 31, 2024 18:49.