From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Naredula Janardhana Reddy <naredula.jana@gmail.com>,
Fam Zheng <famz@redhat.com>, Ming Lei <ming.lei@canonical.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] virtio-blk multiqueue support in qemu.
Date: Thu, 9 Jul 2015 16:29:30 +0300 [thread overview]
Message-ID: <20150709162723-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <20150709132248.GA12399@stefanha-thinkpad.redhat.com>
On Thu, Jul 09, 2015 at 02:22:48PM +0100, Stefan Hajnoczi wrote:
> On Wed, Jul 08, 2015 at 05:37:12PM +0300, Michael S. Tsirkin wrote:
> > On Thu, Jul 02, 2015 at 09:21:21AM +0800, Fam Zheng wrote:
> > > On Wed, 07/01 22:45, Naredula Janardhana Reddy wrote:
> > > > HI,
> > > > I am trying to improve the throughput of virtio-blk for my kernel (
> > > > https://github.com/naredula-jana/Jiny-Kernel ) to make use of the
> > > > multi-core using multi-queue. But I found the latest qemu does not support
> > > > multiqueue for virtio-blk, The feature flag does not return multi-queue
> > > > support. Do we have any patches to the qemu for enabling multi-queue for
> > > > virtio-blk similar to that of virtio-net. Can someone help some pointers
> > > > related to this..
> > >
> > > There was a series last year adding support for multi-queue but wan't merged to
> > > the code base:
> > >
> > > http://comments.gmane.org/gmane.comp.emulators.qemu/289126
> > >
> > > Fam
> >
> > Looks like it was mostly about the missing GPL license on some files.
> > Or did I miss some bigger issues?
>
> I reviewed the series again. The most important part:
>
> It was not a true multiqueue implementation - all the virtqueues are
> handled from a single thread in QEMU. The reason for this is that
> QEMU's block layer isn't threadsafe so a lot of work is necessary to
> support true multiqueue.
>
> Also, the performance numbers quoted cannot be attributed to multiqueue
> due to the number of additional changes the series made. In the
> meantime, some of these additional changes have been merged as separate
> series.
>
> On the positive side, we do need something similar to the last 3 patches
> to expose multiqueue to the guest. But it will require much more work
> in QEMU to achieve true multiqueue.
>
> Stefan
Might this be useful as an intermediate step, e.g. for testing
guest code?
--
MST
next prev parent reply other threads:[~2015-07-09 13:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-01 17:15 [Qemu-devel] virtio-blk multiqueue support in qemu Naredula Janardhana Reddy
2015-07-02 1:21 ` Fam Zheng
2015-07-08 14:37 ` Michael S. Tsirkin
2015-07-09 9:13 ` Stefan Hajnoczi
[not found] ` <20150709132248.GA12399@stefanha-thinkpad.redhat.com>
2015-07-09 13:29 ` Michael S. Tsirkin [this message]
2015-07-10 17:56 ` Naredula Janardhana Reddy
2015-07-13 10:04 ` Stefan Hajnoczi
2015-07-13 10:17 ` Paolo Bonzini
2015-07-13 11:21 ` Michael S. Tsirkin
2015-07-13 11:24 ` Paolo Bonzini
2015-07-13 11:41 ` Michael S. Tsirkin
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=20150709162723-mutt-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=famz@redhat.com \
--cc=ming.lei@canonical.com \
--cc=naredula.jana@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--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).