Skip to content

v5.0.x: opal/event: use epoll by default on Linux #10932

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

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Oct 17, 2022

Under normal circumstances epoll and poll produce similar performance on Linux. When busy polling is enabled they do not. Testing with a TCP-based system shows a significan performance degredation when using poll with busy waiting enabled. This performance regression is not seen when using epoll. This PR adjusts the default value of opal_event_include to epoll on Linux only to fix the regression.

Fixes #10929

Signed-off-by: Nathan Hjelm [email protected]
(cherry picked from commit 279f6b6)

Under normal circumstances epoll and poll produce similar performance on Linux.
When busy polling is enabled they do not. Testing with a TCP-based system shows
a significan performance degredation when using poll with busy waiting enabled.
This performance regression is not seen when using epoll. This PR adjusts the
default value of opal_event_include to epoll on Linux only to fix the
regression.

Fixes open-mpi#10929

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 279f6b6)
@hjelmn hjelmn requested a review from bwbarrett October 17, 2022 15:02
@jsquyres jsquyres changed the title opal/event: use epoll by default on Linux v5.0.x: opal/event: use epoll by default on Linux Oct 17, 2022
@jsquyres jsquyres added this to the v5.0.0 milestone Oct 17, 2022
@awlauria awlauria merged commit cc283b2 into open-mpi:v5.0.x Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants