HP-UX Workload Manager User's Guide

Configuring WLM
Defining the PRM components (optional)
Chapter 5178
max Is groups maximum number of CPU shares. The value
must be an integer greater than or equal to the group’s
gmincpu value.
max is out of the total CPU resources, which is 100
multiplied by the number of cores (if you set the
tunable absolute_cpu_units to 1 or it is implied by
other elements in your configuration)—or just 100 by
default.
If you specify a max greater than the total CPU
resources, WLM treats it as equal to the total CPU
resources.
To have a maximum of 4 cores on an 8-core system with
absolute_cpu_units enabled
(absolute_cpu_units = 1), you would specify:
gmaxcpu = 400;
For more information on absolute CPU units, see the
section “Using absolute CPU units” on page 217.
There is no default gmaxcpu value for a group. If you do
not specify a gmaxcpu value, WLM takes the system’s
total CPU resources, in shares, as the gmaxcpu value.
When configuring WLM on a partition, be sure to select
a value for max that makes sense in terms of the limits
placed on the partition when it was created—namely
its minimum and maximum number of CPU resources.
NOTE For information on the effect of this keyword in passive mode, see
“Passive mode versus actual WLM management” on page 238.
Weighting a group so it gets more CPU resources
(optional)
The larger a CPU weight value you assign a group, the more CPU
resources it receives when not enough CPU resources are available to
satisfy all requests at a given priority level. A larger weight value also
gets a group more CPU resources when all SLOs can be satisfied and
excess CPU resources are available for distribution. To enable these