[ovs-dev] [PATCH v2 ovn 0/3] Optimize load balancer IP config parsing.

Dumitru Ceara dceara at redhat.com
Thu Jun 10 12:47:17 UTC 2021


This is a new version of the single-patch v1 previously posted at:
http://patchwork.ozlabs.org/project/ovn/patch/20210601170320.30490-1-dceara@redhat.com/

V2:
- Turned this into a series.
- Added patch 1/3 that removes some unused fields in ovn-northd load
  balancer structures, saving a tiny amount of CPU.
- Added patch 2/3 that consolidates load balancer healthcheck/svc
  config parsing, allowing further optimization in 3/3.
- Patch 3/3 is the original v1 patch with the added part that now we
  parse load balancer IP sets only once, per load balancer, instead of
  once for each datapath + load_balancer.  This improves processing
  times by an additional ~5%.

Dumitru Ceara (3):
      lb: Remove hairpin_snat_ips from northd load balancers.
      northd: Consolidate load balancer healthcheck/svc code.
      northd: Precompute load balancer IP sets.

 lib/lb.c            |   49 ++------
 lib/lb.h            |   12 +-
 northd/ovn-northd.c |  316 +++++++++++++++++++++++++++------------------------
 3 files changed, 181 insertions(+), 196 deletions(-)



More information about the dev mailing list