HP-UX Workload Manager User's Guide

WLM quick start: the essentials for using WLM
Some common WLM tasks
Chapter 2 99
For information on the syntax for the condition keyword, see
wlmconf(4).
Step 3. Activate the configuration as in the following example, substituting your
configuration file’s name for config.wlm:
# /opt/wlm/bin/wlmd -a config.wlm
Providing CPU resources as needed
To ensure a workload gets the CPU resources it needs—without
preventing other workloads access to unused CPU resources—WLM
allows you to define usage goals. A major advantage with usage goals is
that you do not need to track and feed a metric to WLM.
The following figure shows a workload that initially is using 20 CPU
shares. The usage goal for the workload is to use between 60% and 90%
of its allocation. With its beginning allocation at 32 shares, the workload
is using 20/32 or 62.5% of its allocation. Later, the workload settles to
using around 8 or 9 shares. WLM responds by reducing its allocation to
10 shares, still meeting the usage goal as long as usage stays between 6
and 9 shares.