Restrict whole system on certain cores except a few process?
- by icando
Hi I am running some latency sensitive program on a Linux machine (more specifically, CentOS 6), and I don't want the threads of the process being preempted. So in my plan, the first step is to set cpu affinity of the threads so that threads are running on separate cores, so they don't preempt each other. Then the second step is to make sure other processes in the system not running on these cores.
So my question is: is it possible to restrict the whole system running on certain cores, except this process? This should apply to any newly created processes in the future.