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

Yuchung Cheng <ycheng@google.com> Thu, 05 September 2019 00:55 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 125621208A1 for <tcpm@ietfa.amsl.com>; Wed, 4 Sep 2019 17:55:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 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, 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 r9NUFkLZLBbL for <tcpm@ietfa.amsl.com>; Wed, 4 Sep 2019 17:55:11 -0700 (PDT)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 8911B120830 for <tcpm@ietf.org>; Wed, 4 Sep 2019 17:55:11 -0700 (PDT)
Received: by mail-wm1-x32c.google.com with SMTP id k1so696740wmi.1 for <tcpm@ietf.org>; Wed, 04 Sep 2019 17:55: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=IfMHTI+sgU26+3g5ZmrBIIqMX09CGv+fNiQfqWBZsIM=; b=dtsBy/lLlMWk7h0fxQhcemHQrZyT1Q5dzNzi/VVXGikaDMmF26Wt0kNXJprYKAS0RK 5pTPdmdCdCGyuGhlA4T2DgpN9GHH6T2v+AM6hVlwNT76YMiFSXjD453inHlokFlbeR/2 BSF5urTtxpYKn95ZOLPh8FFlf9TOVLn3+AsFYNgmk7mCThPGzesesQpmhixDsTh8vLdT ftJeJgz9IKylg3pkt17t9b/+wxFwVWnImsH2P6wHcFtNZEEjI+bumTtQ1ONxkwWG2/Zn YbVEDza9LwL+cSxEzj2Dz0VYxw00ou5TJeHtyY/WuqlkJu24/TxQzwe+wahfO7LV1Ji2 5aGw==
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=IfMHTI+sgU26+3g5ZmrBIIqMX09CGv+fNiQfqWBZsIM=; b=iMGArZPSQ32yUTc2Iyk1fSd7RWchcWu2CwqW7x+HuppFMDUultXArp861fceckwzbz NV+KSPmUmg7ASpO/wA4tKBYAiz8AmqaNy9AR+ZnQy8eWhentyZVSDOV09pcSj8UsfZBs L9mlJ77srXUMW14hSC4G1uRLF7SudXgVZcf4Rf8Q6JSjQrASJoW/qN1SBJ/NdFUs9CA4 1AhdlXfuApjGvm6nhrmyNXaYZT4JhUzFa5mVlUVzX3zvMQdXbSpuNG0F3JkM+MYMKLdP C4ON1ytn1js0LDgiwV3NXwdXk620yfBstbNUkr+A9tFWoIZcO/BT/1rWiXeRwNcKs0lK fmJw==
X-Gm-Message-State: APjAAAVpIsvOLOfIp7hQsFHi1mcj3cbohBeXQNNA8HjMFnh4Rn27igSP F3D+1rPMVxDHzbJ+ODlHxuNwn3zT/BbJREXJw1icIQ==
X-Google-Smtp-Source: APXvYqwwNEGEsvMd1NDhFMJsuwxVI2pdNOl+MsxFOaOouQSn2UgBrpTRYZU/sdNlpZU1g7Tx9uTAIi9sGkIAxCHqZ+I=
X-Received: by 2002:a1c:c909:: with SMTP id f9mr710248wmb.52.1567644909481; Wed, 04 Sep 2019 17:55:09 -0700 (PDT)
MIME-Version: 1.0
References: <CAM4esxQR5zeHC0g0MmCG3iF2js_2BU6+tdwCKi4ZiGFYMr5MRg@mail.gmail.com>
In-Reply-To: <CAM4esxQR5zeHC0g0MmCG3iF2js_2BU6+tdwCKi4ZiGFYMr5MRg@mail.gmail.com>
From: Yuchung Cheng <ycheng@google.com>
Date: Wed, 04 Sep 2019 17:54:32 -0700
Message-ID: <CAK6E8=f2fhOk_-_zq=cj+Bh13kGdVUsZNi+FvYcjtnbJdLDXbg@mail.gmail.com>
To: Martin Duke <martin.h.duke@gmail.com>
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>, Neal Cardwell <ncardwell@google.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/eTRddrfx3z7xd655Wb0o2RfN34Q>
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: Thu, 05 Sep 2019 00:55:14 -0000

On Tue, Sep 3, 2019 at 3:31 PM Martin Duke <martin.h.duke@gmail.com> wrote:
>
> Late in the day, but I have a few nits on this draft.
>
> (1) The definition of RACK.rtt in Sec 5.2 does not match the Step 2 pseudocode in Sec 6.2:
>
> "RACK.rtt" is the RTT of the most recently transmitted packet that
>    has been delivered (either cumulatively acknowledged or selectively
>    acknowledged) on the connection.
>
> 6.2 :
>
> If the ACK is not ignored as invalid, update the RACK.rtt to be the
>    RTT sample calculated using this ACK, and continue.
>
> ...
>
> RACK.rtt = rtt
>            If RACK_sent_after(Packet.xmit_ts, Packet.end_seq
>                               RACK.xmit_ts, RACK.end_seq):
>
> The definition implies that RACK.rtt should only be send if RACK_sent_after(), but IIUC this is not what the the text and pseudocode say.
Yes for catching this! we'll update that in our next rev.

>
> (2) Sec 7.1
>
> RACK always marks the entire
>    TSO blob lost...
>
> unless, of course, some of them are sacked?
Yes, the draft could be more specific. If the TSO blob is partially
sacked, Linux splits it and marks one sacked and the other lost.

>
> (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."


>
> Thanks for your work on this.
Thanks for the review!
>
> Martin
>
>
>
>
>
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm