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

CPU, Memory, and I/O Resources (A.05.xx)
Memory: Assigning (Adding) or Deleting By Size (ILM)
Chapter 6
200
Memory: Assigning (Adding) or Deleting By Size (ILM)
Assigning (adding) or deleting memory by specifying only size uses ILM memory.
Syntax
The basic syntax for adding or deleting ILM resources assigned to a virtual partition is:
-a|d mem::
size
[:base|float]
where:
a add
d delete
size
the quantity of ILM in MBs
base add/delete as base memory (this is the default when neither base nor float is specified)
float add/delete as float memory
Examples
To create the virtual partition winona2 with 1024 MB of ILM:
winona1# vparcreate -p winona2 -a mem::1024
To add 1024 MB of ILM as float memory to an existing partition winona2:
winona1# vparmodify -p winona2 -a mem::1024:float
To decrease the amount of base ILM assigned to partition winona2 by 1024 MB:
winona1# vparmodify -p winona2 -d mem::1024
NOTE Use of this syntax (removal of base memory) will only work when the target partition is
down.
To see how much of the ILM memory is currently float memory, use vparstatus -v:
# vparstatus -p keira4 -v
...
[Memory Details]
ILM, user-assigned [Base /Range]:
(bytes) (MB)
ILM, monitor-assigned [Base /Range]: 0x50000000/512
(bytes) (MB) 0x4080000000/256
0x40f0000000/256 (Floating)
ILM Total (MB): 1024 (Floating 256)
ILM Granularity (MB): 256
NOTE Although not an error, the size of ILM assigned should be a multiple of the granularity value.
When a user specifies online memory deletion by size, the kernel can select any granule to
delete in order to satisfy the request. Typically the kernel selects any granule which will be
quick to delete. If the selected granule falls within a user-specified float range, then the
user-specified range is converted to a monitor-assigned range.