Skip to content
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 command is not working with UDP option #1493

Closed
h89varshne opened this issue Mar 28, 2023 · 7 comments
Closed

Iperf3 command is not working with UDP option #1493

h89varshne opened this issue Mar 28, 2023 · 7 comments

Comments

@h89varshne
Copy link

NOTE: The iperf3 issue tracker is for registering bugs, enhancement
requests, or submissions of code. It is not a means for asking
questions about building or using iperf3. Those are best directed
towards the Discussions section for this project at
https://github.com/esnet/iperf/discussions
or to the iperf3 mailing list at [email protected].
A list of frequently-asked questions
regarding iperf3 can be found at http://software.es.net/iperf/faq.html.

Context

  • Version of iperf3: iperf 3.1

root@asc-0a:~ >iperf3 -v
iperf 3.1
Linux asc-0a 5.10.154-916376883c-nokia_sm_x86 #1 SMP PREEMPT Tue Dec 27 13:46:33 UTC 2022 x86_64
Optional features available: CPU affinity setting, IPv6 flow label, SCTP, TCP congestion algorithm setting, sendfile / zerocopy

  • Hardware: HP

  • Operating system (and distribution, if any): Linux OS

Please note: iperf3 is supported on Linux, FreeBSD, and macOS.
Support may be provided on a best-effort basis to other UNIX-like
platforms. We cannot provide support for building and/or running
iperf3 on Windows, iOS, or Android.

  • Other relevant information (for example, non-default compilers,
    libraries, cross-compiling, etc.):

Please fill out one of the "Bug Report" or "Enhancement Request"
sections, as appropriate. Note that submissions of bug fixes, new
features, etc. should be done as a pull request at
https://github.com/esnet/iperf/pulls

Bug Report

iperf3 command with option "udp (-u)" is not working in our network for BW testing in client and server mode.

  • Expected Behavior

iperf3 command with option "udp (-u)" should work in both client and server mode.

  • Actual Behavior
    iperf3 command with option "udp (-u)" is not working

  • Steps to Reproduce

We are running below command for client mode.

root@asc-0a:~ >iperf3 -c 2405:200:310:C677:4::19 -fm -t1000 -p5002 -B 2405:200:5115:143::1:45e -l1400 -b 50M -u
Connecting to host 2405:200:310:C677:4::19, port 5002
^C- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
iperf3: interrupt - the client has terminated

We are running below command for server mode.

root@asc-0a:~ >iperf3 -c 2405:200:310:C677:4::19 -fm -t1000 -p5002 -B 2405:200:5115:143::1:45e -l1400 -b 50M -u -R
Connecting to host 2405:200:310:C677:4::19, port 5002
Reverse mode, remote host 2405:200:310:C677:4::19 is sending
^C- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
iperf3: interrupt - the client has terminated

  • Possible Solution: Not available

Enhancement Request :

  • Current behavior : iperf3 command with option "udp (-u)" is not working

  • Desired behavior : iperf3 command with option "udp (-u)" should work properly.

  • Implementation notes

@davidBar-On
Copy link
Contributor

iperf3 version 3.1 is very old. Suggest to upgrade to a new version and retry the test.

@h89varshne
Copy link
Author

Can you please share me .exe download link for latest version. I found version 3.1.3 latest one.

@davidBar-On
Copy link
Contributor

try here: https://files.budman.pw/ (not an official site)

@h89varshne
Copy link
Author

try here: https://files.budman.pw/ (not an official site)

Thanks, Let me download, Is there any known sw bug with UDP option in older 3.x iperf release ?

@bmah888
Copy link
Contributor

bmah888 commented Mar 29, 2023

On the server side, you basically just want to run iperf3 -s with no other command-line options. That said, I agree with @davidBar-On's comment about getting an up-to-date version of iperf3.

@bmah888
Copy link
Contributor

bmah888 commented Apr 6, 2023

try here: https://files.budman.pw/ (not an official site)

Thanks, Let me download, Is there any known sw bug with UDP option in older 3.x iperf release ?

UDP has always worked, although not always well. In 3.1.x and earlier, iperf3 had a huge default UDP payload size that automatically caused fragmentation on almost every network path except for jumbo frame Ethernet. This could be overwritten by setting a more sane value for the send size using the -l command-line flag. iperf-3.2 and later have a better default UDP payload size.

@swlars
Copy link
Contributor

swlars commented Feb 9, 2024

There hasn't been activity on this issue for a while, so we'll close it for now.

@swlars swlars closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants