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. 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 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev