HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 117
NOTE If the PRM group uses a larger shared memory
segment, it must borrow the difference. It attempts to
borrow the difference from its private memory
allocation first, then from other user-defined PRM
groups, and then from the PRM_SYS group. You should
avoid this borrowing, if possible, by determining how
much shared memory a workload allocates and then
setting MEGABYTES to 1.1 times that size.
The minimum MEGABYTES value corresponds to the
page size. (Page sizes can be 4KB, 8KB, 16KB, or 64KB.
You must have at least 256 pages, so the minimum
MEGABYTES values are 1, 2, 4, or 16 depending on the
system’s page size.) The maximum value is limited by
the available megabyte value reported by prmavail
minus the MEGABYTES values for all shared memory
records and the megabyte value corresponding to the
sum of the SHARES amounts for all memory records.
Consider the following example memory records:
# PRM shared memory records
#!SHARED_MEM:2:10
#!SHARED_MEM:tools/compilers:10
The example shows:
A memory record for PRMID 2, which specifies 10 megabytes of
memory.
A memory record for the tools/compilers group. This record
specifies 10 megabytes for the group.