Decrease the Control Domain's Memory
Use a delayed reconfiguration instead of a memory DR to decrease the control domain's memory from an initial factory-default
configuration. In such a case, the control domain owns all of the host system's memory. The memory DR feature is not well suited for this purpose because an active domain is not guaranteed to add, or more typically give up, all of the requested memory. Rather, the OS running in that domain makes a best effort to fulfill the request. In addition, memory removal can be a long-running operation. These issues are amplified when large memory operations are involved, as is the case for the initial decrease of the control domain's memory.
For these reasons, use a delayed reconfiguration by following these steps:
-
Use the
ldm start-reconf primary
command to put the control domain in delayed reconfiguration mode. -
Partition the host system's resources that are owned by the control domain, as necessary.
-
Use the
ldm cancel-reconf
command to undo the operations in Step 2, if necessary, and start over. -
Reboot the control domain to make the reconfiguration changes take effect.