RE: I-D Action: draft-nishida-tsvwg-sctp-failover-04.txt

Yoshifumi Nishida <nishida@sfc.wide.ad.jp> Wed, 25 January 2012 10:08 UTC

Return-Path: <nishida@sfc.wide.ad.jp>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65AFC21F8615 for <tsvwg@ietfa.amsl.com>; Wed, 25 Jan 2012 02:08:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -98.848
X-Spam-Level:
X-Spam-Status: No, score=-98.848 tagged_above=-999 required=5 tests=[AWL=-0.374, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RELAY_IS_203=0.994, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 96tiMxhcHjRA for <tsvwg@ietfa.amsl.com>; Wed, 25 Jan 2012 02:08:57 -0800 (PST)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [203.178.142.130]) by ietfa.amsl.com (Postfix) with ESMTP id D2B0C21F8603 for <tsvwg@ietf.org>; Wed, 25 Jan 2012 02:08:56 -0800 (PST)
Received: from mail-lpp01m010-f44.google.com (mail-lpp01m010-f44.google.com [209.85.215.44]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id 2D6172780DD for <tsvwg@ietf.org>; Wed, 25 Jan 2012 19:08:51 +0900 (JST)
Received: by lahl5 with SMTP id l5so1080485lah.31 for <tsvwg@ietf.org>; Wed, 25 Jan 2012 02:08:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.128.163 with SMTP id np3mr4625449lab.51.1327486129023; Wed, 25 Jan 2012 02:08:49 -0800 (PST)
Received: by 10.112.84.10 with HTTP; Wed, 25 Jan 2012 02:08:48 -0800 (PST)
Date: Wed, 25 Jan 2012 02:08:48 -0800
Message-ID: <CAO249ycanxbN8Px6P-Xyn3drEtTfxCcse2L5JtY9w9a2A3Yqrw@mail.gmail.com>
Subject: RE: I-D Action: draft-nishida-tsvwg-sctp-failover-04.txt
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
To: Karen.Nielsen@tieto.com, tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jan 2012 10:08:58 -0000

Hi Karen,

Sorry for my very slow response. I've thought about this a bit more.
If you have comments or if I miss something, please let me know.

First, I would like to start from a scenario which PF increases error
count aggressively.
Let's assume we have an SCTP association consists of 2 paths and have
one outstanding packet. Now, I would like to think about the following
2 cases for this.

case 1: 1 path became unavailable and after for a while the 2nd path
became unavailable.
case 2: 2 paths became unavailable simultaneously

In case of case 1, if HB is on, SCTP detects an unavailable path and
mark them as inactive
eventually. consecutive error count is 0 until the 2nd path becomes unavailable.
Hence, PF and RFC4960 will have the same behavior in this case, so I
think we can exclude this.

Now, in case of case 1 without HB or case 2, I think RFC4960 behavior
will be like this:
   1: if t3-rtx expires doubled RTO for the destination address
   2: increase consecutive error count. if it exceeds AMR, terminate
the association
   3: choose one of paths (probably by round-robin) as new destination
of retransmission
   4: send a retransmit packet and start t3-rtx timer.

Even if the association goes into dormant state during this cycle, I
think the behavior will be
mostly similar.

In case of PF, the behavior will be something like this:
   1: if t3-rtx expires doubled RTO (data or HB) for the destination address
   2: increase consecutive error count. if it exceeds AMR, terminate
the association
   3: choose active path for new destination of retransmission. if
there is no active path,
       choose one of paths in PF state (probably by round-robin).
   4: send a retransmit packet and start t3-rtx timer.
   5: send a HB on the path where t3-rtx is not running and start t3-rtx.

So, the step 5 is the reason for the aggressiveness. In order to
address this issue, I think
we have the following 3 options.

Option 1:
   Don't increment consecutive error count when HB transmission is
timed out as you suggested.

Option 2:
   When we have to send data to the destination in PF state, don't
send HB to any PF destination.

Option 3:
   When there's multiple paths in PF state, send one HB at one time.

Here's my opinion on them.
I prefer not to do option 1 in PF. It seems to me that this should be
discussed for RFC4960
rather than PF. I would like to keep PF to be consistent with RFC4960
with regard to this.

So, I prefer option 2 or 3 although I don't have a strong opinion yet.
Or, we can adopt both option 2 and 3 if necessary.

Thanks,
--
Yoshifumi Nishida

2011/12/8  <Karen.Nielsen at tieto.com>:
> Hi,
>
> One additional comment to the draft.
> Not sure about whether it has been raised already though.
>
> The aggressive HBs sent on a potentially failed destination address should not contribute
> to the association overall error counter. I.e., a failed HB should not increment the associations error counter.
>
> At least that it how I firmly believe that things should be as the robustness of the
> association error count should not be impacted by the more aggressive HB probing
> (Also simply following the approach of RFC4960 Path Verification. 5.4 of RFC4960)
>
> Would it be possible to have this explicitly clarified in the draft ?
>
> Thanks.
> BR, Karen
>
> -----Original Message-----
> From: tsvwg-bounces at ietf.org [mailto:tsvwg-bounces at ietf.org] On Behalf Of Yoshifumi Nishida
> Sent: 16. september 2011 10:22
> To: tsvwg
> Subject: Re: I-D Action: draft-nishida-tsvwg-sctp-failover-04.txt
>
> Hi folks,
>
> Based on the michael's review, we have updated the sctp failover draft.
> We believe we addressed the comments we got so far.
>
> Please let us know if we overlook something or if you have more comments.
>
> Thanks,
> --
> Yoshifumi Nishida
> nishida at sfc.wide.ad.jp