HP-UX Workload Manager User's Guide
Configuring WLM
Defining the PRM components (optional)
Chapter 5 185
group Is the workload group name.
You cannot specify the PRM_SYS group in a memweight
statement.
wt Is group’s memory weight. The value must be an
integer greater than or equal to 1. If you do not specify
a memory weight, WLM uses the group’s CPU weight,
which defaults to 1 if not specified.
NOTE Assigning a memweight to a PSET workload group is not useful because
WLM grants the group memory when the configuration is activated, but
never adjusts its memory allocation.
Consider the following example. We have four groups, with one being a
PSET group. The gminmem serves as an allocation for the groups because
each group gets the amount of memory represented by its gminmem value.
First, A gets its gminmem because it is a PSET group. That leaves 90% of
the memory to distribute. Next, OTHERS is granted its memory. It has a
memweight of 1, and the sum of the memweight values is 6. As a result,
OTHERS gets 1/6 * 90, or 15%. However, 15 is less than its gminmem, so it
gets its gminmem of 20 instead. Now there is 70% left. However, WLM
guarantees the gminmem for the groups B and C, 30 and 20 respectively.
So, there is only 20% to distribute between the two groups B and C. This
20% is distributed so that the groups’ final allocations are proportional to
their weights.
Table 5-4 memweight example
Group
Allocation
(gminmem)
Weight
Final
allocation
A (PSET) 10 Unspecified 10
B 30 3 42
C 20 2 28
OTHERS 20 1 20