Jussi and Justin thankyou for the pointers, I will investigate both options.
Thanks again Nick. > -----Original Message----- > From: [email protected] [mailto:rhelv5-list- > [email protected]] On Behalf Of Jussi Silvennoinen > Sent: 08 June 2009 10:52 > To: [email protected] > Subject: Re: [rhelv5-list] taskset > > > Hi > > > > 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 ? > > > > Many thanks, > > > > Nick. > > Try the isolcpus kernel parameter. > > -- > > Jussi 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 __________ Information from ESET NOD32 Antivirus, version of virus signature database 4137 (20090608) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
