Bug 1824458

Summary: [RFE] [Tech Preview] ovs-dpdk auto load balance enablement
Product: Red Hat OpenStack Reporter: Christophe Fontaine <cfontain>
Component: openvswitchAssignee: Haresh Khandelwal <hakhande>
Status: CLOSED CURRENTRELEASE QA Contact: Christophe Fontaine <cfontain>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: bperkins, broose, cfields, fbaudin, gregraka, hakhande, jamsmith, jpalanis, kfida, marjones, rhos-maint, spower, tredaelli
Target Milestone: z2Keywords: FutureFeature, RFE, TechPreview, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Note: this doc text was removed from 16.1.2 release notes because it's not supported yet. CFields In Red Hat OpenStack Platform 16.1.2, a technology preview is available for Open Virtual Switch - Data Plane Development Kit (OVS-DPDK) automatic load balancing. DPDK reassigns the queues on non-isolated poll mode drivers (PMDs) based on their load and queue usage. Automatic queue rebalancing is triggered when: + * cycle-based assignment of RX queues is enabled. * `pmd-auto-lb` is `true`. * two or more non-isolated PMDs are present. * more than one queue is polling for at least one non-isolated PMD. * load for aggregated PMDs exceeds 95 percent for one minute. + For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/network_functions_virtualization_planning_and_configuration_guide/index#proc_ovsdpdk-multiqueu[Setting multiqueue for OVS-DPDK interfaces ] in the link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/network_functions_virtualization_planning_and_configuration_guide/index[Network Functions Virtualization Planning and Configuration Guide]
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-13 12:13:12 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:    
Bug Blocks: 1880239    

Description Christophe Fontaine 2020-04-16 09:26:13 UTC
With several ports or after enabling multiqueue, we need to assign efficiently the queues to the PMD threads.

This can be done manually for well known VNFs and traffic, but an automatic assignation (rebalance) can also be triggered by openvswitch.

This is done with the following command:

# ovs-vsctl set open_vswitch . other_config:pmd-auto-lb="true"

The rebalance interval shall be set with: (defaults to 1min)
ovs-vsctl set open_vswitch . other_config:pmd-auto-lb-rebal-interval="<interval>"

Comment 4 Timothy Redaelli 2020-09-08 09:36:33 UTC
The commit that adds that feature in OVS is included since v2.11.0.
Assigning to OSP

Comment 5 Karrar Fida 2020-09-10 18:06:56 UTC
*** Bug 1875306 has been marked as a duplicate of this bug. ***