Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1920121

Summary: [RFE] Add auto load balance params
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Kevin Traynor <ktraynor>
Component: openvswitch2.13Assignee: Kevin Traynor <ktraynor>
Status: CLOSED ERRATA QA Contact: Jiying Qiu <jiqiu>
Severity: unspecified Docs Contact:
Priority: high    
Version: FDP 20.BCC: bperkins, ctrautma, fiezzi, hewang, jhsiao, kfida, ralongi, tredaelli
Target Milestone: ---Keywords: RFE
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.13-2.13.0-79.3.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-11 14:52:14 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:

Comment 6 Jiying Qiu 2021-02-07 07:36:40 UTC
verified with openvswitch2.13-2.13.0-79.5.el8fdp.x86_64.rpm .

Beaker job :
https://beaker.engineering.redhat.com/jobs/5075734  pmd_auto_lb_single_rxq_test & pmd_auto_lb_multi_rxq_test

the log shows:
2021-02-07T05:58:40.619Z|00078|dpif_netdev|INFO|PMD auto load balance is enabled interval 1 mins, pmd load threshold 50%, improvement threshold 20%


before rebalance :
# ovs-appctl dpif-netdev/pmd-rxq-show
pmd thread numa_id 0 core_id 10:
  isolated : false
  port: dpdk0             queue-id:  0 (enabled)   pmd usage: 58 %
  port: dpdkvhostuser1    queue-id:  0 (enabled)   pmd usage: 39 %
pmd thread numa_id 0 core_id 38:
  isolated : false
  port: dpdk1             queue-id:  0 (enabled)   pmd usage:  0 %
  port: dpdkvhostuser0    queue-id:  0 (enabled)   pmd usage:  0 %

after rebalance : 
# ovs-appctl dpif-netdev/pmd-rxq-show
pmd thread numa_id 0 core_id 10:
  isolated : false
  port: dpdk1             queue-id:  0 (enabled)   pmd usage:  0 %
  port: dpdkvhostuser1    queue-id:  0 (enabled)   pmd usage: 80 %
pmd thread numa_id 0 core_id 38:
  isolated : false
  port: dpdk0             queue-id:  0 (enabled)   pmd usage: 85 %
  port: dpdkvhostuser0    queue-id:  0 (enabled)   pmd usage:  0 %

Comment 8 errata-xmlrpc 2021-02-11 14:52:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: openvswitch2.13 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:0497