Bug 1547969

Summary: [RFE] libvirt: add support for virtio-net rx/tx queue sizes
Product: Red Hat OpenStack Reporter: Madhur Gupta <madgupta>
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED DUPLICATE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: berrange, cfields, dasmith, eglynn, kchamart, madgupta, sbauza, sgordon, srevivo, stephenfin, vromanso
Target Milestone: zstreamKeywords: FutureFeature, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-17 17:51:11 UTC Type: Bug
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: 1512941, 1570939, 1570941, 1570945, 1570949, 1624334, 1625180    
Bug Blocks: 1660926    

Description Madhur Gupta 2018-02-22 12:38:34 UTC
RFE to add support for below in OpenStack:

Add support for configuring the `rx_queue_size` and `tx_queue_size` options in the virtio-net driver by way of flavor extra specs.

Blueprint of OpenStack Nova for this RFE:
https://blueprints.launchpad.net/nova/+spec/libvirt-virtio-set-queue-sizes

Comment 2 Sahid Ferdjaoui 2018-02-22 14:54:19 UTC
I think it's duplicate of bug 1512941, no?

Comment 3 Madhur Gupta 2018-02-22 15:05:24 UTC
Hey thanks for pointing out. I went through the description of bug 1512941.

Yes I had the same intention when I opened this RFE for customer, is to be able to tune these parameters(RX/TX queue size) through OpenStack as well.

Comment 5 Sahid Ferdjaoui 2018-02-23 16:18:33 UTC
Ok so let's consider it open since it's to address a different version. We can still reconsider whether we could backport the feature for OSP10 when merged on master.

Comment 6 Chris Fields 2018-10-31 14:23:33 UTC
I read through bz 1512941. I can't tell if the intention is still to make 
 `rx_queue_size` and `tx_queue_size` options in the virtio-net driver configurable in the OSP flavor?  I'm workinkg with GSS engineers who have a customer asking about this for OSP 10.  

Thanks

Chris Fields
GSS

Comment 9 Stephen Finucane 2018-12-17 17:52:25 UTC
(In reply to Chris Fields from comment #6)
> I read through bz 1512941. I can't tell if the intention is still to make 
>  `rx_queue_size` and `tx_queue_size` options in the virtio-net driver
> configurable in the OSP flavor?  I'm workinkg with GSS engineers who have a
> customer asking about this for OSP 10.  
> 
> Thanks
> 
> Chris Fields
> GSS

Sorry for the delay. This got lost in Bugzilla noise. I'm not sure if you got your answer to this already, but tl;dr: this has been implemented via a nova.conf option. As such, it is not configurable via the flavour.