"Bhargava, Shirish" wrote:
> Thread 1 runs on Processor 4
> Thread 2 runs on Processor 2
> Thread 3 runs on Processor 3
> Thread 4 runs on Processor 1
You might want to read the FAQ! Its URL is appended with each posting to
the list!
> Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
It states in question #7:
> 7. Does Linux SMP support processor affinity?
>
>Patch
> Yes. Look at PSET - Processor Sets for the Linux kernel
> <http://isunix.it.ilstu.edu/~thockin/pset/>:
>
> The goal of this project is to make a source compatible
> and functionally equivalent version of pset (as defined
> by SGI - partially removed from their IRIX 6.4 kernel)
> for Linux. This enables users to determine which proces�
> sor or set of processors a process may run on. Possible
> uses include forcing threads to separate processors, tim�
> ings, security (a `root' only CPU?) and probably more.
HTH,
Frank
--
web: http://www.FrankMahler.de/
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]