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

Re: [Xen-devel] questions about ballooning





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


 


Rackspace

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