[ovs-dev] [RFC 0/2] OVN: add rate limiting support for controller_events

Lorenzo Bianconi lorenzo.bianconi at redhat.com
Tue Jul 30 13:37:35 UTC 2019


Introduce the capability to associate a meter to each controller event
type in order to not overload the pinctrl thread under heavy load.
For each event type we need to define a naming convention for the related
meter:
- empty_lb_backends: event-elb

Lorenzo Bianconi (2):
  OVN: add meter support to trigger_event action
  OVN: northd: add rate limiting support for SB controller events

 include/ovn/actions.h   |  1 +
 ovn/lib/actions.c       | 42 +++++++++++++++++++++++++++++++++------
 ovn/northd/ovn-northd.c | 44 ++++++++++++++++++++++++++++++++---------
 ovn/ovn-nb.xml          |  8 ++++++++
 tests/ovn.at            |  1 +
 5 files changed, 81 insertions(+), 15 deletions(-)

-- 
2.21.0



More information about the dev mailing list