HP Integrity Virtual Machines Installation, Configuration, and Administration
Table 9-4 Dynamic Memory Control Command Options
DescriptionKeyword Value Pair
Specifies whether a sufficiently privileged user on the guest (such as
root) can change the dynamic memory values while the guest is running.
To disable guest-side dynamic memory control, specify 0. If the guest is
not active, the only effect is the modification of the guest configuration
file. On the running guest, the change becomes effective immediately.
dynamic_memory_control={1|0}
Specifies the type of dynamic memory control for the guest. When this
configuration parameter is set to none, dynamic memory is disabled.
This is the default setting. If your guest is running with dynamic memory
enabled and you set this value to none, the guest configuration file is
modified to remove all dynamic memory ranges and control information.
When this configuration parameter is set to any, the next boot of the
guest determines whether or not dynamic memory is enabled on the
guest. If the dynamic memory driver is loaded, the value of this parameter
is changed to driver. If no drivers are loaded or found, the value is not
changed.
When this configuration parameter is set to driver, guest dynamic
memory controls and ranges are functional. Depending on the current
or default settings, messages may be displayed indicating a resetting of
the dynamic memory range values to match the current memory range
settings. If you change the available guest memory value (using the -r
option), the dynamic memory values are validated for range and
modified.
ram_dyn_type={none|any|driver}
Specifies the minimum amount of memory that can be dynamically
allocated to the guest. The ram_dyn_min must be greater than the
minimum memory (displayed by the hpvmstatus command) and less
than the ram_dyn_max value.
ram_dyn_min=amount
Specifies the maximum amount of memory that can be dynamically
allocated to the guest. The value of ram_dyn_max must be greater than
the value ofram_dyn_min.
ram_dyn_max=amount
Specifies the amount of memory that the dynamic memory driver
attempts to access when the guest starts. The value of the
ram_dyn_target_start must be greater than the ram_dyn_min
parameter and less than or equal to the ram_dyn_max parameter. When
the guest starts, it initially has access to the guest memory size (specified
by the -r option), then the dynamic memory driver reduces the memory
to the value of the ram_dyn_target_start parameter.
ram_dyn_target_start=amount
Sets the current memory size for the guest. The ram_target keyword
is valid on the hpvmmodify and hpvmmgmt commands only. When you
specify 0 (zero), the dynamic memory driver reduces the memory on the
guest to a comfortable minimum without forcing guest memory to be
paged out. This minimum value changes over time as the guest's
operating needs change. When you specify start, the guest dynamic
memory size grows to the allocated value specified using the —r option.
This parameter is dynamic and can only be used on an active guest.
ram_target={0|start|amount}
You can supply several dynamic memory keywords on the same command line. For example,
to enable dynamic memory and configure the guest named compass1 to reduce its size early
in the boot process, enter the following command:
# hpvmmodify -P guest1 -r 6G \
-x ram_dyn_type=any \
-x ram_dyn_min=1222M \
-x ram_dyn_max=6G \
-x ram_dyn_target_start=2G
This command specifies the following values:
• The virtual machine memory allocation is set to 6 GB.
• Dynamic memory is enabled using any dynamic memory support available.
9.6 Dynamic Memory 123