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

2021-08-12 Thread Ben Pfaff
On Thu, Aug 12, 2021 at 08:53:51AM -0700, Ben Pfaff wrote:
> 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.

I should add that this series is also available here:
https://github.com/blp/ovs-reviews/tree/ovn-memory-4
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


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

2021-08-12 Thread Ben Pfaff
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