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] [VTD-NEO][patch 5/6] Intel VT-d/Neocleus 1:1 mregedcode

To: "Muli Ben-Yehuda" <muli@xxxxxxxxxx>
Subject: RE: [Xen-devel] [VTD-NEO][patch 5/6] Intel VT-d/Neocleus 1:1 mregedcode for PCI passthrough
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Wed, 19 Sep 2007 16:55:11 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Guy Zana <guy@xxxxxxxxxxxx>
Delivery-date: Wed, 19 Sep 2007 16:56:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070919063738.GK26267@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <13A2F7DE1BAEA345A61DD40F303ED7A67C542B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C3167F31.DB03%Keir.Fraser@xxxxxxxxxxxx> <20070919062610.GF26267@xxxxxxxxxxxx> <13A2F7DE1BAEA345A61DD40F303ED7A67C5742@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20070919063738.GK26267@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf6h5TH1mf4U0XwSlmmsy0mG5h7SgABM6Eg
Thread-topic: [Xen-devel] [VTD-NEO][patch 5/6] Intel VT-d/Neocleus 1:1 mregedcode for PCI passthrough
My informal tests did not show much performance degradation. It is not
easy to figure out miss rates without performance counters.

If you look at the latest vt-d spec on the web, there is a passthru
feature in the context entry which will allow passthru DMA on BDF
granularity in the future.

http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Di
rect_IO.pdf

Allen  

>-----Original Message-----
>From: Muli Ben-Yehuda [mailto:muli@xxxxxxxxxx] 
>Sent: Tuesday, September 18, 2007 11:38 PM
>To: Kay, Allen M
>Cc: Keir Fraser; xen-devel@xxxxxxxxxxxxxxxxxxx; Guy Zana
>Subject: Re: [Xen-devel] [VTD-NEO][patch 5/6] Intel 
>VT-d/Neocleus 1:1 mregedcode for PCI passthrough
>
>On Tue, Sep 18, 2007 at 11:32:25PM -0700, Kay, Allen M wrote:
>
>> Translation enabling is on per vt-d engine granularity - not BDF
>> granularity.  Each BDF context entry can point to a different page
>> table structure.
>> 
>> Setup a single 1:1 mapping structure to be used by all PV domains is
>> a good idea.  I will give it a try tomorrow.
>
>I see, thanks for clarifying. That seems pretty strange... do you have
>a notion of the overhead incured by the 1-1 mapping and the average
>IOTLB hit/miss rates?
>
>Cheers,
>Muli
>

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