-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
No options to use isolated CPU cores #2539
Comments
pkumarg
changed the title
No options to use isolate CPU cores
No options to use isolated CPU cores
Dec 2, 2024
Try using Linux cgroups instead. For example, if you have systemd on your system: |
Looks like cgroups / systemd-run is not working properly on your system. You could try verifying that by starting a scoped shell then looking at the content of /proc/cpuinfo to check that it reflects the range you gave, e.g.:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm working on a Linux system with Realtime Kernel, and I have most of the core isolated by tuned. 'isolated' in general if you don't know is that Linux OS cannot use these cores to run anything until you explicitly specify.
Now I have around 32 cores, where system is running only on 2 cores, rest of the cores isolated for Realtime software to run. Now whenever I have to compile this big Realtime software, building takes too much as ninja-build only can run 2 cores. While others are just idle.
Please provide an option so that ninja-build can launch compiler threads on a user provided core list. Below can be examples
ninja --core-list=1-31
ninja --core-list=1,2,3,4-20,25-27
Thanks
The text was updated successfully, but these errors were encountered: