Add sub-RFC for interleaving memory allocation#2032
Open
Alexandr-Konovalov wants to merge 5 commits intomasterfrom
Open
Add sub-RFC for interleaving memory allocation#2032Alexandr-Konovalov wants to merge 5 commits intomasterfrom
Alexandr-Konovalov wants to merge 5 commits intomasterfrom
Conversation
vossmjp
reviewed
Apr 2, 2026
|
|
||
| There are two kinds of NUMA-related performance bottlenecks: latency increasing due to | ||
| access to a remote node and bandwidth-limited simultaneous access from different CPUs to | ||
| a single NUMA memory node. A well-known method to mitigate both is random distribution of |
Contributor
There was a problem hiding this comment.
Suggested change
| a single NUMA memory node. A well-known method to mitigate both is random distribution of | |
| a single NUMA memory node. A well-known method to mitigate both is controlled placement of |
The examples you provide in the next sentence are not "random". So perhaps you mean that you need to do something active to ensure memory placement in done in some thoughtful way. Not sure.
vossmjp
reviewed
Apr 2, 2026
vossmjp
reviewed
Apr 2, 2026
vossmjp
reviewed
Apr 2, 2026
vossmjp
reviewed
Apr 2, 2026
Co-authored-by: Mike Voss <[email protected]>
Co-authored-by: Mike Voss <[email protected]>
vossmjp
reviewed
Apr 2, 2026
| One use case for `list of nodes` argument is desire to run parallel activity on subset of | ||
| nodes and so get memory only from those nodes. | ||
|
|
||
| Most common usage of the allocation function is expected only with `size` parameter. |
Contributor
There was a problem hiding this comment.
What happens in that case? Is the nodes automatically determined and is by default the full set of numa nodes. Or is the default to use a single node. Similarly with interleaving_step = 0, is the default to automatically select a size, or does this mean allocate on a single numa node?
Co-authored-by: Mike Voss <[email protected]>
Co-authored-by: Mike Voss <[email protected]>
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 description provided.