[ovs-dev] [PATCH] Use TCP keepalives, where available, for OpenFlow and OVSDB connections.
blp at nicira.com
Tue Apr 19 21:40:35 UTC 2011
On Tue, Apr 19, 2011 at 02:35:36PM -0700, Alex Yip wrote:
> Hi Ben, thanks for adding this. Do you think it would be useful to keep the
> TCP keepalive and the OFPT keepalive separate? I wonder if we'd ever want
> to use both at the same time since they serve different purposes, one for
> checking the TCP session, and the other for checking the state of the
> openflow application's responsiveness.
I thought about that but did not figure out when it would be useful.
If you have both, one of them has to be authoritative for the purpose
of deciding that the connection is dead. Right? Another way to put
it is, given the information available from both mechanisms at once,
how can OVS better decide whether to drop the connection? I don't
have a good answer yet, so I decided to keep it simple.
More information about the dev