From: Stefan Hajnoczi <stefanha@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>
Cc: josh.durgin@inktank.com, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] is it possible to use a disk with multiple iothreads ?
Date: Fri, 24 Oct 2014 10:04:06 +0100 [thread overview]
Message-ID: <20141024090406.GA32480@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <e85b8138-9009-4829-860e-ea662d267ae0@mailpro>
[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]
On Thu, Oct 23, 2014 at 08:26:17PM +0200, Alexandre DERUMIER wrote:
> I was reading this interesting presentation,
>
> http://vmsplice.net/~stefan/stefanha-kvm-forum-2014.pdf
>
> and I have a specific question.
>
>
> I'm currently evaluate ceph/rbd storage performance through qemu,
>
> and the current bottleneck seem to be the cpu usage of the iothread.
> (rbd procotol cpu usage is really huge).
>
> Currently It's around 10000iops on 1core of recent xeons.
>
>
>
> So, I had tried with virtio-scsi multiqueue, but it doesn't help. (Not sure, but I think that all queues are mapped on 1 iothread ?)
>
> I had tried with with virtio-blk and iothread/dataplane, it's help a little , but not too much too.
>
> So, my question is : Is it possible to use multiple iothreads with 1 disk ?
>
> (something like 1 queue - 1 iothread?)
virtio-blk and virtio-scsi emulation only runs in 1 thread at a time.
It is currently not possible to achieve true multiqueue from guest,
through QEMU, and down to the host.
This is what the final slides in my presentation were about.
Regarding Ceph, do you know why it burns a lot of CPU?
CCed Josh in case he has ideas for reducing Ceph library CPU
utilization.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-10-24 9:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <391d6bb1-e0ad-49ea-afdc-fff462081f24@mailpro>
2014-10-23 18:26 ` [Qemu-devel] is it possible to use a disk with multiple iothreads ? Alexandre DERUMIER
2014-10-24 9:04 ` Stefan Hajnoczi [this message]
2014-10-24 13:39 ` Alexandre DERUMIER
2014-10-27 13:19 ` Stefan Hajnoczi
2014-10-27 14:13 ` Alexandre DERUMIER
2014-10-27 14:47 ` Paolo Bonzini
2014-10-27 16:42 ` Alexandre DERUMIER
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=20141024090406.GA32480@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=aderumier@odiso.com \
--cc=josh.durgin@inktank.com \
--cc=qemu-devel@nongnu.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).