0

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.

matt
  • 4,614
  • 1
  • 29
  • 32

1 Answers1

1

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

Community
  • 1
  • 1
superdesk
  • 1,162
  • 11
  • 24