-
Notifications
You must be signed in to change notification settings - Fork 626
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
Implementation of chunk balancer feature #1775
Merged
Merged
Commits on Sep 16, 2021
-
Implementation of chunk balancer feature
CONTEXT: This feature uses empirical data about the timings of each MPI process to adjust the chunk sizes to achieve optimal load balancing for repeated simulations, such as iterations in an optimization run. Processes which are consistently slow and overworked will have their chunk sizes reduced for the next iteration of an optimization run, and underworked processes will handle larger chunks. This approach has the advantage that it implicitly incorporates variable load between different machines running the MPI processes. SCOPE: - Added abstract class for chunk balancer - Added DefaultChunkBalancer implementation, which adjusts chunk sizes according to per-process working time (ignoring all-all comms) while maintaining previous split directions - Wrote unit tests for DefaultChunkBalancer to check for improvement in load-balancing, convergence to a load-balanced state, and that split_pos values are adjusted correctly for each iteration. - Wrote unit tests for the MockSimulation class used by the DefaultChunkBalancerTests - Added a binary_partition_utils.py library which includes lots of tree traversal algorithms which are useful to have for the chunk balancer - Wrote unit tests for binary_partition_utils.py
Configuration menu - View commit details
-
Copy full SHA for 4e1b67c - Browse repository at this point
Copy the full SHA 4e1b67cView commit details
Commits on Sep 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2543719 - Browse repository at this point
Copy the full SHA 2543719View commit details
Commits on Sep 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f816486 - Browse repository at this point
Copy the full SHA f816486View commit details -
Configuration menu - View commit details
-
Copy full SHA for a99227d - Browse repository at this point
Copy the full SHA a99227dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4471a0 - Browse repository at this point
Copy the full SHA a4471a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 168f147 - Browse repository at this point
Copy the full SHA 168f147View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd7c1d8 - Browse repository at this point
Copy the full SHA cd7c1d8View commit details
Commits on Oct 7, 2021
-
refactored class names, added documentation for adjusting chunk layou…
…ts between runs of a program
Configuration menu - View commit details
-
Copy full SHA for e3ed37b - Browse repository at this point
Copy the full SHA e3ed37bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 371d1f3 - Browse repository at this point
Copy the full SHA 371d1f3View commit details
Commits on Oct 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d89104b - Browse repository at this point
Copy the full SHA d89104bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.