From: Rick Jones <rick.jones2@hp.com>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: noboru.obata.ar@hitachi.com, David Miller <davem@davemloft.net>,
yoshfuji@linux-ipv6.org, netdev@vger.kernel.org
Subject: Re: [PATCH 2.6.22] TCP: Make TCP_RTO_MAX a variable (take 2)
Date: Thu, 12 Jul 2007 15:27:30 -0700 [thread overview]
Message-ID: <4696AAD2.9030405@hp.com> (raw)
In-Reply-To: <20070712150229.7a841c4d@freepuppy.rosehill.hemminger.net>
> So the problem is that RTO can grows to be twice the failover detection
> time. So back to the original mail, the scenario has a switch with failover
> detection of 20seconds. Worst case TCP RTO could grow to 40 seconds.
>
> Going back in archive to original mail:
>
>
>>Background
>>==========
>>
>>When designing a TCP/IP based network system on failover-capable
>>network devices, people want to set timeouts hierarchically in
>>three layers, network device layer, TCP layer, and application
>>layer (bottom-up order), such that:
>>
>>1. Network device layer detects a failure first and switch to a
>> backup device (say, in 20sec).
>>
>>2. TCP layer timeout & retransmission comes next, _hopefully_
>> before the application layer timeout.
>>
>>3. Application layer detects a network failure last (by, say,
>> 30sec timeout) and may trigger a system-level failover.
>
>
> Sounds like the solution is to make the switch failover detection faster.
> If you get switch failover down to 5sec then TCP RTO shouldn't be bigger
> than 10sec, and application will survive.
That may indeed be the best solution, we'll have to wait to hear if
there is any freedom there. When this sort of thing has crossed my path
in other contexts, the general answer is that the device failover time
is fixed, and the application layer time is similarly constrained by
end-user expectation/requirement. Often as not, layer 8 and 9 issues
tend to dominate and expect to trump (in this case layer 4 issues).
rick jones
next prev parent reply other threads:[~2007-07-12 22:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 7:15 [PATCH 2.6.22] TCP: Make TCP_RTO_MAX a variable (take 2) OBATA Noboru
2007-07-12 9:37 ` David Miller
2007-07-12 13:59 ` OBATA Noboru
2007-07-12 20:24 ` David Miller
2007-07-12 21:12 ` Stephen Hemminger
2007-07-12 21:27 ` Rick Jones
2007-07-12 22:02 ` Stephen Hemminger
2007-07-12 22:27 ` Rick Jones [this message]
2007-07-24 13:30 ` OBATA Noboru
2007-07-13 4:29 ` Ilpo Järvinen
2007-07-13 16:55 ` Rick Jones
2007-07-14 6:19 ` David Miller
2007-07-23 18:40 ` Rick Jones
[not found] ` <20070828.220447.01366772.noboru.obata.ar@hitachi.com>
[not found] ` <20070828.133057.107937654.davem@davemloft.net>
2007-08-29 12:26 ` OBATA Noboru
2007-08-29 16:16 ` Rick Jones
2007-08-30 12:24 ` OBATA Noboru
2007-08-29 18:15 ` David Miller
2007-07-12 20:51 ` Rick Jones
2007-07-24 13:35 ` OBATA Noboru
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=4696AAD2.9030405@hp.com \
--to=rick.jones2@hp.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=noboru.obata.ar@hitachi.com \
--cc=shemminger@linux-foundation.org \
--cc=yoshfuji@linux-ipv6.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;
as well as URLs for NNTP newsgroup(s).