-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Driver/C] add topology checks (die locality, L3 cache sharing) for configured affinities #2120
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
Open
EmilJohn24
wants to merge
15
commits into
master
Choose a base branch
from
feature/affinity_validation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+904
−29
Open
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b06243c
[C Driver] Add resolved variables to driver context to separate real …
mikeb01 05260d0
[C Driver] Validate that affinity configuration options do not overlap.
mikeb01 8182965
[C Driver] Rearrange cpuset and affinity validation to incorporate ne…
mikeb01 5a65c1a
[Driver/C] Initial pairwise implementation of L3 cache affinity valid…
EmilJohn24 47ef46a
[Driver/C] Transfer peer table building logic to aeron_topology.c. Im…
EmilJohn24 13fb595
[Driver/C] Refactor to use struct holding almost all information need…
EmilJohn24 7cce802
[Driver/C] Minor test reorganization in TopologyTest.
EmilJohn24 99ad211
[Driver/C] Add a TODO regarding potential peer table redesign.
EmilJohn24 506bcce
[Driver/C] Implement die locality checking using group table approach…
EmilJohn24 35a5aed
[Driver/C] Add peer table generation inside group table call for L3 l…
EmilJohn24 29d76b7
[Driver/C] Add extra checks for group table functions following curso…
EmilJohn24 f18460c
[Driver/C] Change error handling in validation to skip specific check…
EmilJohn24 52bf6e6
[Driver/C] Set resolved CPU affinities inside validation logic as well.
EmilJohn24 68c0f91
[Driver/C] Add teardown for output stream in DriverTest
EmilJohn24 3f8b57c
[Driver/C] Additional null checks for group table generation.
EmilJohn24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-Linux skips cpuset affinity errors
Low Severity
aeron_driver_validate_and_apply_affinity_configurationis entirely wrapped in#ifdef __linux__, so on other platforms it always returns success. Enablingcpuset_affinityoutside Linux used to fail inaeron_driver_apply_cpuset_affinity; that error path is no longer reached.Reviewed by Cursor Bugbot for commit 68c0f91. Configure here.