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

Remove fast_idle and delay_exit scheduler modes and related scheduling loop checks #664

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

msimberg
Copy link
Contributor

Fifth of N PRs to try to improve performance in DLA-Future. This is one of the changes in main...disable-cruft-scheduler where we see up to 25% improvement in DLA-Future miniapps. This branch needs to be benchmarked to see if it makes a difference on its own.

One change that have in the disable-cruft-scheduler branch is to unconditionally enable stealing always. It may be worth checking if that makes a difference, though I suspect the effect may be small.

@msimberg
Copy link
Contributor Author

This does not really affect performance in DLA-Future or in the future overhead test, but it simplifies the scheduling loop noticeably so I'd like to keep this change. The only open question is the same as #665 (comment), i.e. whether the scheduler mode enums should be renumbered. @biddisco?

@msimberg msimberg marked this pull request as ready for review April 26, 2023 08:35
@msimberg
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Apr 26, 2023
@bors
Copy link
Contributor

bors bot commented Apr 26, 2023

try

Build succeeded:

Copy link
Contributor

@biddisco biddisco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Yes, renumbering the enums seems sensible

@msimberg
Copy link
Contributor Author

msimberg commented Apr 26, 2023

Since this and #665 renumber the enums, I'll wait for #665 to be merged before merging this one.

@msimberg msimberg force-pushed the remove-fast-idle-scheduling-loop branch from 8f0875b to b2e6061 Compare April 27, 2023 09:05
@msimberg msimberg force-pushed the remove-fast-idle-scheduling-loop branch from b2e6061 to b5d852b Compare April 27, 2023 09:06
@msimberg
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Apr 27, 2023
@bors
Copy link
Contributor

bors bot commented Apr 27, 2023

try

Build failed:

@msimberg
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Apr 27, 2023

Build succeeded:

@bors bors bot merged commit 78dad0b into main Apr 27, 2023
@bors bors bot deleted the remove-fast-idle-scheduling-loop branch April 27, 2023 10:26
@msimberg msimberg added this to the 0.15.0 milestone Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants