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: performance regression from c/s 21647:cfba1560054a

To: Jan Beulich <JBeulich@xxxxxxxx>
Subject: [Xen-devel] Re: performance regression from c/s 21647:cfba1560054a
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 10 Nov 2011 15:22:27 +0000
Cc: Gianluca Guida <glguida@xxxxxxxxx>, Gianluca Guida <gianluca.guida@xxxxxxxxxx>, "Tim \(Xen.org\)" <tim@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 10 Nov 2011 07:43:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EBBF96102000078000603B6@xxxxxxxxxxxxxxxxxxxx>
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>
References: <4EBBC25B02000078000601F1@xxxxxxxxxxxxxxxxxxxx> <CAKpvNa3DmeQyXBb7obc_PbsNaEUBLjTFc_eLkTKH8RwYs4WQYw@xxxxxxxxxxxxxx> <4EBBF36A0200007800060375@xxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1111101457380.3519@kaball-desktop> <4EBBF7A9020000780006039E@xxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1111101516060.3519@kaball-desktop> <4EBBF96102000078000603B6@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 10 Nov 2011, Jan Beulich wrote:
> >>> On 10.11.11 at 16:16, Stefano Stabellini 
> >>> <stefano.stabellini@xxxxxxxxxxxxx>
> wrote:
> > On Thu, 10 Nov 2011, Jan Beulich wrote:
> >> >>> On 10.11.11 at 15:59, Stefano Stabellini 
> >> >>> <stefano.stabellini@xxxxxxxxxxxxx>
> >> wrote:
> >> > On Thu, 10 Nov 2011, Jan Beulich wrote:
> >> >> It's SLE11 SP1 guests that suffered a regression after a maintenance
> >> >> update (originally shipped with 4.0.0, while that patch got backported
> >> >> later into 4.0.x).
> >> > 
> >> > Is SLES11 SP1 using HVMOP_pagetable_dying (see
> >> > arch/x86/xen/mmu.c:xen_hvm_init_mmu_ops)?
> >> 
> >> No, it's not.
> >  
> > well, it should, not to fix this problem but because it is a significant
> > performance improvement when running on shadow
> 
> Well - if you have suggestions on how to do this (a) in 2.6.32.x, (b)
> without turning on CONFIG_XEN, and (c) without massive patching,
> them I'm all for it.

Can you issue hypercalls?
If so, it is just a matter of backporting:

commit 5915100106b8f14a38053ad6c03a664d208aeaa2
Author: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date:   Thu Jun 17 14:22:52 2010 +0100

    x86: Call HVMOP_pagetable_dying on exit_mmap.
    
    When a pagetable is about to be destroyed, we notify Xen so that the
    hypervisor can clear the related shadow pagetable.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

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