HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)

CPU, Memory, and I/O Resources (A.04.xx)
Memory: Assigning by Size (CLM)
Chapter 7
246
Memory: Assigning by Size (CLM)
Before assigning CLM, see the section on configuring CLM: “Configuring CLM for an nPartition” on page 310.
Once CLM is configured, you can assign an amount of CLM to a virtual partition,
The syntax to assign an amount of CLM is:
-a|d cell:
cell_ID
:mem::
size
where:
a is adding
d is deleting
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 on 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.