Hi,
I have 8 cores and I'm trying to reserve the first 2 for admin access and other important tasks. I found the cpuset, so I built 2 cpu sets.
I have no issues tying the sh and ssh to the first 2 cores however when I try to allocate the rest of the PIDs to the rest of the cores I get an error message :
cpuset: setaffinity: Resource deadlock avoided
The commands that I'm using :
cpuset -c -l 0-1 /bin/sh
cpuset -C -c -l 2-7 -p 0-99999
Any idea how I can do this ? Also, is it possible to implement the cpuset commands at boot time?
Thanks,
Ionut
I have 8 cores and I'm trying to reserve the first 2 for admin access and other important tasks. I found the cpuset, so I built 2 cpu sets.
I have no issues tying the sh and ssh to the first 2 cores however when I try to allocate the rest of the PIDs to the rest of the cores I get an error message :
cpuset: setaffinity: Resource deadlock avoided
The commands that I'm using :
cpuset -c -l 0-1 /bin/sh
cpuset -C -c -l 2-7 -p 0-99999
Any idea how I can do this ? Also, is it possible to implement the cpuset commands at boot time?
Thanks,
Ionut