Bug 1824458 - [RFE] [Tech Preview] ovs-dpdk auto load balance enablement
Summary: [RFE] [Tech Preview] ovs-dpdk auto load balance enablement
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openvswitch
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: Haresh Khandelwal
QA Contact: Christophe Fontaine
URL:
Whiteboard:
: 1875306 (view as bug list)
Depends On:
Blocks: 1880239
TreeView+ depends on / blocked
 
Reported: 2020-04-16 09:26 UTC by Christophe Fontaine
Modified: 2021-04-13 12:13 UTC (History)
13 users (show)

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]
Clone Of:
Environment:
Last Closed: 2021-04-13 12:13:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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