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

use "basic_wait" as the default scheduler #249

Merged
merged 2 commits into from
Feb 13, 2023

Conversation

carns
Copy link
Member

@carns carns commented Feb 13, 2023

  • the "default" scheduler refers to the Argobots default, which causes idle execution streams to spin looking for new work units
  • the "basic_wait" scheduler is the one that pairs with the "fifo_wait" pool type that we are using by default and will suspend until work is available

Fixes #248.

Once this is validated and merged then I'll update the scheduling unit test to fail if CPU usage is too high.

- the "default" scheduler refers to the Argobots default, which causes
  idle execution streams to spin looking for new work units
- the "basic_wait" scheduler is the one that pairs with the "fifo_wait"
  pool type that we are using by default and will suspend until work is
  available
@carns
Copy link
Member Author

carns commented Feb 13, 2023

Whoops. I need to check/fix the other unit tests. Will push corrections in a bit.

@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #249 (09cf285) into main (842a32f) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
+ Coverage   54.27%   54.40%   +0.12%     
==========================================
  Files          65       65              
  Lines        8867     8865       -2     
  Branches     1164     1164              
==========================================
+ Hits         4813     4823      +10     
+ Misses       3359     3345      -14     
- Partials      695      697       +2     
Impacted Files Coverage Δ
src/margo-abt-config.c 64.16% <100.00%> (-0.05%) ⬇️
src/margo-prio-pool.c 61.64% <0.00%> (+7.90%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@carns
Copy link
Member Author

carns commented Feb 13, 2023

Whoops. I need to check/fix the other unit tests. Will push corrections in a bit.

Fixed.

@mdorier
Copy link
Contributor

mdorier commented Feb 13, 2023

Approved!

@mdorier mdorier merged commit 0c2fa49 into main Feb 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests/unit-tests/margo-scheduling reports busy spin on abt mutexes
2 participants