Installing and Managing HP-UX Virtual Partitions (includes A.04.02)

CPU, Memory, and IO Resources (A.04.xx)
Memory: Setting Granularity Values
Chapter 6
172
Memory: Setting Granularity Values
Granularity refers to the unit size in which memory is assigned to all virtual partitions in a given vPars
database (vpdb). Granularity reflects only the unit size of memory and not the amount of memory that is
assigned.
If you are using a vPars database created using vPars A.04.xx and later, the default granularity is 128 MB for
ILM and 128 MB for CLM.
However, you can specify your own granularity for CLM and/or ILM. Granularity has some specific
restrictions and cannot be changed in a vPars database after they are set. Please be sure to read the
CAUTION portion at the end of this section.
Syntax
The syntax for setting granularity unit size is
-g ILM|CLM:
unit
[:y|n]
where
g is granularity
ILM|CLM specifies whether the unit size is applied to ILM or CLM
unit
is the granularity unit size in MBs
This value must be an integral power of 2 (in other words, 2^X) and be greater than or
equal to 64.
y|n [vparcreate only; Integrity only] specifies whether granularity unit size should be
written to firmware. the default is n.
Granularity Values Locations
Integrity Systems. There are two areas where granularity values are set:
1. nPartition firmware
(specifically, the EFI variables in NVRAM (non-volatile RAM))
2. vPars database
In order for the virtual partitions in the vPars database to be able to boot, the granularity values in the vPars
database must match the granularity values in the firmware. This is true for Integrity only; for PA-RISC,
there are no granularity values in the PA-RISC firmware.
On Integrity systems, memory is divided into the granules by the firmware; therefore, it is required that you
set and match the corresponding EFI variables.
PA-RISC systems. There is only one area where granularity values are set:
1. vPars database
For PA-RISC, there are no granularity values in the PA-RISC firmware. The memory is divided into the
granules by the Monitor itself. Note that this means the update firmware option ([:y]) of vparcreate is
ignored on PA-RISC.