[ovs-dev] Need a probe_interval option for jsonrpc session to southbound ovsdb-server in ovn-controller

Andy Zhou azhou at ovn.org
Wed Feb 17 08:30:06 UTC 2016


On Tue, Feb 16, 2016 at 11:29 PM, Huang, Lei <lhuang8 at ebay.com> wrote:

> Hi Andy,
>
> I has configured ovn southbound ovsdb-server's inactivity_probe option to
> 0 by Open_vSwitch Manger table, and the ovsdb-server doesn’t set inactivity
> probe messages anymore.
>
> But I found ovn-contorller still send inactivity probe message to
> ovsdb-server, because ovn-controller gets ovsdb-server database remote by
> "external-ids:ovn-remote” and there are no options to set the remote’s
> probe_interval, it’s default to 5 seconds. After 500 ovn-controller
> startup, the southbound ovsdb-server’s cpu usage becomes high obviously, so
> I want to add a 'external-ids:ovn-remote-inactivity-probe’ option, is it
> viable? Do you have other suggestions?


 This sounds reasonable to me.

A more comprehensive approach may be to allow a reference into a new row in
the management table.
On the other hand, you can always hard code the value in ovn-controller if
all you want is to be able to measure CPU loads under various probe
interval.



More information about the dev mailing list