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

planner(mpi): preload MPI SCALE_CHANGE decisions #422

Merged
merged 2 commits into from
Apr 21, 2024
Merged

Conversation

csegarragonz
Copy link
Collaborator

When scheduling a NEW app with the ismpi flag set, we know that this request will be quickly followed-up by a SCALE_CHANGE request with worldSize - 1 messages. As a consequence, and to guarantee optimal bin-packing on-par with Slurm, we can schedule worldSize messages when the first request arrives, dispatch just the first one, and preload the worldSize - 1 remaining.

@csegarragonz csegarragonz marked this pull request as ready for review April 16, 2024 09:59
Copy link

codecov bot commented Apr 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.74%. Comparing base (7304a61) to head (ff4b44f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #422      +/-   ##
==========================================
- Coverage   82.05%   81.74%   -0.31%     
==========================================
  Files         115      115              
  Lines        7628     7691      +63     
==========================================
+ Hits         6259     6287      +28     
- Misses       1369     1404      +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@csegarragonz csegarragonz force-pushed the mpi-preload branch 6 times, most recently from 270627a to b9da595 Compare April 20, 2024 16:55
When scheduling a NEW app with the `ismpi` flag set, we know that this
request will be quickly followed-up by a SCALE_CHANGE request with
`worldSize` - 1 messages. As a consequence, and to guarantee optimal
bin-packing on-par with Slurm, we can schedule `worldSize` messages when
the first request arrives, dispatch just the first one, and preload the
`worldSize` - 1 remaining.
@csegarragonz csegarragonz merged commit 5b65b3e into main Apr 21, 2024
13 of 14 checks passed
@csegarragonz csegarragonz deleted the mpi-preload branch April 21, 2024 09:12
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