Throttle evictions to one w2r task at a time#763
Closed
devreal wants to merge 1 commit into
Closed
Conversation
No need to go berserk and have multiple concurrent evictions going. Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
bosilca
requested changes
May 8, 2026
bosilca
left a comment
Contributor
There was a problem hiding this comment.
A single w2r task can generate at most MAX_PARAM_COUNT transfers, which is a small number compared with the total number of times that exists on modern GPUs. If we only generate a single w2r at the time, we are likely to pay the w2r latency all the time, because MAX_PARAM_COUNT data are quickly reused.
Let's do instead a middleground. We allow up to MAX_W2R tasks to coexists (where MAX_W2R is an MCA parameter). Same logic as here, except that we allow more than one by default, but users can set MAX_W2R to 1 to get this sequential-looking data eviction.
Contributor
Author
|
Superseded by #773, closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No need to go berserk and have multiple concurrent evictions going.