qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] is it possible to use a disk with multiple iothreads ?


From: Alexandre DERUMIER
Subject: Re: [Qemu-devel] is it possible to use a disk with multiple iothreads ?
Date: Fri, 24 Oct 2014 15:39:52 +0200 (CEST)

>>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.

Ok Thanks !


>>Regarding Ceph, do you know why it burns a lot of CPU?

I'm currently doing some perfs to find why is so huge.

One thing is that qemu+ qemu rbd block driver + librbd seem to use 2-3x more 
cpu, than passing krbd /dev/rbd0 from host to qemu.
Don't known yet if the problem is librbd or qemu rbd block driver.




----- Mail original -----

De: "Stefan Hajnoczi" <address@hidden>
À: "Alexandre DERUMIER" <address@hidden>
Cc: "qemu-devel" <address@hidden>, "josh durgin" <address@hidden>
Envoyé: Vendredi 24 Octobre 2014 11:04:06
Objet: Re: is it possible to use a disk with multiple iothreads ?

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]