[ovs-dev] [PATCH ovn 0/6] ovn-controller: Make lflow cache size configurable.
Dumitru Ceara
dceara at redhat.com
Thu Jan 28 16:25:16 UTC 2021
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
More information about the dev
mailing list