DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Process scheduling

Binding processes to processors

By default, an LWP can execute on any processor in the system. You can use the pbind(1M) command or the processor_bind(2) system call to bind an LWP or a process (all of the associated LWPs) to a processor. This restricts the LWPs to execute only on the specified processor. Once bound, all child processes created by this process or timeout routines requested by this process are bound by default to the same processor. The -P option of the ps(1) command can be used to display the processor binding status of all processes in the system. The pbind(1M) command can also be used to unbind a process (all the associated LWPs) or LWP from a processor. Once unbound, the process or LWP can execute on any processor in the system.


Next topic: Placing processors in an exclusive binding mode
Previous topic: Taking processors online and offline

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004