public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: "H.K. Jerry Chu" <hkchu@google.com>
Cc: ilpo.jarvinen@helsinki.fi, davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCH] TCP_FAILFAST: a new socket option to timeout/abort a connection quicker
Date: Tue, 24 Aug 2010 08:44:22 +0200	[thread overview]
Message-ID: <1282632262.2378.1681.camel@edumazet-laptop> (raw)
In-Reply-To: <1282630819-23104-1-git-send-email-hkchu@google.com>

Le lundi 23 août 2010 à 23:20 -0700, H.K. Jerry Chu a écrit :
> From: Jerry Chu <hkchu@google.com>
> 
> This is a TCP level socket option that takes an unsigned int to specify
> how long in ms TCP should resend a lost data packet before giving up
> and returning ETIMEDOUT. The normal TCP retry/abort timeout limit still
> applies. In other words this option is only meant for those applications
> that need to "fail faster" than the default TCP timeout. The latter
> may take upto 20 minutes in a normal WAN environment.
> 
> The option is disabled (by default) when set to 0. Also it does not
> apply during the connection establishment phase.
> 
> Signed-off-by: H.K. Jerry Chu <hkchu@google.com>

TCP_FAILFAST might be misleading. It reads as a boolean option, while
its an option to cap the timeout, with a time unit, instead of the usual
"number of retransmits".

Its also funny you dont ask for a default value, given by a sysctl
tunable ;)




  reply	other threads:[~2010-08-24  6:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24  6:20 [PATCH] TCP_FAILFAST: a new socket option to timeout/abort a connection quicker H.K. Jerry Chu
2010-08-24  6:44 ` Eric Dumazet [this message]
2010-08-24  8:04   ` Arnd Hannemann
2010-08-24  9:10     ` Hagen Paul Pfeifer
2010-08-24 14:58       ` Arnd Hannemann
2010-08-24 16:28         ` Hagen Paul Pfeifer
2010-08-24 22:13           ` Jerry Chu
2010-08-25  8:21             ` Hagen Paul Pfeifer
2010-08-25 20:20               ` Jerry Chu
2010-08-25 22:59                 ` Hagen Paul Pfeifer
2010-08-26  1:49                   ` Jerry Chu
2010-08-26  6:01                     ` Lars Eggert
2010-08-26  7:12                       ` Arnd Hannemann
2010-08-26  7:42                         ` Hagen Paul Pfeifer
2010-08-26  7:27                       ` Hagen Paul Pfeifer
2010-08-24 21:56     ` Jerry Chu
2010-08-24 20:47   ` Jerry Chu

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=1282632262.2378.1681.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=hkchu@google.com \
    --cc=ilpo.jarvinen@helsinki.fi \
    --cc=netdev@vger.kernel.org \
    /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