Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1540525

Summary: set rx_queue_size and tx_queue_size in qemu.conf
Product: Red Hat OpenStack Reporter: yogananth subramanian <ysubrama>
Component: openstack-tripleo-heat-templatesAssignee: yogananth subramanian <ysubrama>
Status: CLOSED DUPLICATE QA Contact: Yariv <yrachman>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: atelang, cfontain, fbaudin, jdenemar, ksundara, mburns, mprivozn, rhel-osp-director-maint, skramaja, stephenfin, supadhya, vchundur, ysubrama
Target Milestone: Upstream M1Keywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1541960 (view as bug list) Environment:
Last Closed: 2018-07-31 07:45:23 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: 1541960    
Bug Blocks:    

Description yogananth subramanian 2018-01-31 10:02:13 UTC
Description of problem:
Request for adding deployment option to director to set rx_queue_size and  tx_queue_size in /etc/libvirt/qemu.conf

The current libvirt patch, proposed by Michal Privoznik https://www.redhat.com/archives/libvir-list/2018-January/msg00608.html , enables setting rx_queue_size and tx_queue_size in /etc/libvirt/qemu.conf,  which would enable libvirt to set <driver rx/tx_queue_size=''/> in VM/Instance xml, if rx/tx_queue_size is not explicitly defined in VM/Instance xml.

In case rx_queue_size or tx_queue_size is not explicitly set in  /etc/libvirt/qemu.conf  or qemu-kvm not supporting queue size (for example tx_queue_size in case of older qemu) and <driver rx/tx_queue_size=''/> not set in VM xml, which would be the case for openstack, rx/tx_queue_size would be set to the default value of 256 set by qemu.This bug would resolve setting rx_queue_size and tx_queue_size on per-host basis.

Once libvirt patch is part of a release, will open a separate bug for OSP10, to track back-porting of this feature and libvirt to OSP10.

upstream Libvirt patch:
https://www.redhat.com/archives/libvir-list/2018-January/msg00608.html

Comment 2 Saravanan KR 2018-01-31 10:24:28 UTC
https://github.com/openstack/puppet-nova/blob/master/manifests/compute/libvirt/qemu.pp#L23

This puppet class takes care of updating the qemu.conf values.

Comment 4 Jiri Denemark 2018-02-13 14:54:02 UTC
After a discussion both downstream and upstream, the libvirt patch mentioned in this bug description was reverted.

Comment 8 yogananth subramanian 2018-07-23 12:53:50 UTC
Hello Christophe Fontaine , yes this bug can be closed.

Comment 9 Christophe Fontaine 2018-07-31 07:45:23 UTC

*** This bug has been marked as a duplicate of bug 1553088 ***