qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@canonical.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>, Fam Zheng <famz@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/3] linux-aio: introduce submit I/O at batch
Date: Tue,  1 Jul 2014 15:51:56 +0800	[thread overview]
Message-ID: <1404201119-6646-1-git-send-email-ming.lei@canonical.com> (raw)

Hi,

The commit 580b6b2aa2(dataplane: use the QEMU block layer for I/O)
introduces ~40% throughput regression on virtio-blk dataplane, and
one of causes is that submitting I/O at batch is removed.

This patchset trys to introduce this mechanism on block, at least,
linux-aio can benefit from that.

With these patches, it is observed that thoughout on virtio-blk
dataplane can be improved a lot, see data in commit log of patch
3/3.

It should be possible to apply the batch mechanism to other devices
(such as virtio-scsi) too.

V2:
	- define return value of bdrv_io_unplug as void, suggested by Paolo
	- avoid busy-wait for handling io_submit
V1:
	- move queuing io stuff into linux-aio.c as suggested by Paolo


Thanks,
--
Ming Lei

             reply	other threads:[~2014-07-01  7:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01  7:51 Ming Lei [this message]
2014-07-01  7:51 ` [Qemu-devel] [PATCH v2 1/3] block: block: introduce bdrv_io_plug() and bdrv_io_unplug() Ming Lei
2014-07-01 11:18   ` Kevin Wolf
2014-07-01 13:31     ` Ming Lei
2014-07-01 14:39       ` Ming Lei
2014-07-01 15:21         ` Kevin Wolf
2014-07-01 16:56           ` Paolo Bonzini
2014-07-02  0:46             ` Ming Lei
2014-07-02  2:35               ` Ming Lei
2014-07-02  8:18               ` Paolo Bonzini
2014-07-02  8:38                 ` Kevin Wolf
2014-07-02  8:49                   ` Paolo Bonzini
2014-07-02  8:39                 ` Ming Lei
2014-07-02  8:56                   ` Paolo Bonzini
2014-07-02  9:12                     ` Kevin Wolf
2014-07-02  9:29                       ` Ming Lei
2014-07-02  9:49                         ` Kevin Wolf
2014-07-02 10:02                           ` Ming Lei
2014-07-02 10:24                             ` Paolo Bonzini
2014-07-02 10:28                               ` Ming Lei
2014-07-02  9:26                     ` Ming Lei
2014-07-01  7:51 ` [Qemu-devel] [PATCH v2 2/3] linux-aio: implement io plug and unplug Ming Lei
2014-07-01  7:51 ` [Qemu-devel] [PATCH v2 3/3] dataplane: submit I/O at batch Ming Lei

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=1404201119-6646-1-git-send-email-ming.lei@canonical.com \
    --to=ming.lei@canonical.com \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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).