HP-UX 11i Version 1.6 Release Notes
HP-UX Features
HP-UX Processor Sets
Chapter 3
42
rtsched Updated to support psets. A real-time thread only runs, or competes
for CPU's, within its pset.
pstat Updated to include pset information. For example, information
regarding the pstat_getpset() can now be found in the manpage for
pstat, as pset information has been added.
The new Processor Sets library call is:
pthread_pset_bind_np /added to support psets and pset binding.
The changed Processor Sets commands are:
mpsched A new option -f has been introduced in mpsched to force the operation
of binding of a process to a processor if the HP Process Resource
Manager is installed and configured.
If mpsched is used without -f option in the presence of HP PRM to
bind a process to a processor, then an error message is displayed. In
order for this binding operation to go through, the -f option needs to be
used along with binding options of mpsched. Moreover, in the presence
of Processor Sets functionality if mpsched is used to bind a process to a
processor or a ldom, across psets, then it prints the appropriate error
message.
ps The ps command has been enhanced to support the Processor Sets
functionality by adding two new options -z and -Z. These two new
options are added to enable the users to know to which pset a pid is
bound, and to list all the pids in a given pset.
The description of the new options are:
•The -z option adds a column “pset” before column “prmgrp/prmid”.
If prmgrp and prmid are not present adds a column “pset” before
the “pid” column. The kernel pset, where all the kernel processes
run, is displayed as “KERN”. Basically this option maps the pid
with a pset to which it is bound. This option doesn’t take any
arguments.
•The -Z option lists all the process ids bound to a specified pset.
This option takes a list of pset ids as arguments. If prmgrp and
prmid are not present, this option adds a pset column before the
pid column in the listing.
sar The sar command has been enhanced to support Processor Sets
functionality by adding two new options -p and -P.
The description of the new options are:
• The -P option adds a column “pset” to display the CPU mapping
to pset, whenever the -M option (per processor information) is
specified.
• Also when the option -p is specified, it displays only the
information of the specified pset. Without -p option sar displays
the information for the whole system.