Automatic poll tick estimation (WIP) #232
Open
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.
.My previous scaling fix didn't work well on Cray XC machines, apparently because the optimal poll tick value was much less than on our IB clusters. This is an attempt to set the poll tick value dynamically.
The idea behind this change is that the execution of a Grappa program should be a balance between polling the network / deaggregating messages, and doing work / aggregating new messages. In the old fixed poll_ticks way we specified only the rate at which to poll. As job sizes grow, the time it takes to poll once grows, and so a fixed poll rate leads to a smaller and smaller amount of time dedicated to non-polling work. This change tries to keep the balance between polling and non-polling work constant. A new flag is provided to control this balance.
It does a few things: