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: [PATCH][1/4] Enable 1GB for Xen HVM host page

To: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH][1/4] Enable 1GB for Xen HVM host page
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 24 Feb 2010 09:12:04 +0000
Cc: "Huang2, Wei" <Wei.Huang2@xxxxxxx>
Delivery-date: Wed, 24 Feb 2010 01:12:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6CADD16F56BC954D8E28F3836FA7ED71282AC1EF1A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Acqz43NZ+iZXkzh8RO6muJPvzzHYTgAekt6uAA4vG0AAFqvWEAAQEOZm
Thread-topic: [PATCH][1/4] Enable 1GB for Xen HVM host page
User-agent: Microsoft-Entourage/12.23.0.091001
On 24/02/2010 04:25, "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx> wrote:

> When allocating guest memory without the patch, Xend will treat 3G-4G
> as normal memory, ignoring the 3.75-4G MMIO hole. This patch modifies
> MMIO start address to be 1GB aligned and could fix the issue.
> 
> Indeed, this patch may have some influence to pure 32bit guest,
> changing its max memory from 3.75G to 3G.
> 
> Anyway, we can change it to alloc 2M pages between 3G and 4G if you
> think this particular patch is improper.

I would expect it to fall back to 2MB extents, and from there back to 4kB
extents as necessary, for any range where: (a) the range to be allocated for
is not 1GB-sized and -aligned; or (b) no 1GB extents are available from
Xen's free pool.

 -- Keir



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

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