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

[Xen-devel] Re: revisit the super page support in HVM restore

To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: [Xen-devel] Re: revisit the super page support in HVM restore
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 08:29:18 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 Aug 2009 00:29:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A8BA4FE.9070105@xxxxxxxxx>
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
Thread-index: Acogm/eWilINjOZ/TwKsD1Vx0oWWdAAAstO5
Thread-topic: revisit the super page support in HVM restore
User-agent: Microsoft-Entourage/12.20.0.090605
On 19/08/2009 08:08, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:

> So how about this new method:
> * Not tracking each of pfn inside 2M page, but trying best to allocate
>   2M pages if the 2M page covering this pfn is not allocated.
> * There may be holes inside new allocated 2M pages that are not synced in
>   this batch, but we don't care and assume these missing pfns will
>   come in future.
> 
> This new method is simple as the super page support for PV guest is
> already there.

You wil fail to restore a guest which has ballooned down its memory as there
will be 4k holes in its memory map. You will allocate 2MB superpages despite
these holes, which do not get fixed up until end of restore process, and run
out of memory in the host, or against the guest's maxmem limit.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>