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: Daniel Stodden <stodden@xxxxxxxxxx>, weiming <zephyr.zhao@xxxxxxxxx>
Subject: Re: [Xen-devel] questions about ballooning
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 04 Nov 2007 17:17:22 +0000
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 04 Nov 2007 09:12:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1194195850.15096.88.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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgfBo+gzlxqQ4r5EdyEkAAWy6hiGQ==
Thread-topic: [Xen-devel] questions about ballooning
User-agent: Microsoft-Entourage/11.3.6.070618


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.

 -- Keir




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