Re: [tcpm] Comment on draft-ietf-tcpm-rack

Yuchung Cheng <ycheng@google.com> Mon, 27 April 2020 21:58 UTC

Return-Path: <ycheng@google.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C92CE3A0BED for <tcpm@ietfa.amsl.com>; Mon, 27 Apr 2020 14:58:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.6
X-Spam-Level:
X-Spam-Status: No, score=-17.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 gSrWPdqNVCJY for <tcpm@ietfa.amsl.com>; Mon, 27 Apr 2020 14:58:56 -0700 (PDT)
Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87AF03A0BEF for <tcpm@ietf.org>; Mon, 27 Apr 2020 14:58:56 -0700 (PDT)
Received: by mail-ua1-x92f.google.com with SMTP id u12so19180265uau.10 for <tcpm@ietf.org>; Mon, 27 Apr 2020 14:58:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fFbFVAGVr8fG5bZ/pXSoEXe5q18oeEmj21+TFH5VyLw=; b=iTz45IJE1MKuOxl+n1Dc5raZcL2gPB9pz5+hnxbk2UcdzhoY3DTrQsozW3QguSdQOf RC/qemvsBe37RLnpn7Y+bO0wL3DWfos7pEuLad+yqJGwF/oNV3giBxytoQYizwrY6t2+ dT+gEti2nbY140ynMtRzGye7v13eJ6ZyYcki/Rgn0AQ+l2kaXLv85SuZJhMhzhUONosG yDCeO45UyzWwK1cayoLUkGWAZyBDVNiY5jJILSAw6EdSfgzQH5EL8SvOX08kQFHMkRE9 6NTB5/joY6tc/HbPAxdGkdwN0p8zWbFcNM/NYT03jgLWE16wxIHJUplkATPzNV+0mzxD tL2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fFbFVAGVr8fG5bZ/pXSoEXe5q18oeEmj21+TFH5VyLw=; b=eViesgzuK9pIJ7Z37VY9IPqq7qKqnZoJSR1Ce/f61HL9FqIrqr4ola/TYZ7wI5PoJb 7mTjUAVmtwQ+R9nQ9JcF8ifEK6+oxg54CMIg+V61dxhEFlByy/nzIsgiTxTiXFVBB0wv RV46s+OJRQLSbr3Qoq53NmxGUEEiov/rcN5tNeEzdR0hkZBW8bzSFhis4qXguunmuPxA HCvqdDArnRSy76BDX7g+DXrY1M6xTqVugZMX8Dvoz3Xl7tLcyMQHwgkF+KwbnsJAqJyg cfQUzJcIqJebwVmSR0ePDDWHaPlsHbUJ8Ztk4ENlEzTZeeM0Upp7d+wd/yH6sXhUpnD6 z6GQ==
X-Gm-Message-State: AGi0Pubwl9BAwXBsJcO0UuU6feSC0VaQG5Rk2Ogk/FDmLGHeu5KLZ7ee Y1yJZoV44iUolguJ5Lz+HysdF8VcCzjGviG38wW3ew==
X-Google-Smtp-Source: APiQypJ/cU4zeD0uffWp0mS6SHfahLucZVhACysC+op2Ar6syCIxSDC/5ah+/Bsew7KCTfqzTx92Ml/y4E80B0jmLcs=
X-Received: by 2002:a67:2d82:: with SMTP id t124mr18740176vst.123.1588024735058; Mon, 27 Apr 2020 14:58:55 -0700 (PDT)
MIME-Version: 1.0
References: <CAM4esxQxK-NV=T4V4O9GQqn7Swv=8+865jCnE7ECFJJtSWjNHQ@mail.gmail.com> <CADVnQykquLhVNwcxKoFrTRJmPDfpZiLJEXpC7+u7X7qqra0B5A@mail.gmail.com> <35cbdaef-77b9-7d7d-0b73-012288f017db@erg.abdn.ac.uk> <CAM4esxQboqKPzVZUs2PSyKiM__pyMRtYMSnt1ufipo=G8KtDyQ@mail.gmail.com>
In-Reply-To: <CAM4esxQboqKPzVZUs2PSyKiM__pyMRtYMSnt1ufipo=G8KtDyQ@mail.gmail.com>
From: Yuchung Cheng <ycheng@google.com>
Date: Mon, 27 Apr 2020 14:58:18 -0700
Message-ID: <CAK6E8=cByuAdwT8a4LE5zdC+45OqqQSLqNQrO12980nBr1k-8Q@mail.gmail.com>
To: Martin Duke <martin.h.duke@gmail.com>
Cc: Gorry Fairhurst <gorry@erg.abdn.ac.uk>, Neal Cardwell <ncardwell=40google.com@dmarc.ietf.org>, Priyaranjan Jha <priyarjha@google.com>, draft-ietf-tcpm-rack.authors@ietf.org, "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/fR14PEmaNmP7vXALD2qzhbZiTXk>
Subject: Re: [tcpm] Comment on draft-ietf-tcpm-rack
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 27 Apr 2020 21:58:59 -0000

On Tue, Apr 7, 2020 at 1:39 PM Martin Duke <martin.h.duke@gmail.com> wrote:
>
> Either is fine with me.
>
> BTW there's no Table of Contents in the draft either.
>
> On Tue, Apr 7, 2020 at 12:16 PM Gorry Fairhurst <gorry@erg.abdn.ac.uk> wrote:
>>
>>
>> On 07/04/2020 19:49, Neal Cardwell wrote:
>> > On Tue, Apr 7, 2020 at 12:09 PM Martin Duke <martin.h.duke@gmail.com> wrote:
>> >> Not a full review, but I may be missing something in this paragraph in Section 3:
>> >>
>> >>     Using a threshold for counting duplicate acknowledgments (i.e.,
>> >>     DupThresh) alone is no longer reliable because of today's prevalent
>> >>     reordering patterns.  A common type of reordering is that the last
>> >>     "runt" packet of a window's worth of packet bursts gets delivered
>> >>     first, then the rest arrive shortly after in order.  To handle this
>> >>     effectively, a sender would need to constantly adjust the DupThresh
>> >>     to the burst size; but this would risk increasing the frequency of
>> >>     RTOs on real losses.
>> >>
>> >> In the "runt" pattern you describe, would not the returning sequence be
>> >>
>> >> Dupack, Ack, Ack, Ack ...
>> >>
>> >> So that any threshold > 1 would handle this with no problems?
>> >>
>> >> Martin
>> > Thanks, I think this point about the threshold is a good point. AFAICT
>> > the "final runt packet" case was a real problem for the FACK loss
>> > recovery algorithm used by Linux for many years until RACK, but this
>> > case was probably not a problem for implementations that used RFC6675
>> > (since RFC6675 basically requires 3 packets SACKed above a hole to
>> > mark it lost).
>> >
>> > To address this, what do you think about the following more general
>> > text as a replacement for that paragraph:
>> >
>> > "Using a threshold for counting duplicate acknowledgments (i.e.,
>> > DupThresh) alone is no longer reliable because of today's prevalent
>> > reordering. Any time at least DupThresh packets in a flight arrive out
>> > of order, traditional packet-counting approaches
>> > [RFC5681][RFC6675][FACK] usually suffer spurious retransmissions. To
>> > avoid such problems, some implementations have dynamically increased
>> > the DupThresh packet count based on the measured degree of reordering
>> > in sequence space; but this increases the frequency of RTOs upon real
>> > losses in the common case of small flights of data."
>> >
>> > Thanks,
>> > neal
>> >
>> > _______________________________________________
>> > tcpm mailing list
>> > tcpm@ietf.org
>> > https://www.ietf.org/mailman/listinfo/tcpm
>>
>> Neil, would you accept something that doesn't inflame a discussion of
>> what is prevalent and where?
>>
>> Such as:
>>
>> "Using a threshold for counting duplicate acknowledgments (i.e.,
>> DupThresh) alone is not reliable in the presence of significant packet
>> reordering. Any time at least DupThresh packets in a flight arrive out
>> of order, traditional packet-counting approaches
>> [RFC5681][RFC6675][FACK] can incur spurious retransmissions. To
>> avoid such problems, some implementations have dynamically increased
>> the DupThresh packet count based on the measured degree of reordering
>> in sequence space; but this increases the frequency of RTOs upon actual
>> losses in the common case of small flights of data."
looks fine. We'll take this paragraph you suggested.

also we'll add a ToC



>>
>> - and would you allow "dynamically increased
>> the DupThresh packet count (e.g., methods based on RFC5960)"?
>>
>> Gorry