[libvirt] [PATCH 3/4] domain_conf: Add support for iothreads in disk definition

Martin Kletzander mkletzan at redhat.com
Thu Aug 28 09:13:01 UTC 2014


On Wed, Aug 27, 2014 at 05:21:39PM +0100, Stefan Hajnoczi wrote:
>On Tue, Aug 26, 2014 at 1:38 AM, John Ferlan <jferlan at redhat.com> wrote:
>> +            value. Each device must use a unique IOThread and threads will
>> +            be numbered from 1 to the domain iothreads value.
>
>It is reasonable for multiple devices to share the same IOThread.
>
>For example, if you define just 1 IOThread and bind all virtio-blk
>devices to it you have a similar setup as the QEMU (no IOThreads) with
>the big exception that the QEMU global mutex is not needed for
>virtio-blk I/O request processing.  This can already result in a
>performance improvement and may make sense where there are many disks
>but few host CPUs.
>

This makes sense.  And it's good that John was strict about this
because we will have no problem to relax the checking.  One question,
though.  Is it also OK to hotplug a disk that is about to share the
iothread with some other, aleady plugged, disk?  I assume it is.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140828/9274b53d/attachment-0001.sig>


More information about the libvir-list mailing list