Re: Comments regarding draft-nishida-tsvwg-sctp-failover-03.txt
Preethi Natarajan <preethi.cis@gmail.com> Tue, 23 August 2011 23:45 UTC
Return-Path: <preethi.cis@gmail.com>
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 8FE6621F8BCB for <tsvwg@ietfa.amsl.com>; Tue, 23 Aug 2011 16:45:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_28=0.6, J_CHICKENPOX_48=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 eKsvV0BoSukE for <tsvwg@ietfa.amsl.com>; Tue, 23 Aug 2011 16:45:49 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id BFDF821F8B40 for <tsvwg@ietf.org>; Tue, 23 Aug 2011 16:45:49 -0700 (PDT)
Received: by yxj17 with SMTP id 17so600757yxj.31 for <tsvwg@ietf.org>; Tue, 23 Aug 2011 16:46:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=08ei5T5izG+8TzYnz2VaUsDsykAcIKPaSbuEpQufRTU=; b=hBQIhJ46CklcmHZIb9kCVHpItF6IxN7X/FRBZx+GxvQBmb3LJeSb4ecAyA513uLY7y 6yDZJCd/XgyJ+Jf5fCDk31NomYcmWskAVthd/o3X9yjdG5CNIvEKYeNQl5hckvxk+TWx UcWh9EpZkdYV6bzpjC9RljsSJKUrvQLeykZHs=
Received: by 10.100.246.35 with SMTP id t35mr4197253anh.11.1314143216257; Tue, 23 Aug 2011 16:46:56 -0700 (PDT)
Received: from [128.107.112.252] (dhcp-128-107-112-252.cisco.com [128.107.112.252]) by mx.google.com with ESMTPS id v6sm365924anq.2.2011.08.23.16.46.52 (version=SSLv3 cipher=OTHER); Tue, 23 Aug 2011 16:46:55 -0700 (PDT)
User-Agent: Microsoft-Entourage/12.30.0.110427
Date: Tue, 23 Aug 2011 16:46:49 -0700
Subject: Re: Comments regarding draft-nishida-tsvwg-sctp-failover-03.txt
From: Preethi Natarajan <preethi.cis@gmail.com>
To: Michael Tüxen <Michael.Tuexen@lurchi.franken.de>, tsvwg list <tsvwg@ietf.org>
Message-ID: <CA7989F9.1496D%preethi.cis@gmail.com>
Thread-Topic: Comments regarding draft-nishida-tsvwg-sctp-failover-03.txt
Thread-Index: Acxh7uzOEzD8eRgfGUmsUJsyt2Wk9g==
In-Reply-To: <D9D4D27D-0234-444C-801A-B4916F1D9A5A@lurchi.franken.de>
Mime-version: 1.0
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: Tue, 23 Aug 2011 23:45:50 -0000
Hi Michael, Thanks a lot for the comments/suggestions. Please find our response below. On 8/22/11 12:04 PM, "Michael Tüxen" <Michael.Tuexen@lurchi.franken.de> wrote: > Dear all, > > as promised at the last TSVWG session I would like to bring up > some comments regarding draft-nishida-tsvwg-sctp-failover-03.txt. > > Randy and myself implemented the ID during the last IETF, so > these comments are based on some implementation experience. > > Editorial comments: > > * I would suggest to have a section 4 which describes existing > stuff. Basically it should contain only what is now in section 4.1 > and 4.2. > * In another section I would describe the the suggested method. > This would cover section 4.3, 5.1 and 5.2. > > This would result in having the suggested method and its discussion > in one section. Agree. > > The rules given in 4.3 should be enumerated. Then one can easily refer > to them. OK. > > For the following comments, I will paste them for simpler reading > of this e-mail: > > o The sender maintains a new tunable parameter called Potentially- > failed.Max.Retrans (PFMR). An association's PFMR value MUST be > lower than the association's PMR value. The recommended value of > PFMR = 0. > > I think "MUST be lower" is not the appropriate formulation. What you > want to say is that if PFMR >= PMR, than quick failover is basically > switched off. This is a valid choice of parameters. > In FreeBSD, we have used this as the default (PFMR = 0xffff). > OK. > o The sender never transmits data to a PF destination. However, > when all destinations are in either PF or Inactive state, the > sender SHOULD transition a destination marked PF to the active > state and transmit data to this destination. The destination's > error counter MUST NOT be cleared during this state transition. > It is recommended that the sender transitions the PF destination > with least error count (fewest consecutive timeouts) to the active > state. In case of a tie (multiple PF destinations with same error > count), the sender MAY choose the last active destination. > > I would prefer to make a weaker formulation than "never transmits data > to a PF destination" and not take destinations out of PF. This is because > I would prefer doing it similar to the handling of the unreachable state > and there taking it out would result in sending up notifications. > So choose a formulation that you want to avoid sending to PF destinations, > but do it if no non PF and reachable destinations are available. Yes, agree that transition from PF to Active shouldn't result in notifications to the ULP. We are fine with a weaker formulation for the first sentence. However, it may be a good idea to decouple ULP notification and destination state transition. What do you think? How about the following to replace the first few sentences above -- "The sender SHOULD avoid data transmission to PF destinations. When all destinations are in either PF or Inactive state, the sender MAY move the destination from PF to active state (and transmit data to the active destination) or the sender MAY transmit data to a PF destination. > > o Only heartbeats MUST be sent to PF destination(s) once per RTO. > This means the sender SHOULD ignore HB.interval for PF > destinations. If an heartbeat is unanswered, the sender > increments the error counter and exponentially backs off the RTO > value. If error counter is less than PMR, the sender SHOULD > transmit another heartbeat immediately after T3-timer expiration. > An implementation MAY use protocol parameter 'PFHB.interval' for > the interval of heartbeat transmissions. If PFHB.interval is non- > zero, a heartbeat packet is sent once per RTO of each destination > address plus PFHB.interval with jittering of +/- 50% of the RTO > value. Use of PFHB.interval can reduce the frequency of failover, > which might be useful where the characteristic of the paths are > mostly equal. > > I'm not sure if it is worth to have a PFHB.interval. At least in FreeBSD > we just use 0... So maybe just get rid of it. We'll discuss and get back on this one. > > o When the sender receives an heartbeat ACK from a PF destination, > the sender clears the destination's error counter and transitions > the PF destination back to active state. This state transition > MUST NOT be notified to the ULP unless it is explicitly requested. > This destination's cwnd is set to 1 MTU (TODO: or 2? Needs more > text discussing rationale; can revisit later?) > > We don't have defined a notification. I don't see the value > of it. So maybe you want to get rid of it? OK. > > o When all destinations are in the Inactive state, the sender > transitions one of the destinations back to the Active state and > continues data transmission to this destination. This proposal > recommends that the sender transitions the Inactive destination > with least error count (fewest consecutive timeouts) to the active > state. In case of a tie (multiple Inactive destinations with same > error count), the sender MAY choose the last active destination. > > As said above: Moving one to the active state would require sending > up notifications. At least the FreeBSD stack does not move the > state to active, it just uses an unreachable (but confirmed) destination > address. OK. > > > I think it would also be good for the application to control the thresholds > involved. So I suggest to add a socket API section. Agree. We'll add text describing such a socket API as you suggested. Preethi
- Comments regarding draft-nishida-tsvwg-sctp-failo… Michael Tüxen
- Re: Comments regarding draft-nishida-tsvwg-sctp-f… Preethi Natarajan
- Re: Comments regarding draft-nishida-tsvwg-sctp-f… Yoshifumi Nishida
- Re: Comments regarding draft-nishida-tsvwg-sctp-f… Michael Tüxen
- Re: Comments regarding draft-nishida-tsvwg-sctp-f… Michael Tüxen
- Re: Comments regarding draft-nishida-tsvwg-sctp-f… Yoshifumi Nishida