kvm: Set amount of queues for Virtio SCSI driver to vCPU of Instance#3101
kvm: Set amount of queues for Virtio SCSI driver to vCPU of Instance#3101GabrielBrascher merged 1 commit intoapache:masterfrom
Conversation
The additional queues can enhance the performance of the VirtIO SCSI disk and it is recommended to set this to the amount of vCPUs a Instance is assigned. The optional queues attribute specifies the number of queues for the controller. For best performance, it's recommended to specify a value matching the number of vCPUs. Since 1.0.5 (QEMU and KVM only) Source: https://libvirt.org/formatdomain.html#elementsVirtio Signed-off-by: Wido den Hollander <wido@widodh.nl>
|
good |
|
lgtm |
|
@blueorangutan package |
|
@GabrielBrascher a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2503 |
|
@wido Travis failures are false positives. Apart from that, all checks and the packaging are good. |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2504 |
|
@blueorangutan test |
|
@anuragaw a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
anuragaw
left a comment
There was a problem hiding this comment.
Curious question - does this put constraints on the version of libvirtd supported going forward or the optional parameter will be ignored by older versions.
|
@anuragaw The queues feature was introduced into libvirt back in 2013, so it's been available for a while. We introduced the virtio-scsi feature set about a year ago and this PR from Wido adds a nice additional feature to that. https://www.redhat.com/archives/libvir-list/2013-April/msg00021.html |
|
Thanks for the clarification @kiwiflyer ! |
|
Trillian test result (tid-3274)
|
|
Trillian test results seem fine. |
|
Merging this based on Trillian test results, manual tests, and that we have 4 LGTMs. |
Description
The additional queues can enhance the performance of the VirtIO SCSI disk
and it is recommended to set this to the amount of vCPUs a Instance is assigned.
The optional queues attribute specifies the number of queues for the
controller. For best performance, it's recommended to specify a value matching
the number of vCPUs. Since 1.0.5 (QEMU and KVM only)
Source: https://libvirt.org/formatdomain.html#elementsVirtio
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Tested on local Cloud and Unit Tests have been extended.