HP XP Application Performance Extender Software User Manual
Page 104
The following configurations must be set:
1.
Setup groups based on applications and need.
Format for creating groups
########## FSS PRM group record #####################################
#
# GROUP:{PRMID | HIER}:SHARES:[MAX]:
#
# GROUP
#
FSS PRM group name. For proper display by the ps command, use no
#
more than 7 characters in the PRM group name.
#
# PRMID | HIER
#
Parent nodes in a hierarchy use the HIER keyword, while leaf nodes
#
use PRM group ID. PRMIDs must be unique and can range from 1
#
to 255. PRMID 1 (the default group for users not explicitly
#
assigned to a group) is required.
#
# SHARES
#
CPU shares and, if CPU capping is enabled, the capping value.
#
Share amounts can range from 1 to MAXINT. Shares determine the
#
resource allocation proportions for all children of the same parent.
#
# MAX (Optional) (Default is no per-group CPU limit)
#
Specifies a max (upper bound) for CPU consumption. The max value is
#
expressed as a percent, which is an integer value, ranging from the
#
percentage determined by the group's number of CPU shares to 100.
#
There is no requirement that the per-group max values total 100%.
#
This value is superceded by the minimum percent when CPUCAPON mode
#
is enabled.
Example 1. Creating three groups named GRP2, GRP3 and GRP15 with PRM ID 2, 3 and 15
respectively
# GROUP:{PRMID | HIER}:SHARES:[MAX]:
GRP2:2:60::
GRP3:3:30::
GRP15:15:10::
The value specified in SHARES determines the amount of system resources shared by each group.
2.
Map the created groups with the applications.
NOTE:
Ensure that the applications with high priority are mapped to groups with maximum SHARES of
system resources.
You must ensure proper mappings so that the system is used efficiently.
PRM application record
########## PRM application record ###################################
#
# APPLICATION::::GROUP[,ALTERNATE_NAME[, ...]]
# or
# APPLICATION::::GROUP[,'REGEXP']
#
# APPLICATION
Configuring HP Process Resource Manager groups on HP-UX hosts
104