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] TPR write optimization (even improves 2003 sp2)

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] TPR write optimization (even improves 2003 sp2)
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 7 Jan 2009 13:59:50 +1100
Delivery-date: Tue, 06 Jan 2009 19:00:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01550221@trantor>
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: <AEC6C66638C05B468B556EA548C1A77D01550221@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclwbQESFc81qMn2SR2vAjv2yU5MgQABpemA
Thread-topic: [Xen-devel] TPR write optimization (even improves 2003 sp2)
> 
> For anyone who is interested, I have implemented TPR write
optimization
> based on Travis Betak's amdvopt driver. My implementation gets the
base
> address and length of hal.dll when loaded into memory and scans that
for
> patchable instructions, instead of the patch table approach that
Travis
> used.
> 
> A preliminary test under XP shows a 10x increase in iperf performance.
> 
> I'll test under 2003sp1 soon, unfortunately my sp1 decided to
> automatically install sp2 and I 'xm destroy'd it in the middle of that
> and now it's doing a chkdsk...
> 

2003sp1 iperf throughput went from 150mbit/second without the patch to
950mbit/second with the patch

Surprisingly, the AMD TPR write patch under 2003sp2 increases iperf
throughput from 1Gbit/second (without the patch) to 1.5Gbit/second
(patched). I guess this makes sense - 2003sp2 includes 'lazy write', but
the AMD patch optimises the write operation itself.

Is there such a facility available under Intel CPU's, other than the
latest 'flex priority' stuff which I am about to read up on?

Thanks

James


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