HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
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 specifies whether granularity unit size should be written to firmware. The default is n.
[vparcreate only; Integrity only]
The default memory granularity for CLM and ILM is based on the total memory in the nPartition.
The minimum default value is 128 MB. However, if the memory in the nPartition is too large to fit
into the supported number of memory granules for the nPartition, then the vPars commands will
choose the next higher supported memory granularity value as the default memory granularity.
The default memory granularity is determined by the vPars software when the vPars database is
created for the first time. Default memory granularity based on the total memory on the system is
not applied to the database when an alternate database is specified by the user on the command
line. When new memory is added to the hard partition, memory granularity is not automatically
recalculated.
NOTE: In certain scenarios, the vPars commands may not be able to calculate the default
granularities accurately. In these cases, a default of 128 MB will be chosen and a warning message
asking the user to validate the granularity manually will be issued.
Commands
There are two commands that can set the granularity values: vparenv and vparcreate. Both
are available at the HP-UX shell level and use the -goption:
1. vparenv -g ...
writes the granularity values to the firmware only. Note that vparenv is applicable only on
Integrity.
2. vparcreate -g ...
writes the granularity values to the vPars database and also can (using the update firmware
option [:y]) write these values to firmware.
vparenv
# vparenv -g ILM|CLM:unit
writes the unit granularity value to firmware. This takes effect for the nPartition on the next nPartition
boot. For example, to set the granularity unit size in firmware for ILM to 512 MB and for CLM to
256 MB:
# vparenv -g ILM:512 -g CLM:256
Note that this does not set the granularity value in the vPars database. Only vparcreate sets
the granularity value in the vPars database. Typically, you would change the granularity with
Memory: Setting the Granularity Values (Integrity) 187