HP-UX vPars and Integrity VM V6.3 Administrator Guide

Table 33 Dynamic memory characteristics (continued)
DescriptionSettingCharacteristic
The allocation chunk size used by dynamic memory when
increasing and decreasing guest memory (as described in
Section 13.14.3.3 (page 237).
valueMemory chunksize
Dynamic memory can change guest memory size.startedDriver mode(s)
Control that overrides started.enabled
Guest-side control is enabled.guestctl
The following example shows active usage of the VSP and guests dynamic memory usage values,
along with the guest memory utilization. The current swapping and paging, and translation address
memory misses per second of the guests are included. For a description of each column displayed,
see the hpvmsar manpage. The dash (-) in the example indicates the guest named ux2 is not
currently booted.
# hpvmsar -G -A
HP-UX witch4 B.11.31 U ia64 10/22/10
10:02:28 GUEST GTOTMEM(MB) HDYNRCLM(MB) GCURMEM(MB) GCURFREE(MB) GSWAP GPAGE GADDRTMISS/s
10:02:30 ux1 8186 0 8186 5956 0 0 0
ux2 - - - - - - -
10:02:31 ux1 8186 0 8186 5956 0 0 0
ux2 - - - - - - -
10:02:32 ux1 8186 0 8186 5956 0 0 0
ux2 - - - - - -
13.14.1.2 Modifying a memory size of the VM on the VSP
After dynamic memory is configured, you can change a memory size of the VM 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 -x option with the hpvmmodify command to change the
memory size:
# hpvmmodify -P host1 -x ram_target = new memory size
13.14.2 Managing dynamic memory from the guest
Dynamic memory management from the guest is disabled by default and must be enabled from
the VSP. If the feature is not enabled, you can view dynamic memory information, but cannot
change the memory size.
Use the hpvmcreate, hpvmmodify, or hpvmclone command and include the -x
dynamic_memory_control option. Specify 1 as the argument to the option. For example, on
the VSP system, enter the following command to enable dynamic memory control on the guest
named host1:
# hpvmmodify -P host1 -x dynamic_memory_control=1
13.14.2.1 Viewing dynamic memory information from the guest
Use the hpvmmgmt command on the HP-UX guest to manage and view the dynamic memory
information. This command is installed when you install the VirtualBase software, as described in
Section 2.6.2 (page 35).
Table 34 (page 236) lists the options that can be used with the hpvmmgmt command.
13.14 Managing dynamic memory from the VSP 235