From: Keir Fraser Subject: Re: RE: information leaking between domains via granted pages? Date: Tue, 04 Mar 2008 09:37:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper , "Santos, Jose Renato G" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 4/3/08 08:53, "James Harper" 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