HP-UX Workload Manager Toolkits User's Guide

HP-UX WLM Duration Management Toolkit and HP-UX WLM Toolkit for Base SAS Software
How do I use DMTK / SASTK?
Chapter 6 137
Example express lane: CPU utilization goal
The last example
(/opt/wlm/toolkits/duration/config/expressconf_usage.wlm) shows an
express lane based on an SLO with a CPU usage, or utilization, 7goal.
Recall that a usage goal tries to keep the workload’s CPU utilization of
its allocated CPU resources within a certain range—by changing the
amount of CPU resources allocated.
# Name:
# expressconf_usage.wlm
#
# Version information:
#
# (C) Copyright 2001-2005 Hewlett-Packard Development Company, L.P.
#
# $Revision: 1.9 $
#
# Caveats:
# DO NOT MODIFY this file in its /opt/wlm/examples/wlmconf location!
# Make modifications to a copy and place that copy outside the
# /opt/wlm/ directory, as items below /opt/wlm will be replaced
# or modified by future HP-UX WLM product updates.
#
# Purpose:
# Demonstrate an express lane that has a usage goal. Express lanes
# allow applications to finish more quickly.
#
# A WLM workload group is needed to handle special queries from the
# marketing department. These special requests are very important
# and must be completed as quickly as possible. However, care must be
# taken with regard to the impact on the other services. From past
# experience, running these special processes in a group with CPU
# allocations based on the actual resource usage give the best
# response characteristics. This workload group only receives CPU
# when it has active processes.
#
# Components:
# The glance toolkit is used. See glance_app(1M) for more
# information on the glance data collectors.
#
# Allocation change frequency:
# Because these jobs are relatively short in nature, the default
# wlm_interval (60 seconds) is too long. We change the interval to 5
# seconds to minimize the time before WLM adjusts the CPU allocations.
#