-
Notifications
You must be signed in to change notification settings - Fork 140
lib,scx_p2dq: introduce arena topology #1885
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
Conversation
TODO before this is mergeable:
|
Update: Works, but requires formatting into a proper patchset. Also requires factoring out the arena topology logic from the main P2DQ scheduler into something more reusable that also hides the Rust-BPF FFI scaffolding from the main code. |
fe70f05
to
121807b
Compare
I'm seeing segfaults on large machines:
|
Code should now work with machines with high core counts. |
I rebased against with arena topo:
vs
|
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.
LGTM
Introduce a BPF struct for representing topology for the scheduler BPF side. Integrate it with scx_p2dq with the goal of using it for load balancing.