Bug 1291351

Summary: [7.0.z][RFE][nova]: libvirt: virtio-net multiqueue
Product: Red Hat OpenStack Reporter: Stephen Gordon <sgordon>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED WONTFIX QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: amedeo.salvati, berrange, brault, dasmith, eglynn, gszasz, jschluet, jsuchane, kchamart, markmc, marko.lindholm, nyechiel, pablo.iranzo, rhos-integ, sbauza, sferdjao, sgordon, srevivo, vromanov, vromanso
Target Milestone: z5Keywords: FutureFeature, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/libvirt-virtio-net-multiqueue
Whiteboard: upstream_milestone_liberty-3 upstream_definition_approved upstream_status_implemented
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1153440 Environment:
Last Closed: 2016-09-16 17:28:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1153440, 1291352    
Bug Blocks: 1217232, 1252514, 1258485, 1265219, 1284416    

Description Stephen Gordon 2015-12-14 16:34:19 UTC
+++ This bug was initially created as a clone of Bug #1153440 +++

Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/libvirt-virtio-net-multiqueue.

Description:

Add supoort to enable the virtio-net multiqueue feature for guest
    instances.
    
    With virtio-net multiqueue enabled network performance can be scaled
    accross number of vCPUs, by transfering the packets through multiple virtqueue
    pairs at a time.
    
    Libvirt driver will set the number of queues equal to the number of guest VCPUs
    
    To control this feature, the following should be set in the flavour extra specs:
    
    hw:vif_multiqueue_enabled=true|disabled
    
    This setting can be overriden by the image metadata property if the feature
    is enabled in the extra specs:
    
    hw_vif_mutliqueue_enabled=true|false


Specification URL (additional information):

None

--- Additional comment from Vladik Romanovsky on 2015-09-08 12:41:53 EDT ---

The steps to enable the functionality differs from the original proposal.

Currently, the feature can only be enable or disabled for all vNICs of an instance.

A new parameter has been added to the image properties, for the users
to control the virtio-net multiqueue feature, to be able to enable or disable it.

    hw_vif_multiqueue_enabled=true|false  (default false)

The number of queues will match the number of vCPUs, defined for the instance.	

NOTE: Virtio-net multiqueue should be enabled in the guest OS manually, using	ethtool. For example:

    ethtool -L <NIC> combined #num_of_queues

Comment 4 Stephen Gordon 2016-09-05 19:56:25 UTC
*** Bug 1311155 has been marked as a duplicate of this bug. ***

Comment 5 Bertrand 2016-09-16 17:28:14 UTC
Hello,
This was discussed with Nokia on 09/16/2016. 
NOKIA agreed on closing this as "CLOSED" "WONTFIX".
Nokia has implemented their own solution.

The following was also shared with them:
[1]  https://rhn.redhat.com/errata/RHBA-2016-0636.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1153440

Sincerely,

Bertrand