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: [PATCH] x86/hvm: accelerate IO intercept handling

To: Andre Przywara <andre.przywara@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH] x86/hvm: accelerate IO intercept handling
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 05 Mar 2010 14:52:02 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 05 Mar 2010 06:52:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B91170A.2060601@xxxxxxx>
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: Acq8cX0/B0UqRyXOTlipI5ZR4ak7aAAAezOX
Thread-topic: [PATCH] x86/hvm: accelerate IO intercept handling
User-agent: Microsoft-Entourage/12.23.0.091001
On 05/03/2010 14:36, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:

> I simply boot tested both versions and ran some simple benchmarks.
> A micro benchmark (hammering an I/O port in a tight loop) shows a
> significant performance improvement (down to 66% of the time needed to
> handle the intercept on a K8, measured in the guest with TSC).
> Even with reading a 1GB file from an emulated IDE harddisk (Dom0 cached)
> I could get a  4-5% improvement.
> We found some guests (e.g. the TCP stack in some Windows version) which
> exercise the PM-Timer I/O port (0x1F48) very often (multiple 10,000
> times per second), these workloads also benefit from this patch.

By how much? I mean, the microbenchmark and 5% speedup on our poor-man's IO
path are not very interesting. Unless the speedup on the only
possibly-interesting workload you mention is significant, this whole
optimisation seems unnecessary.

 -- Keir



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

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