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

Re: [Xen-devel] [PATCH] xl: extend autoballoon xl.conf option with an "auto" option



On Thu, 4 Apr 2013, David Vrabel wrote:
> From: David Vrabel <david.vrabel@xxxxxxxxxx>
> 
> autoballoon=1 is not recommened if dom0_mem was used to reduce the
> amount of dom0 memory.  Instead of requiring users to change xl.conf
> if they do this, extend the autoballoon option with a new choice:
> "auto".
> 
> With autoballoon="auto", autoballooning will be disabled if dom0_mem
> was used on the Xen command line.
> 
> For consistency, accept "on" and "off" as valid autoballoon options (1
> and 0 are still accepted).
> 
> The default remains "on" so it is recommended that packagers provide
> an xl.cong with autoballoon="auto".

Even though I dislike having to parse the Xen command line to solve this
issue, having seen how many problems the autoballoon option can cause, I
am very supportive of this change.



> diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf
> index 28ab796..b3db5db 100644
> --- a/tools/examples/xl.conf
> +++ b/tools/examples/xl.conf
> @@ -2,7 +2,7 @@
>  
>  # automatically balloon down dom0 when xen doesn't have enough free
>  # memory to create a domain
> -#autoballoon=1
> +#autoballoon="auto"

please update the comment on this file too


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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