Skip to content
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

Have option to specify numa node for TasksetCtx #5

Open
BijanT opened this issue Jul 26, 2023 · 1 comment
Open

Have option to specify numa node for TasksetCtx #5

BijanT opened this issue Jul 26, 2023 · 1 comment

Comments

@BijanT
Copy link
Collaborator

BijanT commented Jul 26, 2023

Currently, TasksetCtx::next() just returns the next core numerically.
However, cores IDs aren't split nicely across numa nodes. For example on the cloudlab c220g1, this is how CPUs are spread across numa nodes, per lscpu:

NUMA node0 CPU(s):               0-7,16-23
NUMA node1 CPU(s):               8-15,24-31

Something should be added to TasksetCtx allow it to only choose cores from a specified set of NUMA nodes.

@mark-i-m
Copy link
Contributor

@BijanT I created #6 ... let me know what you think, and/or please feel free to edit. You should have write-access to my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants