Re: [tcpm] draft-ietf-tcpm-rack-05 review

Yuchung Cheng <ycheng@google.com> Fri, 06 September 2019 22:33 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 EF154120E0B for <tcpm@ietfa.amsl.com>; Fri, 6 Sep 2019 15:33:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 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, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=ham 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 h4r-Qt8mYUZE for <tcpm@ietfa.amsl.com>; Fri, 6 Sep 2019 15:33:12 -0700 (PDT)
Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 DC16C120DFA for <tcpm@ietf.org>; Fri, 6 Sep 2019 15:33:11 -0700 (PDT)
Received: by mail-wm1-x332.google.com with SMTP id y135so8342099wmc.1 for <tcpm@ietf.org>; Fri, 06 Sep 2019 15:33:11 -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=q5NQ3zB2crnveOkToGBdiaMi7JZYNzSsS9Ua668+Vd8=; b=dm9uJm5vTqhSi5MZeglzXBAdQhR26CnzsAbInqBL+m2QFQ/cITepSg0Q8ytysmBWSn spgrgBPKav1pg7HwEMGNS/7nC6xZI/4dsxOZdZt21wz+suFLk8F3V0qq42tHSK5QsnEB SQrSB1DQRX04TNxQvYwoCVc3yxp/8n2C98PFWIwHbIpeu7zsJZ07YMxOFEjWzvDAxWJb Y5VucoqcsWw00KuzJNMZCnSnXs/3T+vb9GFewdEopUh+xrl3iaPjFhR54bdLO9V2kYjF E9EGX+7qJQOHK+3rbr/DJ02g0XdMXztOEgqnQY9bO3UfX2PSbEH6C0DGNWNccMXRC7U3 kMdw==
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=q5NQ3zB2crnveOkToGBdiaMi7JZYNzSsS9Ua668+Vd8=; b=AxalLGsGxL84oRyYQF0jFd2GijBCm09Ns9QMhlW4U2PNZCf11qpLiISIyl7pUJas5D 8UaWPddm4gHfV5hJ34LGJ6Tp3U/56Ugsymkg6x220GVtucvscDxN2PKe2dSFhb/wFLCi sA4u4fQl2sCyN0JP/f0rVY0hDOwV34qZW6XV+u6F30NK8Mmap/uY1OsFxyLomSBIA9B7 pGmxif+cJGCjOcjrd5CPAdJ5m4NWfdSHHYCIGBzqvKQyhRiv4FwRmqS5kKc4/B1NS2LA 7879KlrNnq73DgfLqEvodVTmf7vYe7uOplrPdpwWbP7OJhLbu2cSkYAgxX03nFE3mq3h HZDg==
X-Gm-Message-State: APjAAAV4kbGwkWPEThwAIlXR9Y31K2E1QMs5ONjONsNbym+5j6qvotM6 uvkfkdAx188WBA8evv2y+0ZZ+x3y0b1HSk4+Y1BU7g==
X-Google-Smtp-Source: APXvYqwWqSl0efhNmstc9nZgojXDwyWdoC3ZXWZ0vswPrFr6NQG7Wq84chUgvqq38yJKjae0xQWH2/GFx/+JPHypujs=
X-Received: by 2002:a7b:c08d:: with SMTP id r13mr8896749wmh.39.1567809190036; Fri, 06 Sep 2019 15:33:10 -0700 (PDT)
MIME-Version: 1.0
References: <CAM4esxQR5zeHC0g0MmCG3iF2js_2BU6+tdwCKi4ZiGFYMr5MRg@mail.gmail.com> <CAK6E8=f2fhOk_-_zq=cj+Bh13kGdVUsZNi+FvYcjtnbJdLDXbg@mail.gmail.com> <CAM4esxTj1A226PP1wNcdxwb_aXQemp-qX_7CpKYcjs5qyJH+Qg@mail.gmail.com> <84fac75f-07ea-e3a1-b9cd-33ffc8a6d454@isae-supaero.fr>
In-Reply-To: <84fac75f-07ea-e3a1-b9cd-33ffc8a6d454@isae-supaero.fr>
From: Yuchung Cheng <ycheng@google.com>
Date: Fri, 06 Sep 2019 15:32:32 -0700
Message-ID: <CAK6E8=dDJOhsdYqhdhnKmKktgygCn9+LLhA79=XO9W9+WK121g@mail.gmail.com>
To: Emmanuel Lochin <emmanuel.lochin@isae-supaero.fr>
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d964a10591ea05a5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/oXg90aD_u96RZCukecokS_seQCg>
Subject: Re: [tcpm] draft-ietf-tcpm-rack-05 review
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: Fri, 06 Sep 2019 22:33:15 -0000

Hi Emmanuel,

Yes setting the sysctl to 0 will completely disable RACK. Although by
default it supports DUPTHRESH-based detection (as a simple extension)
beside time-based detection. You can disable that extension w/ 0x4. But if
you want absolutely old-style pure DUPTHRESH-based then you can set that to
0.



On Fri, Sep 6, 2019 at 3:24 AM Emmanuel Lochin <
emmanuel.lochin@isae-supaero.fr> wrote:

> Hi Yuchung, all,
>
> I have a question concerning the GNU/Linux kernel implementation of RACK.
> There are 3 sysctl options to enable RACK (0x1 0x2 and 0x4) but none to
> disable it (or may be 0x0 is not documented). As tcp_input.c implements
> this boolean function:
>
> static bool tcp_is_rack(const struct sock *sk)
> {
>         return sock_net(sk)->ipv4.sysctl_tcp_recovery &
> TCP_RACK_LOSS_DETECTION;
> }
>
> can I consider that I can disable RACK by typing sysctl -w
> net.ipv4.tcp_recovery=0 ?
> I ask this question because I've seen several update done inside the
> kernel to implement it and I want to be sure that I can really go back to
> 3DUPACK scheme this way.
>
> Cheers,
>
> Emmanuel
>
> Le 05/09/2019 à 04:44, Martin Duke a écrit :
>
> I think the proposed text is fine.
>
> On Wed, Sep 4, 2019 at 5:55 PM Yuchung Cheng <ycheng@google.com> wrote:
>
>> On Tue, Sep 3, 2019 at 3:31 PM Martin Duke <martin.h.duke@gmail.com>
>> wrote:
>>
>> <snip>
>
>
>> > (3) sec 7.3
>> >
>> > We have evaluated using the smoothed RTT (SRTT from
>> >    [RFC6298] RTT estimation) or the most recently measured RTT
>> >    (RACK.rtt) using an experiment similar to that in the Performance
>> >    Evaluation section.  They do not make any significant difference in
>> >    terms of total recovery latency.
>> >
>> > If there is truly no difference, then why not use SRTT as the standard?
>> > Every TCP implementation has to store this, while min_rtt is unneeded
>> for many (most?) congestion controls.
>> >
>> > Alternatively, you could strengthen this paragraph to not sound like it
>> makes no difference..
>> That's a good point -- our experiment at Google servers indeed didn't
>> show much difference. But I think it's still better to use min_RTT
>> than SRTT. On buffer-bloat friendly C.C. the SRTT could be orders of
>> magnitude longer than the actual paths' RTT -- in my opinion factoring
>> this network queuing delay in reordering window is not a good idea. So
>> how about adding
>>
>> 'While the experiment does not show a difference between min RTT and
>> SRTT, SRTT is less desirable to size the reordering window as it
>> includes network congestion or delayed ACKs effects."
>>
>>
>>
> _______________________________________________
> tcpm mailing listtcpm@ietf.orghttps://www.ietf.org/mailman/listinfo/tcpm
>
>
> --
> Emmanuel LOCHIN
> Professeur ISAE
> ISAE SUPAERO - Institut Supérieur de l'Aéronautique et de l'Espace
> 10 avenue Edouard Belin - BP 54032 - 31055 TOULOUSE CEDEX 4 FRANCE -http://www.isae-supaero.fr
> Tel +33 5 61 33 84 85 - Fax (+33) 5 61 33 83 45
> Web : http://personnel.isae.fr/emmanuel-lochin/
>
>