On Mon, Jun 8, 2009 at 8:59 AM, Nick Lunt<[email protected]> wrote:
> We can set CPU affinity for PID 1004 with "taskset -c 1 -p 1004" but how do
> we stop all other processes on the system from using this CPU ?
>
> Obviously we don't want to set every other PID to a certain CPU, we just
> want every other PID to not use CPU 1.
>
> Anyone any ideas if this is possible ?

I have not tried this myself (although considered it some time ago),
but you can set the affinity for init at boot and also change IRQ
affinity by setting kernel parameter default_affinity. This is
referenced int /etc/rc.sysinit.

http://rt.et.redhat.com/page/RHEL-RT_AffinityHowto

You can then go further by altering irqbalance to only use certain cpus.

-- 
Justin Cook

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to