HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
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 vPars Monitor when the virtual partition boots. The vPars 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 vPars Monitor, firmware, or bad pages, the sum of the ranges picked by the vPars Monitor
may be slightly less than or more than the specified amount reserved for the partition.
Memory: Specifying Address Range
Within the already allocated memory sizes, you can specify the memory address ranges using the
mem:::base:range syntax. However, this is not recommended unless you are familiar with using
memory addresses. For PA-RISC systems, you should also be familiar with the requirement that all
HP-UX kernels fit within 2 GB of memory, as described in “2 GB Restriction (PA-RISC only)”
(page 211).
For usage information, see the vparmodify(1M) manpage. You should select your base:range after
consulting vparstatus -A to determine which ranges are available.
210 CPU, Memory, and I/O Resources (A.04.xx)