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 1962818

Summary: northd: Prevent unnecessary creation of logical flows
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Mark Michelson <mmichels>
Component: OVNAssignee: Dumitru Ceara <dceara>
Status: CLOSED ERRATA QA Contact: Ehsan Elahi <eelahi>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: FDP 21.DCC: ctrautma, dceara, jiji, jishi, kfida, nusiddiq
Target Milestone: ---Flags: eelahi: needinfo+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn-2021-21.06.0-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-29 20:05:04 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: 1960042    

Description Mark Michelson 2021-05-20 16:13:23 UTC
Originally documented as item (2) by Dumitru Ceara at https://bugzilla.redhat.com/show_bug.cgi?id=1960042#c4

"ovn_lflow_add_at() always builds a logical flow record even though
this will be discarded if the logical flow is aggregated on a datapath
group.  We can instead try to delay the creation of new flow records
until really necessary.  This saves a decent amount of allocations and
memory copying.  An initial test shows that this change reduces the
loop iteration time further [from ~19s] to ~15s."

Comment 1 Dumitru Ceara 2021-06-01 13:35:10 UTC
Fix posted upstream for review:
http://patchwork.ozlabs.org/project/ovn/patch/20210601133250.29369-1-dceara@redhat.com/

Comment 2 Numan Siddique 2021-06-22 20:13:56 UTC
Patches merged u/s main branch

Comment 10 errata-xmlrpc 2021-07-29 20:05:04 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 (ovn bug fix and enhancement 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/RHBA-2021:2969