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] [PATCH] permute with 2MB chunk

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, "Jean Guyader (Intern)" <Jean.Guyader@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] permute with 2MB chunk
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 09:13:05 +0000
Delivery-date: Thu, 20 Mar 2008 02:14:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <DD74FBB8EE28D441903D56487861CD9D2AD11B60@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciJI8rF6nQEvsDDRlW3NTPbRlzNJwAfnEAAAAG+us4AL/yEUAAAXIpH
Thread-topic: [Xen-devel] [PATCH] permute with 2MB chunk
User-agent: Microsoft-Entourage/11.4.0.080122
On 20/3/08 09:05, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx> wrote:

>> We also tested building an HVM guest with the permuted ordering of
>> pages, versus reverse ordering, versus normal ordering. Only the
> permuted
>> ordering showed the problem. We assume that the permute() function has
> an
>> unfortunate interaction with the memory allocator in certain HVM guest
> OSes,
>> causing poor cache utilisation.
> 
> It's still very odd that the permutation fn only seems to effect Linux
> running as a HVM guest and not as a PV guest. I still think there's
> something we're not quite understanding.
> 
> Jean: have you definitely verified that building a domain with the
> permute function does not affect Linux PV guests?

Dexuan has also claimed in private email that the 2MB permute function
speeds up kernel builds in save-restored HVM guests from 62s to 58s. We
don't know the confidence intervals for those figures though. Still, there's
presumably something rather fragile underlying all this...

 -- Keir



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