WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] questions about ballooning

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] questions about ballooning
From: Daniel Stodden <stodden@xxxxxxxxxx>
Date: Sun, 04 Nov 2007 18:28:26 +0100
Cc: weiming <zephyr.zhao@xxxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 04 Nov 2007 09:29:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1194196791.15096.93.camel@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fakultät für Informatik I10, Technische Universität Münche
References: <C353AF22.FED8%Keir.Fraser@xxxxxxxxxxxx> <1194196791.15096.93.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, 2007-11-04 at 18:19 +0100, Daniel Stodden wrote:
> On Sun, 2007-11-04 at 17:17 +0000, Keir Fraser wrote:
> > 
> > 
> > On 4/11/07 17:04, "Daniel Stodden" <stodden@xxxxxxxxxx> wrote:
> > 
> > > not sure about how this bootstraps in the balloon. e.g. i'm not sure
> > > whether the whole initial memory is allocated and then returned again
> > > only upon demand. or if the initial reservation is full memory and then
> > > only grown by the balloon. i believe the former is the case. maybe
> > > someone else can comment (please).
> > 
> > The arch-specific code (setup-xen.c) sets up a mem_map big enough for
> > maximum memory ever allocatable to this domain. 'Empty pages', which are not
> > populated with RAM by the initial reservation, are detected by the balloon
> > driver when it initialises. These empty pages are filled with RAM by the
> > balloon driver on demand, if it detects that the memory target is raised.
> 
> thanks.
> 
> that helped, even despite me screwing 'full' and 'initial' while asking.

while you are at it, from xmdomain.cfg(5)

memory:
        Xen does not support overcommit of memory, so the total memory 
        of all guests (+ 64 MB needed for Xen) must be less than or 
        equal to the physical RAM in the machine.

'memory' is mem_map size, right? is this outdated or simply not true, or
am i missing something?

thanks,
daniel

-- 
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel