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

CPU, Memory, and IO Resources
Memory: Assigning CLM (vPars A.04)
Chapter 6
166
Memory: Assigning CLM
(vPars A.04)
Once CLM is configured (see “Memory: Configuring CLM for an nPartition in Brief (vPars A.04)” on page 164,
the syntax to assign an amount of CLM is
-a|d cell:cell_ID:mem::size
where
a is adding
d is decreasing
cell_ID is the cell number
size is the quantity of memory in MBs
Example
To add 1024 MB of memory from cell 6 (at least 1024 MB must already be configured as CLM) to the
existing partition keira2:
keira1# vparmodify -p keira2 -a cell:6:mem::1024
You can set both ILM and CLM memory to the same partition. To assign 1024 MB of available CLM and
1024 MB of available ILM to keira2:
keira1# vparmodify -p keira2 -a cell:6:mem::1024 -a mem::1024
NOTE Assigning ILM or CLM memory by size only reserves the amount of physical memory the
virtual partition gets. The exact physical ranges of memory the virtual partition gets is decided
by the Monitor when the virtual partition boots. The Monitor will attempt to pick the memory
ranges such that the sum of the ranges add up to the amount of ILM and CLM reserved for the
partition. However, due to memory fragmentation, which occurs due to memory already taken
by the Monitor, firmware, or bad pages, the sum of the ranges picked by the Monitor may be
slightly less than or more than the specified amount reserved for the partition.