HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

g
gang_sched(7) gang_sched(7)
If a gang-scheduled process is selected to be swapped out, the process will not be gang-scheduled
when it is swapped back in.
Realtime processes are not gang-scheduled.
Gang scheduling is only supported for processes with timeshare scheduling policies.
When a gang-scheduled process contains the maximum number of threads (or the maximum
number of processes, for MPI applications), threads or processes created after this point are not
scheduled as part of the gang. For details see the BEHAVIOR section of this man page.
Multiprocess applications that do not use MPI are not supported by the gang scheduler.
Gang scheduling is not supported for
PTHREAD_SCOPE_PROCESS
threads. From release 11i
Version 1.6 of HP-UX, the default scheduling contention scope for threads is
PTHREAD_SCOPE_PROCESS
. If any
PTHREAD_SCOPE_PROCESS
threads are created by an
application, the initial thread will be treated as a
PTHREAD_SCOPE_PROCESS
.
FILES
The following are libraries used in providing gang scheduling:
/usr/lib/libpthread.1
The pthread library.
/opt/mpi The directory containing MPI libraries and MPI software. HP MPI is an optional product.
SEE ALSO
fork(2), exec(2).
HP-UX 11i Version 2: September 2004 3 Hewlett-Packard Company Section 739