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: Superpage/hugepage performance improvement

To: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, Dave McCracken <dcm@xxxxxxxx>
Subject: Re: [Xen-devel] RFC: Superpage/hugepage performance improvement
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 06 Apr 2010 10:40:52 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen Developers List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Apr 2010 02:41:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100406092901.GD15578@xxxxxxxxxxxxxxxxxxxxxxx>
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: AcrVa5liRlR8JMFXTkOhYgBV6yuICAAAaWyL
Thread-topic: [Xen-devel] RFC: Superpage/hugepage performance improvement
User-agent: Microsoft-Entourage/12.24.0.100205
On 06/04/2010 10:29, "Tim Deegan" <Tim.Deegan@xxxxxxxxxxxxx> wrote:

>> To make this work I added two mmuext ops, one to mark a superpage and
>> one to unmark it.  This change makes a huge performance difference in
>> the hugepage mapping (on the order of 50 times faster).
> 
> Plus, presumably, some noticeable difference on a macro benchmark. (I
> expect that's the case but I've been wrong before.)

It's a very good question since we might expect that hugetlbfs users
construct long-lived mappings.

 -- Keir



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

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