Skip to content

Cancel periodic timers at test end#2021

Open
davidBar-On wants to merge 1 commit intoesnet:masterfrom
davidBar-On:issue-2018-cancel-periodic-times-at-test-end
Open

Cancel periodic timers at test end#2021
davidBar-On wants to merge 1 commit intoesnet:masterfrom
davidBar-On:issue-2018-cancel-periodic-times-at-test-end

Conversation

@davidBar-On
Copy link
Copy Markdown
Contributor

  • Version of iperf3 (or development branch, such as master or
    3.1-STABLE) to which this pull request applies:
    main 3.21+

  • Issues fixed (if any): select() busy loop with zero timeout after test completion consumes CPU on high-latency links #2018

  • Brief description of code changes (suitable for use as a commit message):
    Canceling the stats_timer and reporter_timer at the end of the test, to prevent select() busy loop with zero timeout while waiting for exchanged results, etc. The zero timeout was because at the end of the test these times are not re-set, so their timeout is in the past.

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

Successfully merging this pull request may close these issues.

1 participant