Scale tests have identified the lflow cache to be one of the main memory
consumers in ovn-controller.  This series refactors the lflow cache code
and adds configuration knobs to limit the size (in lines and/or memory)
of the cache.

Dumitru Ceara (6):
      lflow: Refactor convert_match_to_expr() to explicitly consume prereqs.
      lflow-cache: Move the lflow cache to its own module.
      lflow-cache: Add coverage counters.
      lflow-cache: Reclaim heap memory after cache flush.
      lflow-cache: Make maximum number of cache entries configurable.
      lflow-cache: Make max cache memory usage configurable.


 NEWS                            |    5 +
 configure.ac                    |    1 
 controller/automake.mk          |    2 
 controller/chassis.c            |   44 +++++
 controller/lflow-cache.c        |  282 ++++++++++++++++++++++++++++++++
 controller/lflow-cache.h        |   81 +++++++++
 controller/lflow.c              |  349 +++++++++++++--------------------------
 controller/lflow.h              |    6 -
 controller/ovn-controller.8.xml |   23 +++
 controller/ovn-controller.c     |   65 ++++---
 include/ovn/expr.h              |    2 
 lib/expr.c                      |   46 +++++
 12 files changed, 635 insertions(+), 271 deletions(-)
 create mode 100644 controller/lflow-cache.c
 create mode 100644 controller/lflow-cache.h

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to