* Faster TCP keepalive
@ 2017-06-23 19:58 Stephen Suryaputra Lin
2017-06-26 15:40 ` David Laight
2017-06-26 19:21 ` Lance Richardson
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Suryaputra Lin @ 2017-06-23 19:58 UTC (permalink / raw)
To: netdev
Greetings,
I'm writing this to probe if there has been thoughts or efforts in
allowing sub-second TCP keep alive interval? One application is for TCP
connections between IP hosts connected by an internal backplane where a
faster detection is a necessity and the increased traffic can be
accommodated.
Suggestions on other ways to quickly tearing down TCP connections to a
rebooted host in the application above are welcomed.
Thank you,
Stephen.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Faster TCP keepalive
2017-06-23 19:58 Faster TCP keepalive Stephen Suryaputra Lin
@ 2017-06-26 15:40 ` David Laight
2017-06-26 19:21 ` Lance Richardson
1 sibling, 0 replies; 3+ messages in thread
From: David Laight @ 2017-06-26 15:40 UTC (permalink / raw)
To: 'Stephen Suryaputra Lin', netdev@vger.kernel.org
> From: Stephen Suryaputra Lin
> Sent: 23 June 2017 20:58
...
> Suggestions on other ways to quickly tearing down TCP connections to a
> rebooted host in the application above are welcomed.
Arrange to send an RST for each connection during shutdown.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Faster TCP keepalive
2017-06-23 19:58 Faster TCP keepalive Stephen Suryaputra Lin
2017-06-26 15:40 ` David Laight
@ 2017-06-26 19:21 ` Lance Richardson
1 sibling, 0 replies; 3+ messages in thread
From: Lance Richardson @ 2017-06-26 19:21 UTC (permalink / raw)
To: Stephen Suryaputra Lin; +Cc: netdev
> From: "Stephen Suryaputra Lin" <stephen.suryaputra.lin@gmail.com>
> To: netdev@vger.kernel.org
> Sent: Friday, 23 June, 2017 3:58:17 PM
> Subject: Faster TCP keepalive
>
> Greetings,
>
> I'm writing this to probe if there has been thoughts or efforts in
> allowing sub-second TCP keep alive interval? One application is for TCP
> connections between IP hosts connected by an internal backplane where a
> faster detection is a necessity and the increased traffic can be
> accommodated.
>
> Suggestions on other ways to quickly tearing down TCP connections to a
> rebooted host in the application above are welcomed.
>
For quickly tearing down TCP connections to a host that has been rebooted,
avoiding e.g. waiting for TCP max retransmit count to be reached), you
could use SOCK_DESTROY (as e.g. iproute2's "ss -K [ FILTER ]" does).
Regards,
Lance
> Thank you,
>
> Stephen.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-26 19:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23 19:58 Faster TCP keepalive Stephen Suryaputra Lin
2017-06-26 15:40 ` David Laight
2017-06-26 19:21 ` Lance Richardson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).