From: "Dan Magenheimer" Subject: RE: [PATCH] linux/balloon:don't allow ballooningdowna domain below a reasonable limit Date: Fri, 9 May 2008 14:38:52 -0600 Message-ID: <20080509143852937.00000000936@djm-pc> References: <481B7A01020000780004B919@vpn.id2.novell.com> Reply-To: "dan.magenheimer@oracle.com" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <481B7A01020000780004B919@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Ky Srinivasan , "xen-devel@lists.xensource.com" , "keir.fraser@eu.citrix.com" , "garloff@suse.de" List-Id: xen-devel@lists.xenproject.org Hmmm... it appears to me that minimum_target() doesn't work when balloon.c is built as a module (always returns 0). Can you confirm/deny? Also, still hoping to get more info on the algorithm used in minimum_target(). Thanks, Dan > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com]On Behalf Of Jan Beulich > Sent: Friday, May 02, 2008 1:31 PM > To: dan.magenheimer@oracle.com > Cc: Ky Srinivasan; xen-devel@lists.xensource.com; > keir.fraser@eu.citrix.com; garloff@suse.de > Subject: RE: [Xen-devel] [PATCH] linux/balloon:don't allow > ballooningdowna domain below a reasonable limit > = > = > >>> "Dan Magenheimer" 05/01/08 = > 2:00 AM >>> > >OK, I think I am understanding it a bit better: > >the max_pfn part is just adding in some "slop" > >which is a fraction of total main memory which > >is growing smaller (roughly logarithmically) > >as memory grows larger. I'm still not sure about > >the magic values in MB2PAGES though... I'm guessing > >these were gathered somehow experimentally? > = > I have to defer to the original author here - Kurt? > = > >With the "divide result of your algorithm by two", > >I was able to get thirteen 512MB domains (idle > >for now) running on a 2GB system. > = > You mean ballooned-down domains, right? Perhaps using your > self-ballooning change? I have to admit I'm a little nervous > about attempting to overcommit memory in this way in a > production environment, but as long as this depends on a > decision of the operator it's certainly a good option to have. > = > Jan > = > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >