[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-cvs
Subject:    [Xen-changelog] [xen-4.2-testing] xl: xl.conf(5): correct advice re autoballooning vs. dom0_mem.
From:       Xen patchbot-4.2-testing <patchbot () xen ! org>
Date:       2012-11-30 14:11:09
Message-ID: E1TeRJ7-0007QZ-Ih () xenbits ! xen ! org
[Download RAW message or body]

# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1354205275 0
# Node ID b3dafd42268af1ea9558b536702841625dd52500
# Parent  ac8a9f014744a2bf9fbcd25ef5a26de7086ad958
xl: xl.conf(5): correct advice re autoballooning vs. dom0_mem.

The advice was backwards, you should really disable autoballoon if you
use dom0_mem. Also add a reference to the command-line docs.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>

xen-unstable changeset: 26192:17ffbe7cf645
Backport-requested-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
---


diff -r ac8a9f014744 -r b3dafd42268a docs/man/xl.conf.pod.5
--- a/docs/man/xl.conf.pod.5	Thu Nov 29 14:58:36 2012 +0000
+++ b/docs/man/xl.conf.pod.5	Thu Nov 29 16:07:55 2012 +0000
@@ -49,9 +49,9 @@ The semantics of each C<KEY> defines whi
 
 If disabled then C<xl> will not attempt to reduce the amount of memory
 assigned to domain 0 in order to create free memory when starting a
-new domain. You should set this if you use the C<dom0_mem> hypervisor
-command line to reduce the amount of memory given to domain 0 by
-default.
+new domain. You are strongly recommended to set this to C<0>
+(C<False>) if you use the C<dom0_mem> hypervisor command line to
+reduce the amount of memory given to domain 0 by default.
 
 Default: C<1>
 
diff -r ac8a9f014744 -r b3dafd42268a docs/misc/xen-command-line.markdown
--- a/docs/misc/xen-command-line.markdown	Thu Nov 29 14:58:36 2012 +0000
+++ b/docs/misc/xen-command-line.markdown	Thu Nov 29 16:07:55 2012 +0000
@@ -409,6 +409,11 @@ reservation is unlimited.
 For example, to set dom0's initial memory allocation to 512MB but
 allow it to balloon up as far as 1GB use `dom0_mem=512M,max:1G`
 
+If you use this option then it is highly recommended that you disable
+any dom0 autoballooning feature present in your toolstack. See the
+_xl.conf(5)_ man page or [Xen Best
+Practices](http://wiki.xen.org/wiki/Xen_Best_Practices#Xen_dom0_dedicated_memory_and_preventing_dom0_memory_ballooning).
 +
 ### dom0\_shadow
 > `= <boolean>`
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
http://lists.xensource.com/xen-changelog


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic