[ovs-dev] [PATCH ovn v2 0/2] ovn-controller: Auto trim memory when chache size is reduced significantly.

Dumitru Ceara dceara at redhat.com
Tue Jun 15 13:05:28 UTC 2021


This is the v2 revision of the patch originally posted at:
http://patchwork.ozlabs.org/project/ovn/patch/20210604100047.24979-1-dceara@redhat.com/

Changes in v2:
- Addressed Mark Gray's comments:
  - Made trim flow limit configurable.
  - Made trim high watermark percentage configurable.
  - Added more tests.
- Added a new patch, 1/2, to refactor the chassis code that populates
  other_config.  This is needed to avoid having lots and lots of
  parameters passed around between the chassis.c internal functions.

Dumitru Ceara (2):
      chassis: Refactor chassis other_config propagation.
      lflow-cache: Auto trim when cache size is reduced significantly.


 NEWS                            |    4 +
 controller/chassis.c            |  127 ++++++++++--------
 controller/lflow-cache.c        |  104 +++++++++++----
 controller/lflow-cache.h        |    3 
 controller/ovn-controller.8.xml |   17 ++
 controller/ovn-controller.c     |   14 ++
 controller/test-lflow-cache.c   |   61 +++++++--
 tests/ovn-lflow-cache.at        |  273 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 503 insertions(+), 100 deletions(-)



More information about the dev mailing list