All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Anthony Perard <anthony.perard@citrix.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Qemu-devel] [PATCH v2] xen_disk: add persistent grant support to xen_disk backend
Date: Wed, 9 Jan 2013 14:13:55 +0100	[thread overview]
Message-ID: <50ED6D13.7010504@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1301091240230.4981@kaball.uk.xensource.com>

On 09/01/13 13:48, Stefano Stabellini wrote:
> On Tue, 8 Jan 2013, Roger Pau Monne wrote:
>> This protocol extension reuses the same set of grant pages for all
>> transactions between the front/back drivers, avoiding expensive tlb
>> flushes, grant table lock contention and switches between userspace
>> and kernel space. The full description of the protocol can be found in
>> the public blkif.h header.
>>
>> http://xenbits.xen.org/gitweb/?p=xen.git;a=blob_plain;f=xen/include/public/io/blkif.h
>>
>> Speed improvement with 15 guests performing I/O is ~450%.
>>
>> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>> Cc: xen-devel@lists.xen.org
>> Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
>> Cc: Anthony PERARD <anthony.perard@citrix.com>
>> ---
>> Performance comparison with the previous implementation can be seen in
>> the followign graph:
>>
>> http://xenbits.xen.org/people/royger/persistent_read_qemu.png
>> ---
>> Changes since v1:
>>  * Fix coding style issues.
>>  * Add more comments regarding how ioreq_map works.
> 
> The patch looks good now, I only have a very small stylistic comment.
> 
> 
>> +    for (i = 0; i < ioreq->v.niov; i++) {
>> +        ioreq->v.iov[i].iov_base = page[i] +
>> +                                   (uintptr_t)ioreq->v.iov[i].iov_base;
> 
> ioreq->v.iov[i].iov_base += (uintptr_t)page[i] ?

True. Would you like to fix that yourself before committing, or do you
want me to resend?

Thanks for the review.

  reply	other threads:[~2013-01-09 13:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 15:50 [Qemu-devel] [PATCH v2] xen_disk: add persistent grant support to xen_disk backend Roger Pau Monne
2013-01-09 12:48 ` Stefano Stabellini
2013-01-09 12:48 ` [Qemu-devel] " Stefano Stabellini
2013-01-09 13:13   ` Roger Pau Monné [this message]
2013-01-09 14:05     ` Stefano Stabellini
2013-01-09 14:05     ` Stefano Stabellini
2013-01-09 13:13   ` Roger Pau Monné

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=50ED6D13.7010504@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.