From: Andi Kleen <andi@firstfloor.org>
To: noboru.obata.ar@hitachi.com
Cc: <netdev@vger.kernel.org>
Subject: Re: [RFC] Failover-friendly TCP retransmission
Date: 04 Jun 2007 16:55:13 +0200 [thread overview]
Message-ID: <p738xazbwha.fsf@bingen.suse.de> (raw)
In-Reply-To: <XNM1$2$0$3$$2$8$4$A$2004314U46640bd2@hitachi.com>
noboru.obata.ar@hitachi.com writes:
> Please note first that I want to address physical failures by
> the failover-capable network devices, which are increasingly
> becoming important as Xen-based VM systems are getting popular.
> Reducing a single-point-of-failure (physical device) is vital on
> such VM systems.
Just you typically still have lots of other single points of failures in
a single system, some of them quite less reliable than your typical
NIC. But at least it gives impressive demos when pulling ethernet cables @)
> 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.
>
> It should be noted that the timeouts for #1 and #2 are handled
> independently and there is no relationship between them.
> If TCP retransmission misses the time frame between event #1 and
> #3 in Background above (between 20 and 30sec since network
> failure), a failure causes the system-level failover where the
> network-device-level failover should be enough.
You should probably make sure that the device ends up returning the
right NET_XMIT_* code for such drops to TCP, in particular
NET_XMIT_DROP. This might require slight driver interface
changes. Also right now it only affects the congestion window, I think,
it might be reasonable to let it affect the timer backoff too.
-Andi
next prev parent reply other threads:[~2007-06-04 13:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-04 12:55 [RFC] Failover-friendly TCP retransmission noboru.obata.ar
2007-06-04 14:55 ` Andi Kleen [this message]
2007-06-05 13:05 ` noboru.obata.ar
2007-06-05 19:23 ` Andi Kleen
2007-06-07 4:27 ` noboru.obata.ar
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=p738xazbwha.fsf@bingen.suse.de \
--to=andi@firstfloor.org \
--cc=netdev@vger.kernel.org \
--cc=noboru.obata.ar@hitachi.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).