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] question on iommu _map_page

To: Kaushik Kumar Ram <kaushik@xxxxxxxx>
Subject: Re: [Xen-devel] question on iommu _map_page
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 2 Jul 2010 08:13:41 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 02 Jul 2010 00:16:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AA9F2A39-CD5B-4227-A011-242B6E3C8FE8@xxxxxxxx>
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: AcsZrvYx7daGFajWRCCPOYx3FtbBtgAByMmx
Thread-topic: [Xen-devel] question on iommu _map_page
User-agent: Microsoft-Entourage/12.24.0.100205
On 02/07/2010 07:22, "Kaushik Kumar Ram" <kaushik@xxxxxxxx> wrote:

>> See if xen-unstable:21597 works for you.
> 
> Keir,
> 
> I finally found some time to test your patch. While it seems to fix the
> problem, it *significantly* degrades performance.
> On running netperf, there is a 10X reduction in throughput to a guest VM. On
> profiling, I find a significant number of cycles
> being spent in mapcount(). In the current solution, the entire grant table is
> searched every time (right ?). The mapping info
> ought to be stored in some per-page location... for efficient access.

It needs to be a per-mapping-domain location. Like the VT-d pte itself.
Patches welcome.

 -- Keir



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

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