Bug 1540525 - set rx_queue_size and tx_queue_size in qemu.conf
Summary: set rx_queue_size and tx_queue_size in qemu.conf
Keywords:
Status: CLOSED DUPLICATE of bug 1553088
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: All
OS: Linux
high
high
Target Milestone: Upstream M1
: 14.0 (Rocky)
Assignee: yogananth subramanian
QA Contact: Yariv
URL:
Whiteboard:
Depends On: 1541960
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-31 10:02 UTC by yogananth subramanian
Modified: 2018-07-31 07:45 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1541960 (view as bug list)
Environment:
Last Closed: 2018-07-31 07:45:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1512941 1 None None None 2023-03-21 17:54:36 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.