xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xenproject.org,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	mattjd@gmail.com
Subject: Re: [PATCH v5] xenbus_client: extend interface to suppurt multi-page ring
Date: Tue, 19 Nov 2013 17:23:52 +0000	[thread overview]
Message-ID: <528B9EA8.4030400@citrix.com> (raw)
In-Reply-To: <20131119171431.GF13187@zion.uk.xensource.com>

On 19/11/13 17:14, Wei Liu wrote:
> 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 <david.vrabel@citrix.com>
>>
>> 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?

I said unit test.  A test driver that creates a multipage ring, maps it
and verifies that reads/writes to the two different mappings (i.e,
'front' and 'back') work as expected.  This shouldn't be a lot of work.

We can't take a new feature that hasn't been tested at all.

David

      reply	other threads:[~2013-11-19 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-10 17:21 [PATCH v5] xenbus_client: extend interface to suppurt multi-page ring Wei Liu
2013-11-19 16:51 ` Wei Liu
2013-11-19 17:09 ` David Vrabel
2013-11-19 17:14   ` Wei Liu
2013-11-19 17:23     ` David Vrabel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528B9EA8.4030400@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=mattjd@gmail.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).