Reputation: 89
I know how to pin a process/thread to a core on Linux.
What I like to know is how to ban/exclude any other process/thread from running on that particular core.
Upvotes: 0
Views: 1296
Reputation: 1172
You can use isolcpus
to isolate the cpu core, and then migrate the processes you want on the core using sched_setaffinity
.
If you are worried about interrupts, see this answer: https://stackoverflow.com/a/13585364/1601162
Upvotes: 1