mpsched.1 (2010 09)

m
mpsched(1) mpsched(1)
NAME
mpsched - control the processor or locality domain on which a specific process/lightweight process (LWP)
executes
SYNOPSIS
mpsched -h
mpsched -s
mpsched -S
mpsched -K
mpsched -F
mpsched [-d][-b
][-k][-r]{cpu }...
mpsched -g command
mpsched [-P policy ][-f
][-T policy ][-l locality-domain-id][
-c spu] command
mpsched [-q][-u
][-P policy ][-f][-l locality-domain-id][
-c
spu]{-p pid}...
mpsched [-q][-u
][-f][-l locality-domain-id][
-c spu]{
-G lwpid}...
DESCRIPTION
mpsched controls the processor (spu ), or locality domain (locality-domain-id) on which a process/LWP
executes. It can do this by binding a process/LWP to a particular processor or locality domain (ldom), or
by setting the launch policy for the process.
The command can be invoked in the following manners.
With
-h, it prints a help message.
With
-s, it returns the hardware configuration of the system. This includes information about the
number of locality domains and processors active in the system.
With
-S, it returns the system topology at the locality domain, proximity set, socket and core level.
This includes information about the number of locality domains and processors active in the system.
Processors on the same front side bus (FSB) form a proximity set.
With
-K, it returns the system topology at the socket level.
With
-F, it returns the system topology at the proximity set level.
With
-d, it returns the processors in the same locality domain as the processors specified in the
arguments.
With
-b, it returns the processors in the same proximity set as the processors specified in the argu-
ments.
With
-k, it returns the processors in the same socket as the processors specified in the arguments.
With
-r, it returns the processors in the same core as the processors specified in the arguments.
With
-g, it enables gang scheduling for a command and its arguments . See gang_sched (7).
With
-P, -T,or-l plus a command and its arguments , it applies the binding or launch policy to
the command.
With
-p, it applies the binding or launch policy to the specified pid.
With
-G, it applies the binding to the specified lwpid.
Options
The command-line options are:
-c spu Bind the specified processes/LWPs to the spu listed. This will ensure that the
processes/LWPs always run on the specified processor. In the Processor Set (pset) configured
system, binding will be successful, if spu belongs to same pset where process/LWP is bound.
This option can be used with the
-P, -T, -p and -G options.
-f Allows processes/LWPs to bind to spu or ldom, when PRM is installed in the system.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)