From: Wei Liu Subject: Re: [PATCH v5] xenbus_client: extend interface to suppurt multi-page ring Date: Tue, 19 Nov 2013 17:14:31 +0000 Message-ID: <20131119171431.GF13187@zion.uk.xensource.com> References: <1384104089-15958-1-git-send-email-wei.liu2@citrix.com> <528B9B49.3080902@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Viosl-0003oJ-2a for xen-devel@lists.xenproject.org; Tue, 19 Nov 2013 17:14:35 +0000 Content-Disposition: inline In-Reply-To: <528B9B49.3080902@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky , mattjd@gmail.com, Wei Liu List-Id: xen-devel@lists.xenproject.org On Tue, Nov 19, 2013 at 05:09:29PM +0000, David Vrabel wrote: > On 10/11/13 17:21, Wei Liu wrote: > > Originally Xen PV drivers only use single-page ring to pass along > > information. This might limit the throughput between frontend and > > backend. > > > > The patch extends Xenbus driver to support multi-page ring, which in > > general should improve throughput if ring is the bottleneck. Changes to > > various frontend / backend to adapt to the new interface are also > > included. > > > > Affected Xen drivers: > > * blkfront/back > > * netfront/back > > * pcifront/back > > * tpmfront > > > > The interface is documented, as before, in xenbus_client.c. > > It looks ok to me so I guess: > > Reviewed-by: David Vrabel > > But, I think this should wait until either: > > a) There's an in kernel user that uses multipage rings > The main point I picked this up is there seems to be people interested in this during Xen developer summit. None of the users is in tree though. > or > > b) You demonstrate multi page rings have been tested with some sort of > unit test. > Wait until I have time to develop multi page ring for network driver? But I'm not very keen on doing that as the improvement doesn't look very impressive (if there's any). Wei. > David