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] x86: add SSE-based copy_page()

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] x86: add SSE-based copy_page()
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 19 Nov 2008 21:21:51 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Nov 2008 13:22:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e07957a-d4fe-40f9-8b2d-cf247d65ff09@default>
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: AclKjNZrFQbS7LaAEd2o8wAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH] x86: add SSE-based copy_page()
User-agent: Microsoft-Entourage/11.4.0.080122
On 19/11/08 20:24, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> I haven't had a chance to test this further yet,
> but I see the patch was already taken (c/s 18772).
> 
> Why, given that performance gets worse under some
> circumstances?  At least maybe there should be two
> interfaces: copy_page_cold_cache() and
> copy_page_warm_cache() rather than just assume?
> 
> I'll post measurements when I get a chance to test,
> but bring this up as a placeholder for now.

If more extensive testing shows it not to be a win in general then we can
revert the patch.

Looking at c/s 18724 again also I wonder what fixmap_domain_page() was
introduced for, rather than just using map_domain_page(). Is it an attempt
to reduce global TLB shootdowns? It's not very clear nor very pretty and I'd
rather just kill it and use map_domain_page().

 -- Keir



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