[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Unstable/inconsistent auto-start of domUs under Xen-4.8/Linux-4.9

Daniel Widenfalk <Daniel@xxxxxxxxxxxx> wrote:

> 2) Disable balooning on Dom0. My Dom0 will never run anything memory
>   intensive so limiting it to, say, 4GB would not be a severe
>   restriction.

Common advice is to hard-wire Dom0 to a fixed memory allocation via a dom0_mem 
statement in your grub config. I have this in mine :
multiboot /xen-4.1-amd64.gz placeholderdom0_mem=512M dom0_max_vcpus=1 

which in Debian comes from an entry in /etc/default/grub of
GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=512M dom0_max_vcpus=1 dom0_vcpus_pin=true"

One thought is that you've a race condition where you've multiple VMs all 
causing massive ballooning in Dom0 - and Xen is timing out because it can't get 
the memory fast enough. I;d have thought something would show in the logs for 
that though.
Apart from this, setting Dom0 memory is more efficient as various kernel 
structures are sized at boot time based on memory size. So having Dom0 working 
with a fixed smaller memory will reduce the size of these structures. Don't 
know how much memory this actually releases ...

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.