HP-UX Reference (11i v2 04/09) - 1 User Commands A-M (vol 1)

m
mpsched(1) mpsched(1)
option can be used with the -T
, -p, -c, and -l options. policy is one of the following
values.
RR Round robin launch policy. Under this policy, successive direct child processes
of the specified command or process are launched in a round robin fashion
across the other locality domains in the system relative to creating process.
RR_TREE Tree based round robin launch policy. Under this policy, successive child
processes and their descendents are launched in a round robin fashion across
the other locality domains in the system relative to creating process.
LL Least loaded launch policy. Under this policy, child processes are launched on
the least loaded locality domain in the system at the time of creation.
FILL Fill first launch policy. Under this policy, successive direct child processes of
the specified command or process are launched on the same locality domain as
their parent until one has been launched on each processor in the locality
domain. At that point, new processes are created on the next locality domain.
FILL_TREE
Tree based Fill first launch policy. Under this policy, successive child processes
and their descendents are launched on the same locality domain as their parent
until one has been launched on each processor in the locality domain. At that
point, new processes are created on the next locality domain.
PACKED Packed launch. Under this policy, successive processes are launched on the
same locality domain as their parent. A different domain is never selected.
NONE No special policy. The default HP-UX launch policy is used.
-T policy Apply the specified policy to the threads of the process. The scheduling policies are the same
as for the -P option except that they apply to newly created threads instead of processes.
Also, thread policies can only be specified on commands launched from the command line of
mpsched. The option can be used with the -P, -l, and
-c options.
Operands
The command-line operands are:
command A command including its arguments.
RETURN VALUE
mpsched returns exit status 0 if command is successfully scheduled or -1 if it fails.
EXAMPLES
Execute the
a.out file on processor 2:
mpsched -c 2 a.out
Set the process launch policy for the existing process with pid 24217 to round robin:
mpsched -P RR -p 24217
Bind the processes with pids 1247 and 1842 to processor 4:
mpsched -c 4 -p 1247 -p 1842
AUTHOR
mpsched was developed by HP.
SEE ALSO
getprivgrp(1), setprivgrp(1M), fork(2), getprivgrp(2), mpctl(2), privgrp(4), gang_sched(7).
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1−−605