netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lance Richardson <lrichard@redhat.com>
To: Stephen Suryaputra Lin <stephen.suryaputra.lin@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Faster TCP keepalive
Date: Mon, 26 Jun 2017 15:21:37 -0400 (EDT)	[thread overview]
Message-ID: <269605029.27220992.1498504897374.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20170623195817.GA13904@ssuryaputra-desktop>

> 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.
> 

      parent reply	other threads:[~2017-06-26 19:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=269605029.27220992.1498504897374.JavaMail.zimbra@redhat.com \
    --to=lrichard@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen.suryaputra.lin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).