Restrict whole system on certain cores except a few process?

Posted by icando on Server Fault See other posts from Server Fault or by icando
Published on 2014-06-02T18:36:56Z Indexed on 2014/06/02 21:30 UTC
Read the original article Hit count: 133

Filed under:
|

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.

© Server Fault or respective owner

Related posts about linux

Related posts about centos