Change in vdsm[master]: interface xml: allow Engine to specify number of queues

danken at redhat.com danken at redhat.com
Fri Mar 7 21:51:28 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: interface xml: allow Engine to specify number of queues
......................................................................


interface xml: allow Engine to specify number of queues

If a vNIC is used for in-host communication between VMs, its throughput
would gain if it is allocated with multiple queues, numbering as the
vCPUs of the VM. This comes with a price of pinning host memory for this
purpose. Cf. http://www.linux-kvm.org/page/Multiqueue.

This patch exposes the "queues" per-device custom property which can be
set in a vNIC profile in Engine. Enable it there with

    engine-config -s "CustomDeviceProperties={type=interface;prop={
        other-nic-properties;queues=[0-9]*}}"

Note that this property is currently supported only by libvirt >= 1.0.6.
Older versions silently ignores it.

Change-Id: I83e129e3c6900190f9b5d863d832745833fe2699
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/25390
Reviewed-by: Antoni Segura Puimedon <asegurap at redhat.com>
---
M tests/vmTests.py
M vdsm/vm.py
2 files changed, 9 insertions(+), 3 deletions(-)

Approvals:
  Antoni Segura Puimedon: Looks good to me, but someone else must approve
  Dan Kenigsberg: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/25390
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I83e129e3c6900190f9b5d863d832745833fe2699
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list