CLI backward compatible fix for issue #768#797
Conversation
|
The second alternative directly writes the multisend field in the test. This is what I did originally and it seems to be more reliable than setting the burst. |
|
Hi @paaguti...thanks for the pull request. I didn't quite understand your last comment...are you saying that you need to do some more work on this code change? |
|
Hi, first I tried setting test->settings->burst, it looked more intuitive for me. But I discovered that it doesn't prevent multiple bursts. Therefore I went back to my original rationale and set test->multisend and everything works as expected (no more changes needed) . I have left both steps in the GitHub, because I think it would be nice to understand and document the behaviour depending on both variables. They seem interdependent, because when test->settings->burst not zero, it will control the send loop the same way as test->multisend does, but there are more implications I don't quite understand yet. Maybe I'm just confusing you with my thoughts, rumblings and ways to arrive to knowledge... sorry if it is the case. |
|
I haven't forgotten about this. The PR is actually larger than it has to be, because there are a number of whitespace-only changes in the code...all of the significant changes are really in the argument-processing section of The result of my changes are on the issue-768 branch. There's some diagnostic code in there as well that would eventually go away. |
|
Stumbled across #982 while trying to test this. |
PLEASE NOTE the following text from the iperf3 license. Submitting a
pull request to the iperf3 repository constitutes "[making]
Enhancements available...publicly":
The complete iperf3 license is available in the
LICENSEfile in thetop directory of the iperf3 source tree.
Version of iperf3 (or development branch, such as
masteror3.1-STABLE) to which this pull request applies:master
Issues fixed (if any):
iperf3 3.5 TCP option -n not working #768
Brief description of code changes (suitable for use as a commit message):
Provide a backwards compatible approach to using the -n option.
-n burst leaves multisend untouched
-n burst/multisend sets the value for multisend.
It's like with the -b flag
This work is done in the context of the MAMI Project, which is receiving funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 688421.