HP-UX Workload Manager User's Guide
Example configuration files
usage_goal.wlm
Chapter 9332
# slo structures
#
#
# This SLO is defined with a CPU usage, or utilization, goal. This
# is a special goal in that WLM tracks the utilization for you.
# By default, WLM attempts to keep the group’s utilization of its
# allocated CPU between 50% and 75%. If utilization falls below 50%
# (due perhaps to fewer applications running), WLM reduces the Orders
# group’s allocation, making more CPU available to the OTHERS and
# Batch groups. Similarly, when utilization is above 75%, WLM
# allocates more CPU to the group.
#
slo order_processing {
pri = 1;
mincpu = 20;
maxcpu = 80;
entity = PRM group Orders;
goal = usage _CPU;
}
#
# This SLO is also defined with a CPU usage goal. It is at a
# lower priority than the SLO for the Orders group. We also
# explicitly specify the utilization bounds. We use a small value
# (25) for the upper bound, because we want this group to request
# more CPU whenever there is any activity in the group. The
# order_processing SLO is higher priority, so it can steal CPU from
# this SLO whenever it needs it. The gmincpu value for OTHERS
# ensures that we never completely starve that group.
#
# If the boundary values are not specified (as in the previous SLO),
# then they default to 50 and 75.
#
slo batch_processing {
pri = 99;
mincpu = 5;
maxcpu = 100;
entity = PRM group Batch;
goal = usage _CPU 15 25;
}