[ovs-git] [openvswitch/ovs] 0815fd: ovn-controller: Provide the option to configure in...

numansiddique noreply at github.com
Fri Jul 5 17:35:39 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0815fdb274705334feb55bacc0fcd466ae0f3efe
      https://github.com/openvswitch/ovs/commit/0815fdb274705334feb55bacc0fcd466ae0f3efe
  Author: Numan Siddique <nusiddiq at redhat.com>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M ovn/controller/ofctrl.c
    M ovn/controller/ofctrl.h
    M ovn/controller/ovn-controller.8.xml
    M ovn/controller/ovn-controller.c

  Log Message:
  -----------
  ovn-controller: Provide the option to configure inactivity probe interval for OpenFlow conn

If the ovn-controller main loop takes more than 5 seconds (if there are lots of logical
flows) before it calls poll_block(), it causes the poll_block to wake up immediately,
since rconn module has to send echo request. With the incremental processing, this is
not an issue as ovn-controller will not recompute again. But for older versions, this
is an issue as it causes flow recomputations and this would result in 100% cpu all the
time.

With this patch, CMS can configure a higher value depending the workload.

The main intention of this patch is to fix this recompuation issue for older versions
(there by requesting backport), it still would be beneficial with the
incremental processing engine.

Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
Tested-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list