Re: [tcpm] New Version Notification for draft-ietf-tcpm-rtorestart-03.txt

Per Hurtig <per.hurtig@kau.se> Mon, 13 October 2014 08:48 UTC

Return-Path: <prvs=036301971c=per.hurtig@kau.se>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C61A01A88E4 for <tcpm@ietfa.amsl.com>; Mon, 13 Oct 2014 01:48:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.951
X-Spam-Level:
X-Spam-Status: No, score=-1.951 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RgzeKgsK8JPw for <tcpm@ietfa.amsl.com>; Mon, 13 Oct 2014 01:48:21 -0700 (PDT)
Received: from nasse.dc.kau.se (smtp.kau.se [193.10.220.39]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D81D1A88E3 for <tcpm@ietf.org>; Mon, 13 Oct 2014 01:48:20 -0700 (PDT)
X-Spam-Processed: mail.kau.se, Mon, 13 Oct 2014 10:48:10 +0200 (not processed: spam filter heuristic analysis disabled)
X-Authenticated-Sender: perhurt@kau.se
X-MDRemoteIP: 130.243.25.206
X-Return-Path: per.hurtig@kau.se
X-Envelope-From: per.hurtig@kau.se
Date: Mon, 13 Oct 2014 10:48:02 +0200
From: Per Hurtig <per.hurtig@kau.se>
To: Pasi Sarolahti <pasi.sarolahti@iki.fi>
Message-ID: <20141013084802.GA5944@kau.se>
References: <20140704120244.14835.6363.idtracker@ietfa.amsl.com> <53B699B4.8000203@kau.se> <3678_1412785121_543563E1_3678_72_1_CAK6E8=d9JgqNkCoyrnMZ9W-V-hRWtE=YWqwsfzufq-JPAvShPA@mail.gmail.com> <CD5BCB4E-7C60-48DC-A9CE-1CAD0616D6F5@iki.fi> <CAK6E8=dbdEo5vwqTfxyGz+edM_CDA18=Z6+8vUaZYWFG+xshUQ@mail.gmail.com> <87CDBDF6-27E4-44DE-BE12-CAA2F4CC84F9@iki.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87CDBDF6-27E4-44DE-BE12-CAA2F4CC84F9@iki.fi>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/viXyopjEN2F1z5r2giDAmmJ7gWw
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Subject: Re: [tcpm] New Version Notification for draft-ietf-tcpm-rtorestart-03.txt
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Oct 2014 08:48:22 -0000

On Thu, Oct 09, 2014 at 09:49:13PM +0300, Pasi Sarolahti wrote:
>On 09 Oct 2014, at 20:32, Yuchung Cheng <ycheng@google.com> wrote:
>
>> On Thu, Oct 9, 2014 at 2:34 AM, Pasi Sarolahti <pasi.sarolahti@iki.fi> wrote:
>>> Hi,
>>>
>>> Thanks, Yuchung, for bringing this up. It reminds me of an old note I sent to the list quite a long while ago: I think it would be good if the algorithm was designed so that it cannot (even in theory) result in negative RTO values. The most straightforward way to fix this would be to include some kind of max(RTO - T_earliest, some_threshold) guard in the algorithm. It might not protect against spurious timeouts, but at least would keep the values in sensible range.
>>
>> This would work but it might reduce the benefit (and adding yet
>> another magic threshold). A negative value is a
>> strong signal that the first unacked packet is lost. The problem in my
>> case is the reaction is not appropriate (reset cwnd again) because we
>> have just make some forward progress.
>
>Right, magic numbers are not nice (but it could be 0, just to prevent negatives). Or then the draft should otherwise discuss handling of negative values, and make it clear if there might be such. Some implementations might define RTO as unsigned, in which case a negative value becomes very large value…
>
>- Pasi
>

Hi all,

I agree that we should formalize what to do if the timeout becomes
negative due to RTOR. In our current implementation we don't invoke RTOR
at all if the resulting value (RTO - T_earliest) is <= 0. That is, it
has to be a positive number.

I think this is a fair trade-off, and could be included in the coming
internet-draft. Do you think it's too conservative?


Cheers,
Per