Configure dom0 Memory in XenServer 6.x

To configure the dom0 memory, complete the following procedure:

  1. On the XenServer host, open a local shell and log on as root.
  2. Enter the following command:
    /opt/xensource/libexec/xen-cmdline –set-xen dom0_mem=<nn>M,max:<nn>M
    <nn> represents the memory in megabytes, to be allocated to dom0. This value should be between 1024 and 4096, depending on the number of VMs that are expected to run and the total memory of the host. A higher value results in less memory being available to the VMs.

  1. Reboot the XenServer host using XenCenter or reboot command on the console.
    After the host is rebooted, run the command free on the console to verify the new memory settings.

Note: On smaller memory machines (less than 16GiB), you may want to reduce the memory allocated to dom0 lesser than the default of 752MiB.

Follow the preceding instructions to reduce the dom0 memory. However, Citrix recommends that you should not reduce the dom0 memory to lesser than 400MB.

%d bloggers like this: