Bug 2043128 - [OVN SCALE][ovn-northd] Incrementally process router related load balancer changes
Summary: [OVN SCALE][ovn-northd] Incrementally process router related load balancer ch...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: OVN
Version: FDP 21.K
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: OVN Team
QA Contact: Jianlin Shi
URL:
Whiteboard:
Depends On: 2043116 2043119
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-20 16:53 UTC by Dumitru Ceara
Modified: 2023-07-28 17:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-28 17:22:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Scale test NB database. (1.74 MB, application/gzip)
2022-01-20 16:53 UTC, Dumitru Ceara
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1729 0 None None None 2022-01-20 16:57:38 UTC

Description Dumitru Ceara 2022-01-20 16:53:05 UTC
Created attachment 1852243 [details]
Scale test NB database.

Description of problem:

In ovn-northd, the build_lrouter_lbs() and build_lrouter_lbs_reachable_ips() functions do a few things:
a. build the set of LB IPs and routable IPs for every logical router datapath the load balancer is applied to.
b. build the set of LB IPs that are reachable via at least one logical router port owned by a logical router datapath the load balancer is applied to.

For example, with the attached NB database (from a scale test run), build_lrouter_lbs() and build_lrouter_lbs_reachable_ips() together take ~800msec on the test machine, each and every time northd runs to process a change in the NB/SB.

We could extract this functionality in a separate I-P node with the following inputs:
- ovn_northd_lb (depending on bug 2043119)
- Datapaths (depending on bug 2043116)
- NB.Load_Balancer_Group

And computes set of load balancers attached to each router Datapath.

This node's data could serve as input to a flow-generation node, and would be used to generate all router load balancer related logical flows.

Comment 1 Mark Michelson 2023-07-28 17:22:49 UTC
I'm closing this because northd load balancer I-P is being taken care of in a separate issue (and will be merged soon into OVN).


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