Skip to contentSkip to conversation

bindprocessor

DISCUSSION [email protected] 3 participants 3 messages May 17, 2001

lore
Share & tools
lore
#0 lore raw

How can I bind a user space process to a particular processor in a SMP environment?

thanks,
Daljeet Maini

#2 lore raw
In reply to [email protected]

Look @ the processor sets plugin @
http://resourcemanagement.unixsolutions.hp.com/WaRM/schedpolicy.html

Padraig.

Quoted 19 lines · Andrew Morton
Quoted 3 lines · [email protected] wrote:

How can I bind a user space process to a particular processor in a SMP environment?

You can't.

Nick Pollitt had an implementation of prcctl() which does this
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0102.2/0214.html

I have a /proc based one at
http://www.uow.edu.au/~andrewm/linux/#cpus_allowed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/