Re: [tsvwg] Update to Position Statement on ECT(1)

Martin Duke <martin.h.duke@gmail.com> Tue, 19 May 2020 17:21 UTC

Return-Path: <martin.h.duke@gmail.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E01F53A0BC5 for <tsvwg@ietfa.amsl.com>; Tue, 19 May 2020 10:21:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.119
X-Spam-Level:
X-Spam-Status: No, score=-0.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_BL=1.979, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 zHcxDrw5Vy6I for <tsvwg@ietfa.amsl.com>; Tue, 19 May 2020 10:21:12 -0700 (PDT)
Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 7580D3A0BC4 for <tsvwg@ietf.org>; Tue, 19 May 2020 10:21:12 -0700 (PDT)
Received: by mail-io1-xd29.google.com with SMTP id k18so10106ion.0 for <tsvwg@ietf.org>; Tue, 19 May 2020 10:21:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OvHUzAnXC4+i5op8Z5ofYGSVFGR5tqIruDjYN2WKdW8=; b=bZz2NGser0/18rbeknUk5pLsR/5n2RY8TmWC9/6Q2nmsWtUv6KMWkxKQdsae20JJYp 1lxU+DOMEwhW2eIZra6PIsdpAklXbiPDRICtaG1WXxSzcD+wqyA7vwE5dYqZ1OOFaKWd rzae4eW3UKsxcufccZN3Dm0IEtc9d981x/yuzcFQBiWhetLS9CBfLhyPoeVG/eLCI+JA 9x9GhNNdqC462/B8c6/iZoqeH2aCusnpzIq+/IiYJFWMvETt46qfIyqcNvcBYM9TJOZo KoxOuDgnOabcYbSWG1qpoZqVRIJGm7k0ovvad4tL9zcMvlWw24mN1XoC7eJazgN2d3Ep SjiA==
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=OvHUzAnXC4+i5op8Z5ofYGSVFGR5tqIruDjYN2WKdW8=; b=DlOwx8QRNk3WAUp9bmqhK6q9QuuffSbI6i+nPQWj2illD7KUn3wsToGAsusPAqCVeI 3Ax7q1HvrpPgwcz/XP42cP3huVW6RqDgANId6sNMwcPJw6GfCdgxUUR62JtlSiXF0paa iqnnihFckVReeDAO1I5XILRaiWyH+QoFGvf2pZuoVnCS5sP+D4YM21jGSThSg5lYw+og 8NHrYGB+FBS2PgpdZLNQDb9VjKkZEfB8dZpVseaMmW1Cc4VOfoOLTwbeFs38HVl/iYja 9D3r/wejw0P+Ri9sERi1qStZf2aPywOxKDi27r+LBEzt1QiUS6KBmJU3p74fvj3RleiC lJGQ==
X-Gm-Message-State: AOAM531akhCU2TaolbtNVvLqeBx/QQfsjhx3aDOydd5tWUiHzvfQRpR2 CdMu/4akMuXCE1ETLD6MmEp//KsbgM3GgtVEwD8=
X-Google-Smtp-Source: ABdhPJy4rPDYxfdSwi/pj+24IIQdiIV/+nGO3zulSGPoHFDbQ5NiF9z6Kk3thhkE+3SJxcYK5gXPe6MdKABIhuAUecc=
X-Received: by 2002:a6b:d10b:: with SMTP id l11mr6498391iob.51.1589908871484; Tue, 19 May 2020 10:21:11 -0700 (PDT)
MIME-Version: 1.0
References: <BE44EAE9-5CFB-4F5D-85B8-05AFA516C151@akamai.com> <CACL_3VEbUHB-Omwp1-g5Tq3G3J-kKj9N3jPZLcfruicw3X=AsA@mail.gmail.com> <2CBBD8CD-2088-4E41-B113-EED665853D3C@akamai.com> <CAM4esxSFCBcxXjz5JJJg1z6+wwfN3mTrtJ8bKiBsj2TeOmmFSw@mail.gmail.com> <1D8D2AF8-F805-4BAC-8126-355A8337D830@akamai.com>
In-Reply-To: <1D8D2AF8-F805-4BAC-8126-355A8337D830@akamai.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Tue, 19 May 2020 10:20:59 -0700
Message-ID: <CAM4esxSMELAi0BMBRynYTx44iY6f-yLEWng4QQ2Pxt9J-haxFg@mail.gmail.com>
To: "Holland, Jake" <jholland@akamai.com>
Cc: "C. M. Heard" <heard@pobox.com>, TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008297b605a603813c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/gPHGmjnw6fPbK3kitryEsMmEhIw>
Subject: Re: [tsvwg] Update to Position Statement on ECT(1)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 May 2020 17:21:14 -0000

Hi Jake,

Sorry for a not-very-carefully composed email!

On Mon, May 18, 2020 at 7:56 PM Holland, Jake <jholland@akamai.com> wrote:

> Hi Martin,
>
>
>
> Thanks, I think it’s an interesting direction also, and I’m glad to get
> some discussion on it.  Here’s hoping it turns out useful, or at least
> informative.
>
> be less aggressive during slow start.
>
>
>
> <JH>
>
> To me, the problem with loss as the only (viable) MD signal is the
> existing devices that don’t drop until well after exceeding reasonable
> fairness bounds from an unresponsive flow, so for TCP Prague to maintain
> compatibility with classic queues, it would still need a successful classic
> queue detection mechanism.
>

I probably misunderstood. I thought the desired signal was a MD signal in
the low-latency queue. Yes, for 3168 queues you'd have to essentially treat
ECT(1) as Not-ECT. So that may not be a productive direction.

>
>
>
> 2) Clearly, there is no AccECN signaling problem for ECT(1)->ECT(0) for
> QUIC, and for TCP paths where the option gets through. It this is an issue
> of the three ACe bits, I think one codepoint in ACE would be sufficient to
> indicate that a CE mark was received, which IMO would trump whatever other
> feedback is in that header.. Unless there's some sort of performance cliff
> in not being able to encode 7 ECT(0) marks, this seems like a non-problem
>
>
>
> <JH>
>
> I’m not sure I follow this suggestion.
>
>
>
> If you’re imagining a “latch-on” behavior like ECE that waits for CWR from
> sender before moving along, I think the sender no longer has a CWR if
> they’ve negotiated ACE, so they can’t respond in a way that turns off the
> latch.  But if you’re just using 1 packet with 1 codepoint to indicate “CE
> observed”, you’ll miss the report of CE observed at sender if the ack
> bearing that signal is dropped or thinned or whatever, so I think neither
> of those would work.
>
>
>
> But I guess you could maybe use 1 codepoint for a latched-on ECE and
> another codepoint for CWR, and still have a 6-slot counter for the ECT(0)
> signal (which is superseded by the ECE codepoint while active).
>

Good catch -- soon after I sent this, I thought, "what about CWR". The
problem with using a second codepoint is that the sender signal then
pre-empts the feedback signal -- fine for functionally half-duplex
connections, but not generally. I can see a few ways out of this:

1) Take another TCP header reserved bit so that we can keep CWR and the 3
bits for ACE. (Ugh)
2) Come up with a heuristic to stop sending ECE, obviating CWR.
3) Come up with a heuristic to mix packets with CWR and ACE as needed
depending on counter activity.
Though I'll defer to Bob on the issues of re-engineering ACE -- it sounds
like he's been through all the permutations.

I guess I don't understand the tunneling problem. If we have a mark that
demands MD, that trumps feedback about low-latency fine tuning, does it not?