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

Yuchung Cheng <ycheng@google.com> Wed, 08 October 2014 16:18 UTC

Return-Path: <ycheng@google.com>
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 E00EC1A88A9 for <tcpm@ietfa.amsl.com>; Wed, 8 Oct 2014 09:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.165
X-Spam-Level:
X-Spam-Status: No, score=-2.165 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RP_MATCHES_RCVD=-0.786, SPF_PASS=-0.001] 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 WJgEkxXLfmZT for <tcpm@ietfa.amsl.com>; Wed, 8 Oct 2014 09:18:24 -0700 (PDT)
Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB91E1A885F for <tcpm@ietf.org>; Wed, 8 Oct 2014 09:18:21 -0700 (PDT)
Received: by mail-ig0-f170.google.com with SMTP id hn15so353241igb.1 for <tcpm@ietf.org>; Wed, 08 Oct 2014 09:18:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hm6f96tcWI/04d5/JQ1pqOa40uDdpbmZJnTD7wP10Mo=; b=QRWOYKP293dS5LfzyrIISpdEgiQRCU2b42jXmJ7ugof4tpGqur8apElp4uV9YXyWh3 grxMf9lOPCvU+xs+85gw6gVHllhb+DbvhpA9T+XW+zaE8M3c2VP2wpMeECk0NhoJT1ka rW9P6xEUwjfbSXRja/PkgJZfJt0z+bXKq6j+T1DDP0TV0mitWzgiYfGvI4hFHDhU4Yke YMhvC4173MBgMoewKnAGRduUIFeUCNyAC5nNmxfOhx2CC7mUJSM6IFBNavW3y+l7xmAJ 7krvfhjKkgNw+7m1j4PlxXA/fkHC+Z42ANsPOnWRikZhUKCV+8QtVX/Y/5uf+1WPlSEQ obXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=hm6f96tcWI/04d5/JQ1pqOa40uDdpbmZJnTD7wP10Mo=; b=HCSUv7z6HH3iODR4lPQXbD4nii3dls95jgtXvbRmhs5uuQoat2yW+1oIpGtJAS02TY XneX+rmG4Su6gvL7A0mo9fvSZd9rbfohQFdt81ib5ITDMJLmIUjyrKVJk+KCQfe7zvgB +6iabs0rJMhtqj80OSgp3FUXafJu/mkpiuBEXxbQqXaMZYD4t50rBCVMuHzE7ICnvbH9 VJ/B8ZdNHIIO4AibYVXFkyji+yM4yWPNU7U5BfTJZDSqH/U4js7bjNs3HydgvkVds7FE KfUF0+4ZiMAgj4g6OVNIIA8sl1o/WJ/5fwlPZawQoae6mG/15U84lViVjQlhHg5MGsBL 1TbQ==
X-Gm-Message-State: ALoCoQl3znkR6NNrjPgWyM41n07TyQSXZyYCyAoaWVhYfGHyLOGq6pMIcxbdpFY2oDYuL+2nJfo0
X-Received: by 10.50.1.67 with SMTP id 3mr43678642igk.6.1412785100956; Wed, 08 Oct 2014 09:18:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.59.168 with HTTP; Wed, 8 Oct 2014 09:17:40 -0700 (PDT)
In-Reply-To: <53B699B4.8000203@kau.se>
References: <20140704120244.14835.6363.idtracker@ietfa.amsl.com> <53B699B4.8000203@kau.se>
From: Yuchung Cheng <ycheng@google.com>
Date: Wed, 08 Oct 2014 09:17:40 -0700
Message-ID: <CAK6E8=d9JgqNkCoyrnMZ9W-V-hRWtE=YWqwsfzufq-JPAvShPA@mail.gmail.com>
To: Per Hurtig <per.hurtig@kau.se>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/51J17jb2E_Eijy8hAAYpWypguk4
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Subject: Re: [tcpm] Fwd: 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: Wed, 08 Oct 2014 16:18:27 -0000

Hi

I have been testing the RTO-restart in Linux (with my own
implementation) and noticed an interesting issue.

Section 4 says:

      (3)  Restart the retransmission timer so that it will expire after
           "RTO - T_earliest" seconds (for the current value of RTO).

 What if RTO - T_earliest <= 0? this implies the retransmission is
past due and we should timeout?

But consider this case:
T0: send 3 packets. RTO is 1s
T1000: timeout, retransmit packet 1. cwnd=1, rto=2000
T3000: timeout again. retransmit packet 2. cwn=1, rto=4000
T3050: receive ACK1

At this moment, if the connection uses TS-opt, we'll take a new RTT
sample and reset rto to 1s (for example).
Since T_earliest = 3050, RTO - T_earliest = -2050.

Without RTO-restart we'll slow start cwnd from 1 to 2 and retransmit
packet 2 and packet 3.
But with RTO-restart, if we timeout immediately, we'll reset cwnd to 1
and only retransmit packet 2 b/c cwnd is smaller.

I think a better response is to consider the first unacked packet is
lost, but not necessarily reset cwnd to 1. bc in this
case the connection is making forward progress, and the lost of packet
2 is really caused by a much older event.

We can tweak the example so that RTO - T_earliest is not negative but
a very small value, and the same issue may occur (e.g., resetting cwnd
while connection is making forward progress)


On Fri, Jul 4, 2014 at 5:10 AM, Per Hurtig <per.hurtig@kau.se> wrote:
> Hi all,
>
> the newest version of the RTO restart (RTOR) draft address the issues
> pointed out in Alexander's review. A summary of changes is shown below.
>
> We've also performed a series of experiments to assess RTOR's performance.
> Results from these experiments can be found at:
>
> http://riteproject.eu/resources/rto-restart/#the-benefits
>
> o  Updated the document to use "RTOR" instead of "RTO Restart" when
>    refering to the modified algorithm.
>
> o  Moved document terminology to a section of its own.
>
> o  Introduced the rrthresh variable in the terminology section.
>
> o  Added a section to generalize the tracking of outstanding
>    segments.
>
> o  Updated the algorithm to work when the number of outstanding
>    segments is less than four and one segment is ready for
>    transmission, by restarting the timer when new data has been sent.
>
> o  Clarified the relationship between fast retransmit and RTOR.
>
> o  Improved the wording throughout the document.
>
>
> Cheers,
> Per
>
>
> -------- Original Message --------
> Subject: New Version Notification for draft-ietf-tcpm-rtorestart-03.txt
> Date: Fri, 04 Jul 2014 05:02:44 -0700
> From: internet-drafts@ietf.org
> To: Andreas Petlund <apetlund@simula.no>, "Andreas Petlund"
> <apetlund@simula.no>, "Michael Welzl" <michawe@ifi.uio.no>, Per Hurtig
> <per.hurtig@kau.se>, Michael Welzl <michawe@ifi.uio.no>, "Per Hurtig"
> <per.hurtig@kau.se>, Anna Brunstrom <anna.brunstrom@kau.se>, "Anna
> Brunstrom" <anna.brunstrom@kau.se>
>
>
> A new version of I-D, draft-ietf-tcpm-rtorestart-03.txt
> has been successfully submitted by Per Hurtig and posted to the
> IETF repository.
>
> Name:           draft-ietf-tcpm-rtorestart
> Revision:       03
> Title:          TCP and SCTP RTO Restart
> Document date:  2014-07-04
> Group:          tcpm
> Pages:          13
> URL: http://www.ietf.org/internet-drafts/draft-ietf-tcpm-rtorestart-03.txt
> Status:         https://datatracker.ietf.org/doc/draft-ietf-tcpm-rtorestart/
> Htmlized:       http://tools.ietf.org/html/draft-ietf-tcpm-rtorestart-03
> Diff: http://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-rtorestart-03
>
> Abstract:
>    This document describes a modified algorithm for managing the TCP and
>    SCTP retransmission timers that provides faster loss recovery when
>    there is a small amount of outstanding data for a connection.  The
>    modification, RTO Restart (RTOR), allows the transport to restart its
>    retransmission timer more aggressively in situations where fast
>    retransmit cannot be used.  This enables faster loss detection and
>    recovery for connections that are short-lived or application-limited.
>
>
>
>
>
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
>
>
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm