Re: [tcpm] rto-consider updated

Yuchung Cheng <ycheng@google.com> Thu, 22 October 2015 18:53 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 6F7CF1B3B8B for <tcpm@ietfa.amsl.com>; Thu, 22 Oct 2015 11:53:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.389
X-Spam-Level:
X-Spam-Status: No, score=-1.389 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 mc2jWbIzd-2G for <tcpm@ietfa.amsl.com>; Thu, 22 Oct 2015 11:53:50 -0700 (PDT)
Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (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 F07581B3B85 for <tcpm@ietf.org>; Thu, 22 Oct 2015 11:53:38 -0700 (PDT)
Received: by vkgy127 with SMTP id y127so52255370vkg.0 for <tcpm@ietf.org>; Thu, 22 Oct 2015 11:53:38 -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=C7w6lpQsS5yVgqhgtxOYmGpcSx/Vpmj41nAIfFfavkI=; b=BLdTvQO33UPHgS7hmiVf5gdImAnztsi9Hrh7Yc42ANEgWaS3Gf57/bY2LVDH7blmw/ XbBJYspE7bxn/0L/9IbdOvp1n+9FZdPD0AwySbcUfJMZBLmkkQ/Lgazwh73j5bxdJbtO p1lS8pdwTDLeTRhAEcS1HlHFhKQvndZ/BodvkdJ2kW5rh5guUXomc1p9XiU/M6w8NlYQ 5tIomNaclMYqV5ZJRw5Cz7D6ZOtz8ZwcphHqLydCxxYLP3QCebvWFkJe1vLXEiGEgrpj l/3x92jfH+jQg5GNJ5BCSg/MsDEsqHPoQjEXKaJmXHf+TNI41OgdIIL6ngxzLbBiZ+IS 0aHw==
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=C7w6lpQsS5yVgqhgtxOYmGpcSx/Vpmj41nAIfFfavkI=; b=P3C1bJFkLfJJdH6jtP8Ar84He7Z/Urnm0bjS8siqpYL+MBI4+EfMp+j0i18AigmH9z 8VxbVG2KoWQAjvPFE59x/ln8naz5SpbCCD+akhOu/izRgZaBakWERrJ6wy28mTmnhz5h lVxCE/nTbmjGOsUgRY7k35v1quqlNjPlfDydHI70e+GGi25BYJs+ctx4meUKfNI0Q3bC Gv0vaMCWrH3fEpTVvcq2zkwsydr2uofweSF5jabpM5IiMrNzT2K4tRrXGC8B26oqXIZp rnxEKFQwsRT7tRjxD/JdV8kKv6TFIkdz1Z/wnwO9SiC4I4ALB6Y2/V3/2sLulxPfrgis CF2Q==
X-Gm-Message-State: ALoCoQkncJDi7huXMDYK2X+iy+8cNA2eReVQUZsCAWWyWJ0VFsGfnjoac2GT77KDpOo0bDYLU+SA
X-Received: by 10.31.185.6 with SMTP id j6mr6938951vkf.98.1445540018095; Thu, 22 Oct 2015 11:53:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.153.134 with HTTP; Thu, 22 Oct 2015 11:52:58 -0700 (PDT)
In-Reply-To: <86011.1445482547@lawyers.icir.org>
References: <CAK6E8=egmSjDTcaP=0u2aOnoh5m4K667a618et8mVMtOkkEoVA@mail.gmail.com> <86011.1445482547@lawyers.icir.org>
From: Yuchung Cheng <ycheng@google.com>
Date: Thu, 22 Oct 2015 11:52:58 -0700
Message-ID: <CAK6E8=fcAa3PAUhH2GY3fp3XJoN==Q78xt4f2atOZe6zZsk-zg@mail.gmail.com>
To: "mallman@icir.org" <mallman@icir.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tcpm/y7gjajkesiD562EeMesmhOE85EY>
Cc: Jana Iyengar <jri@google.com>, Ian Swett <ianswett@google.com>, "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Subject: Re: [tcpm] rto-consider updated
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: <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: Thu, 22 Oct 2015 18:53:51 -0000

On Wed, Oct 21, 2015 at 7:55 PM, Mark Allman <mallman@icir.org> wrote:
>
>> I am interested.
>
> :)
>
>> Following the spirit of reflecting the reality,
>
> The reality I meant to reflect was that the details of RTO
> implementations have diverged a bit from anything that is
> standardized.  And, that seems to be OK.  So, by standard it seems
> to me that perhaps we should just decide there are a few things that
> we'd like to see hold and not pretend that all the details are
> important enough to tightly specify.  Because the world has shown us
> that this is simply not true.
>
>> * (3) MUST exp. backoff: I agree on expback off is needed for safety.
>> But MUST "eventually" exp backoff reflects the reality
>> better. AFAIK Linux has the "thin-stream" optimization that
>> optionally use linear back for the first 6? retries. And I recall
>> vaguely some stacks do so based on some (old) research paper.
>
> I dunno ... I guess I still think exponential backoff is the
> ultimate bit that protects us and so I am a little wary of adding
> too many wiggle words here (the draft does suggest that exponential
> doesn't have to be 2x).  But, if the WG wants to take this up and
> the WG consensus is for some sort of eventual exponential backoff
> then I guess that is OK.
>
>> * Would be nice to talk about the well-known tricks for data-center
>> communications to lower the delayed ACK and RTO.
>
> This is what I don't really want to talk about.  I don't want to
> codify tricks.  I want to give an umbrella under which various
> estimators could flourish.
OK. but worth articulate these non-goals in the draft.

>
>> * Knowing the delayed ACK time of the remote matters. Some RFC (1122?)
>> suggests 500ms. I think everyone uses lower value 40ms - 200ms.
>
> Well, ...
>
>   - I am not sure what you're proposing.  Some option to let the
>     receiver give the delayed ACK time?  Or, a "delayed" / "not
>     delayed" bit?  Whatever it is I think it is beyond the scope of
>     high level guidance.
>
>   - This does bring to mind a pet peeve which I have sort of fallen
>     into.  We talk about the RTO in terms of RTT, but it really
>     should be in terms of expected feedback time.  I.e., the sender
>     should not care about the delayed ACK timer.  But, the estimator
>     needs to understand when to expect an ACK for a given piece of
>     data.  That ACK might be delayed.  Or, it might not.  But,
>     calling the time between data transmission and ACK reception the
>     "RTT" is sort of mis-leading because it isn't just network
>     latency we care about.
agreed. that's also worth discussing in the draft. perhaps a fallacy
on designing "RTT" estimator.


Another point to consider: Linux is moving toward the model of
aggressive timeout to probe (TLP) then a conservative timeout to reset
cwnd when entire flight is surely lost. AFAIK QUIC also takes this
approach. https://tools.ietf.org/html/draft-tsvwg-quic-loss-recovery-00
I don't know where to fit in your draft, just FYI.

>
>> * I saw lots of (naive) attempts to lower the RTO for latency, it
>> would be nice to talk about the implication of spurious RTO.
>
> I try to sketch this tradeoff.  I guess I could go back and see if
> it could be improved.
>
> Thanks!
>
> allman
>
>
>