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] [RFC][PATCH] 0/9 Populate-on-demand memory

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: RE: [Xen-devel] [RFC][PATCH] 0/9 Populate-on-demand memory
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Wed, 24 Dec 2008 07:35:11 -0800 (PST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Dec 2008 07:36:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0812240642i42f9c1f2ud7ca7d9d1bf4e400@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> We could to allocate a new page at that point; but it's likely that
> the allocation will fail unless there happens to be memory lying
> around somewhere, not used by dom0 or any other doamin.  And if that
> were the case, why not just start it with that much memory to begin
> with?

Actually, if dom0_mem is used rather than the default of letting
domain0 absorb all free memory and dole it as needed to launching
VMs, there will almost always be some memory lying around.

And in the not-to-distant future, when live migration is
more widely used, there had better be memory lying around
or migration won't work.

As for "why not just start it with that much memory to begin
with?"... because in most environments VMs are sized once
(e.g. 512MB) and almost never changed... because sysadmins
rarely want to be bothered with constantly fine tuning
just to use an extra spare few MB of memory.

That's why your patch is so important!

Dan

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