HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

Type : driver
Current memory : 6135 MB
Target memory : 6135 MB
Comfortable minimum : 2167 MB
To display more information, include the -V option. For example:
# hpvmmgmt -V -l ram
[Dynamic Memory Information]
=======================================
Type : driver
Current memory : 2103 MB
Target memory : 2103 MB
Comfortable minimum : 2423 MB
Minimum memory : 1222 MB
Maximum memory : 6144 MB
Boot memory : 6135 MB
Free memory : 124 MB
Available memory : 286 MB
Memory pressure : 12
Memory chunksize : 65536 KB
Driver Mode(s): STARTED ENABLED GUESTCTL
9.6.2.2 Modifying a Virtual Machine's Memory Size from the Guest
Once the dynamic memory feature is configured and enabled, a virtual machine's memory size
can be changed to any value between the minimum size (ram_dyn_min) and the maximum size
(ram_dyn_max) in increments of the chunk size (64 MB). Use the following-x option to the
hpvmmgmt command:
# hpvmmgmt -x ram_target = memory size
For example, to change the guest memory size to 4 GB, enter the following command:
# hpvmmgmt -x ram_target =4096M
Attempting to increase memory from 2103 MB to 4096 MB.
Successfully began to change ram_target to 4096 MB.
9.6.3 Troubleshooting Dynamic Memory Problems
This section describes how to solve problems in the use of dynamic memory.
9.6.3.1 Dynamic Memory Restrictions
Use of dynamic memory is subject to the following restrictions:
The size of a virtual machine cannot be increased above its original boot size (as specified
with the -r option).
If the virtual machine memory has become fragmented , attempting to reduce the size of
the virtual machine might fail or might take a very long time. If you cannot reduce the size
of the virtual machine to the desired size, abort the operation by setting a new target size.
Increasing the size of a virtual machine requires free memory on the VM Host. If the VM
Host memory is insufficient, the operation might take a very long time to complete and
might fail.
If the values of ram_target and ram_dyn_target_start are not inside the values of
ram_dyn_min and ram_dyn_max, a warning is issued.
9.6.3.2 VM Host Resource Considerations
HP-UX supports “large pages, ” a memory management feature used to improve performance.
Integrity VM takes advantage of this feature by ensuring that when a virtual machine starts, it
allocates the largest size pages that are available. Once these pages are allocated and locked down
they cannot change size. This keeps fragmentation of large pages to a minimum.
9.6 Dynamic Memory 135