Authors:

Feature pages are design documents that developers have created while collaborating on oVirt.

Most of them are outdated, but provide historical design context.

They are not user documentation and should not be treated as such.

Documentation is available here.

IOThreads Support

Support IO Threads

Summary

Allow to configure the qemu’s IO Threads from oVirt. IO Thread is a new feature of qemu - it is a separate thread outside of qemu’s global mutex to which the block devices can be pinned to significantly enhancing the VM’s performance.

Owner

Current status

  • Target Release: 3.6
  • Status: done

Detailed Description

A new checkbox has been added to new/edit VM/pool/template/instance type widget into the “resource allocation” tab. If checked, the IO Threads is enabled and by default one qemu IO Thread will be created. The user may choose to create more than one IO Thread. It is supported only in cluster level 3.6+. The IO Threads are part of instance types and are “marked” - e.g. if the VM is based on a specific instance type, this field can not be changed.

In case the IO Threads are enabled, all the disks which have VirtIO interface will be pinned to an IO thread using a round robin algorithm, e.g. for 4 disks and 2 threads it will be:

disk 1 -> iothread 1
disk 2 -> iothread 2
disk 3 -> iothread 1
disk 4 -> iothread 2

External Sources