-
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
Output of sender's statistic damaged on Linux i586 #1554
Comments
@asy972, can you please add more data:
|
Hm. I'm about "17179869184/0 (-2.5e-39%)" instead of "0/6 (0%) sender". The format is changed and the word "sender" is lost in the second case. Do I really need to do the actions you asked for? The problem is not reproducible on x86_64 Linux. |
Oops! Sorry, I looked at the expected behavior of the sender (client) instead of the actual .... No need to take the actions I asked. I was confused with the 6 vs. 4 packets, but now I see that the server did receive the 4 packets (each 32KB = 256Kbits). However, can you run the client with Also, the "-2.5e-39%" issue, which is practically 0, is already corrected in iperf3 by setting the percentage value to 0.0 when packet count is zero. It is strange that the printer value is not "%0". |
|
Thanks for running the tests and sharing the information. The JSON output To make sure that the problem is only in printing the results, running the following two tests can help:
|
@asy972, I believe I found the problem - constant "0" packets count had to be cast as If you are building iperf3 yourself, can you build from this PR and re-run the test? (I don't have a 32 bits CPU to try the fix ....). You can also make the changes to your local 3.14 code (adding "(int64_t)" in two places) or clone the version from my repository: https://github.com/davidBar-On/iperf/tree/issue-1554-udp-output-for-32bits-machines). |
Yes. I'll test it today or tomorrow. |
it works, thanks! |
@asy972, thanks a lot for the help with testing and verifying the solution! |
Context
3.14
Intel 586
Linux
Bug Report
$ iperf3 --client localhost --udp --time 1
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 128 KBytes 1.05 Mbits/sec 0.000 ms 0/6 (0%) sender
[ 5] 0.00-1.00 sec 128 KBytes 1.05 Mbits/sec 0.003 ms 0/6 (0%) receiver
$ iperf3 --client localhost --udp --time 1
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 128 KBytes 1.05 Mbits/sec 0.000 ms 17179869184/0 (-2.5e-39%)
[ 5] 0.00-1.00 sec 128 KBytes 1.05 Mbits/sec 0.005 ms 0/4 (0%) receiver
The text was updated successfully, but these errors were encountered: