I founded this, may be could help
/proc/irq This directory is used to set IRQ to CPU affinity, which allows you to connect a particular IRQ to only one CPU. Alternatively, you can exclude a CPU from handling any IRQs. Each IRQ has its own directory, allowing for each IRQ to be configured different from any other. The /proc/irq/prof_cpu_mask file is a bitmask that contains the default values for the smp_affinity file in the IRQ directory. The values in smp_affinity specify which CPUs handle that particular IRQ. More information is available in the /usr/src/linux-2.4/Documentation/filesystems/proc.txt file. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Orna Agmon Sent: Thursday, November 29, 2001 9:29 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: CPU Control i know you have the option of choosing to activate just one CPU. it is inserted as a way out, incase you have problems with activating both. i dont know if you can pick a specific one, and i never tried it. Orna. On Thu, 29 Nov 2001 [EMAIL PROTECTED] wrote: > Hi, > > In a box with 2 CPUs, I am using RedHat kernel 2.4.7. > > Qustions: > > 1) Is it possible to enable/disable, by software means, a specific CPU (cpu 0 | cpu 1) ? > 2) While both CPUs are enabled, can we enforce a program to run ONLY on a specific CPU ? > > Thanks, > Avi Koski > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]