HP-UX 11i Version 1.6 Release Notes
HP-UX Features
HP-UX Processor Sets
Chapter 3
41
To support the Processor Sets functionality, several commands have been enhanced and
a new command psrset (1M) was introduced.
The following existing commands were enhanced to support Processor Sets functionality:
• mpsched (1)
• ps (1)
• sar (1M)
• top (1)
• uptime (1)
• id (1)
• rtsched (1)
Details of Change
The new Processor Sets system calls are:
pset_create Create a pset with no processors. pset_assign() is used to add CPU's to
a pset.
pset_destroy Destroy a specific pset.
pset_assign Place a CPU in a processor set. Because every processor is in a pset
(initially the "default pset"), pset_assign moves a CPU from one pset to
another.
pset_bind Bind selected thread(s) or process(es) to a specific pset.
pset_getattr Get the attributes for a pset. Some example pset attributes are the
owner of the pset, or the access permissions for the pset.
pset_setattr Set the attributes for a pset.
pset_ctl Query pset information, such as the pset binding of the calling thread,
or the number of CPU's in the pset.
The changed Processor Sets system calls:
mpctl Updated to return pset-specific information by default. For example,
applications running within a pset only have access to the CPU's in
that pset. Therefore, determining the number of CPU's in the whole
system is typically less relevant to the application, than determining
the number of CPU's in its pset, so this latter is now the default. The
mpctl command returns system-wide information through use of a
new parameter.
NOTE Note that mpctl behavior on HP-UX 11i v1.6 is identical to that of
HP-UX 11i with psets installed.
sysconf Updated to include pset information.