Bug 1153440

Summary: [RFE][nova]: libvirt: virtio-net multiqueue
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: Vladik Romanovsky <vromanov>
Status: CLOSED ERRATA QA Contact: Gabriel Szasz <gszasz>
Severity: low Docs Contact:
Priority: high    
Version: unspecifiedCC: amedeo.salvati, berrange, brault, dasmith, eglynn, jschluet, jsuchane, kchamart, markmc, ndipanov, nyechiel, pablo.iranzo, sbauza, sclewis, sferdjao, sgordon, vromanso, yeylon
Target Milestone: gaKeywords: FutureFeature, TestOnly, ZStream
Target Release: 8.0 (Liberty)   
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: openstack-nova-12.0.0-2.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1291351 1291352 (view as bug list) Environment:
Last Closed: 2016-04-15 13:45:19 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:    
Bug Blocks: 1217232, 1252514, 1265219, 1284416, 1291351, 1291352    

Description RHOS Integration 2014-10-16 04:02:12 UTC
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

Comment 1 Stephen Gordon 2015-03-13 19:30:18 UTC
*** Bug 1144606 has been marked as a duplicate of this bug. ***

Comment 3 Vladik Romanovsky 2015-09-08 16:41:53 UTC
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 6 Stephen Gordon 2015-12-14 16:32:18 UTC
*** Bug 1284533 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2016-04-15 13:45:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0636.html