[ovs-dev] [PATCH ovn repost 0/7] Reduce memory consumption and time for Load_Balancer benchmark

Ben Pfaff blp at ovn.org
Thu Aug 12 17:44:36 UTC 2021


Apologies for repost; I forgot to tag this as "ovn" in the first
posting.

For the benchmark at
https://mail.openvswitch.org/pipermail/ovs-dev/2021-July/385333.html,
this reduces memory consumption from 115 GB to 17 GB and elapsed time
from 19 minutes to 5 minutes.

I think there's headroom for more improvement, because Leonid has some
cleverness that I haven't been able to successfully work in yet.

This series is also available here:
https://github.com/blp/ovs-reviews/tree/ovn-memory-4

Ben Pfaff (7):
  ovn-northd-ddlog: Merge TaggedFlow and MeteredFlow into Flow.
  ovn-northd-ddlog: Use cheaper representation for stage_hint.
  ovn-northd-ddlog: Intern Stage.
  Intern all the matches and actions.
  ovn-northd-ddlog: Get rid of duplicate flows caused by stage_hint.
  ovn-northd-ddlog: Intern nb::Logical_Switch.
  ovn-northd-ddlog: Postpone expanding external_ids, stage_hint, tags.

 northd/ipam.dl       |    2 +-
 northd/lswitch.dl    |   36 +-
 northd/multicast.dl  |    2 +-
 northd/ovn-nb.dlopts |    1 +
 northd/ovn_northd.dl | 3459 +++++++++++++++++++++++-------------------
 5 files changed, 1949 insertions(+), 1551 deletions(-)

-- 
2.31.1



More information about the dev mailing list