HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 111
Step 6. Enable PRM’s CPU manager if it is not already enabled:
# prmconfig -e CPU
Alternatively, enable all PRM resource managers using prmconfig -e
without any additional arguments:
# prmconfig -e
Capping CPU resource use
CPU capping allows you to limit the amount of CPU resources that FSS
PRM groups use. PRM provides two types of CPU capping:
On a per-group basis
(Available for HP-UX 11i v3 and later.) For per-group capping, use
the MAX field in the FSS PRM group record (discussed in the section
“Group/CPU record syntax” on page 105) for only those groups you
want to cap.
For all FSS PRM groups in the configuration
The CPUCAPON mode, enabled through the prmconfig -M option, is
discussed below. In this mode, PRM treats the minimum allocation
for each FSS PRM group as its maximum allocation.
The syntax for a FSS group/CPU record is:
GROUP:PRMID:SHARES:[MAX]:
When you cap CPU resource use via CPUCAPON mode, the percentages
computed from the SHARES values of the FSS PRM groups are also used
as caps. The mode is in effect for all user-configured FSS PRM groups on
a system when enabled, regardless of system load. This mode, however,
does not affect the PRM_SYS group. PSET PRM groups are capped on
CPU resource use as a result of the number of cores assigned to the
group.
Turn on CPU capping by entering the command:
# prmconfig -M CPUCAPON
Turn off CPU capping by entering the command:
# prmconfig -M CPUCAPOFF
Using prmconfig -r or prmconfig -d CPU also turns CPU capping off.