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] RE: information leaking between domains via granted page

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, "Santos, Jose Renato G" <joserenato.santos@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] RE: information leaking between domains via granted pages?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 04 Mar 2008 09:37:10 +0000
Delivery-date: Tue, 04 Mar 2008 01:38:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D013DBE68@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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach9qLXF4BxOPME/Qtm5dC52XyjJVwAEJdzAAAXR+1AAAQFcTAAAEfDAAAGb0Is=
Thread-topic: [Xen-devel] RE: information leaking between domains via granted pages?
User-agent: Microsoft-Entourage/11.3.6.070618
On 4/3/08 08:53, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>> The flipping path is not high performance these days as we expect only
>> very old domUs to use it. All skbuffs destined for a flipping
> interface
>> are laundered through netbk_copy_skb(). Note its judicious use of
>> __GFP_ZERO.
> 
> Hmmm... I thought that flipping would be a high performance path?
> 
> So if we use rx-copy, does this mean that data is received from a
> physical interface (or another domain) via DMA, and then actually copied
> into the buffers for DomU? Do we consider the performance implications
> of this too low to be worrying about?

Yes, it's a little surprising, but experiments showed that, even with lareg
datagrams, the performance of copying versus flipping was pretty comparable.
With normal Ethernet MTU copying was significantly faster. Also copying
gives us more flexibility wrt where we place the data in the domU page. So
flipping is now deprecated.

 -- Keir



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