Re: [tsvwg] L4S and the detection of RFC3168 AQMs
Martin Duke <martin.h.duke@gmail.com> Wed, 10 February 2021 18:37 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 A87DC3A1311 for <tsvwg@ietfa.amsl.com>; Wed, 10 Feb 2021 10:37:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, URIBL_BLOCKED=0.001] autolearn=ham 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 Dk1sN9IbLRKg for <tsvwg@ietfa.amsl.com>; Wed, 10 Feb 2021 10:37:15 -0800 (PST)
Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 E2B683A12F8 for <tsvwg@ietf.org>; Wed, 10 Feb 2021 10:37:14 -0800 (PST)
Received: by mail-il1-x133.google.com with SMTP id y15so2771127ilj.11 for <tsvwg@ietf.org>; Wed, 10 Feb 2021 10:37:14 -0800 (PST)
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=wSqplSul4w+EhAJm0Be/ObqZh4ADP29wV3bIhpfU7i8=; b=uCaZO2M9deKeOXbEOQHBrKmGc4JpGD+KZN4UYDT2sEYqwkB8V8l2pO9tvnLIz+3ibM 0WB0U+U+4e4No4LQJQmatkgHrqgMWOx5eVH8SAG1Zfcss1+HSBddtYU1+T2kNY0powGj aWZZYy5cBhVFY0nKPDH8hKRRNy+O7SeCqhqzvgAlW/0t2JygMB5XuTMp91UYVgs/8Fnk X56DCeXncsxiq9ljz7vrEXNvpuLxcjpbysWJXfP5lGVE5tPT6CVQop4s/zPDYi1gu+IU o8JUhVyAADsdCP8e/KZluShJ3ef+hguO8ztXCoJGWQt9M/luDJK3+DsU0sMwLnaCdPAK /bYQ==
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=wSqplSul4w+EhAJm0Be/ObqZh4ADP29wV3bIhpfU7i8=; b=i2b8vdhAi3MbnTxg/RMMOOQ3iE/L7Y/Zn3DHY0lfxPQftRMYkDJroYTMqDSeXjKhAk qXqMVwrN7JJfDg2i0FroZMFn8QEUqCQSLnIMpkHw4SrQ5PgkYalNB2LPouF4cLHxSGiP Wh40e4P9ouiR1/MyUU5xLXWE7C2B+itwXh4im7Ca7bkjNYxc2Z8jz53BNtr/Rc9ozDol aBcYhkg5r7QCQwmJTwEPquKTrNUwRM8AQGrx3o6lh9d5wNTQgqM8Fexb7vOAupvAr9Zs lxozSqpNZ/YK+DBC5Ldahqs/dPThMOPjmGZvs0btbCPorLQ1554NTUozZu82juhfvfgL AyIw==
X-Gm-Message-State: AOAM5313VH1Oc3sR5ubgc8UibYOP0aWYjkSH/qUMfqlGrsg+PBcDxatY M/Nuwte/xNc1D5Q1kAqXeUtHAxGdnppkW037WF0=
X-Google-Smtp-Source: ABdhPJxwTMrXCsupLF7Cr9tEVJtp0w3SUsIXHoaQ2NREHH6e3JEfmMHUMJQqLln4NxVHGhU3UCcqQuYKuPJF47jwbM8=
X-Received: by 2002:a92:3f08:: with SMTP id m8mr2306039ila.237.1612982234109; Wed, 10 Feb 2021 10:37:14 -0800 (PST)
MIME-Version: 1.0
References: <125328289.3455959.1607381048136.ref@mail.yahoo.com> <125328289.3455959.1607381048136@mail.yahoo.com> <3F562A25-F4F2-4335-9ED7-54299500B8F6@cablelabs.com> <a35cf206-2fc7-c60e-c713-c4f916106bde@bobbriscoe.net> <CAM4esxQQe4MJsU3ZvdVWVeSC6z+YWCytDd3i2im27qhnss1_og@mail.gmail.com> <CACL_3VE_FD7wdwXGgbYsBnj0+ox-m6s6V=uZVaVZdgK-fLT2KQ@mail.gmail.com> <CAM4esxT1SjveX3AKbOcfjD317ojTNsxfgk84OAQ7=6v-YjQDow@mail.gmail.com> <MN2PR19MB4045BA04C4F56F3A19F2587383CA0@MN2PR19MB4045.namprd19.prod.outlook.com> <CAM4esxTSUUuNVsV-Dh4FU31QpJXfYK9rPR819xj00SD5DZzppA@mail.gmail.com> <592c7815-126e-fab7-3122-8df71aed9d30@gmx.at> <c22ffa78-9ff6-f2fd-2ade-345a72ec2db1@bobbriscoe.net>
In-Reply-To: <c22ffa78-9ff6-f2fd-2ade-345a72ec2db1@bobbriscoe.net>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Wed, 10 Feb 2021 10:37:04 -0800
Message-ID: <CAM4esxQKQ17uMLmJr+PVS1Db50nZffi8Gto2TbBOqWYXP32__w@mail.gmail.com>
To: Bob Briscoe <in@bobbriscoe.net>
Cc: "Scheffenegger, Richard" <rs.ietf@gmx.at>, "Black, David" <David.Black@dell.com>, TSVWG <tsvwg@ietf.org>, "alex.burr@ealdwulf.org.uk" <alex.burr@ealdwulf.org.uk>
Content-Type: multipart/alternative; boundary="00000000000017d9cf05baffb135"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/mfSfk6zu4sMIeXiRH04iLTojG2I>
Subject: Re: [tsvwg] L4S and the detection of RFC3168 AQMs
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: Wed, 10 Feb 2021 18:37:24 -0000
Well this all seems very promising! Does anyone have the bandwidth to write something down? Should there be a separate draft that articulates the design? Would this replace the current Prague approach? Martin On Tue, Feb 9, 2021 at 3:09 PM Bob Briscoe <in@bobbriscoe.net> wrote: > Richard, > > First, thank you for reviving this thread, because it brought Alex's > last posting (in Dec) to my attention. I'll respond to that separately > (probably maƱana, as it's getting late). > > Pls see inline tagged [BB]... > > On 09/02/2021 11:05, Scheffenegger, Richard wrote: > > Martin, group, > > > > > > AccECN is not tied to RFC3168 (and quite the opposite, it tries to be as > > impartial to the specifics of when/why packets were marked in whichever > > way). > > [BB] Also, in case people aren't aware: an L4S sender using TCP MUST > negotiate the use of Accurate ECN TCP feedback with its peer. So I think > there's no case where a transport would not provide feedback for Alex's > idea. > > > > > Therefore the Packet-CE counter (you refer to it as PCE, while the draft > > refers to the (full) counter as cep [from CE_packet] is incremented > > regardless of which packet arrives with the CE mark (control, data, > > retransmission, ...). > > > > Similar for the Byte-CE counter (BCE, in the AccECN draft ceb from > > CE_bytes). As only TCP payload bytes arriving with the CE mark would be > > accounted, the behavior as expected in the discussion below is already > > implicitly available when using AccECN. > > [BB] ...only if the data receiver supports sending the AccECN TCP Option > (optional) and the new TCP Option traverses the path successfully and > the data sender supports reading the TCP Option (optional). > > Nonetheless, if any of these three is not the case, it might still be > possible to work out whether a CE marking was on a probe packet... > > The ACK that carries the CE packet counter also carries an ACKno (and > possibly SACK options). When a zero-sized probe is sent, it won't elicit > an ACK on its own (TCP doesn't ACK pure ACKs). But if the probe is CE > marked, when the data receiver ACKs subsequent data packet(s), the CE > packet counter will include any CE marking on the probe. It seems that > doesn't help, because the data sender cannot tell whether the CE mark > was on the data packets or the probe. But if the counter ever increases > by more than the number of data packets covered by the ACK, the probe > must have been marked as well. > > That sounds like having to wait quite a time for the possibility of all > packets together being marked. But there might be a more deterministic > way by use the same trick that keep alive probes use... > > That is, send a zero-sized probe with SEG.SEQ = SND.NXT-1. Being out of > window, each of these probes would immediately elicit a pure ACK from > the receiver. This might cause problems alongside the other regular > ACKs, because I think these might look like Dup ACKs (when the trick was > invented for keepalives, this wasn't a problem 'cos there were no other > data packets being ACK'd). However, it's possible the sender can work > out that they are not Dup ACKs, given it knows it sent a probe. > > (I'm not totally certain of my facts here - we'd need a TCP expert to > confirm - Richard?) > > > Bob > > > > > > > There may be some ambiguity, as AccECN doesn't strictly require an > > immediate ACK on a CE (only that the next packet after a received CE > > mark has to convey the changed CE-related counters), but in the general > > case, AccECN would allow and support such a detection scheme. > > [BB] > > > > > > Best regards, > > Richard > > > > > > > > Am 12.12.2020 um 00:22 schrieb Martin Duke: > >> Excellent, thank you for the reminder. So the L4S sender could > >> interleave some ECT(0) marked pure ACKs (or retransmissions of the last > >> acknowledged byte) and hope that the PCE counter increases without > >> corresponding increases in BCE. > >> > >> The AccECN spec might need to be updated to specify that these should be > >> reported in PCE even though they are not 3168 compliant. > >> > >> Scheduling these probes might not exactly be trivial, but if they are > >> temporally correlated with ECT(1)->CE marks, this would be highly > >> suggestive, yes? > >> > >> On Fri, Dec 11, 2020 at 3:03 PM Black, David <David.Black@dell.com > >> <mailto:David.Black@dell.com>> wrote: > >> > >> In which case, RFC 8311 Section 4.3 allows experimental usage of ECN > >> with such packets (https://tools.ietf.org/html/rfc8311#section-4.3 > >> <https://tools.ietf.org/html/rfc8311#section-4.3>).____ > >> > >> __ __ > >> > >> Thanks, --David____ > >> > >> __ __ > >> > >> [EXTERNAL EMAIL] ____ > >> > >> My understanding of 3168 is that only in-window data packets are > >> marked ECT(0). A zero-length segment is a equivalent to a pure ACK, > >> which is not marked.____ > >> > >> __ __ > >> > >> On Fri, Dec 11, 2020 at 12:09 PM C. M. Heard <heard@pobox.com > >> <mailto:heard@pobox.com>> wrote:____ > >> > >> On Fri, Dec 11, 2020 at 11:51 AM Martin Duke > >> <martin.h.duke@gmail.com <mailto:martin.h.duke@gmail.com>> > >> wrote:____ > >> > >> This falls under the "much easier to do in other transports" > >> category, where I could just send a PING or HEARTBEAT marked > >> ECT(0) to test the queue in mid-connection, without > >> affecting the latency of anything that matters. But in the > >> TCP case, I'm not sure how to resolve Bob's second objection > >> (running ECT(0) for a long time would be unacceptable).____ > >> > >> __ __ > >> > >> Could zero-length TCP segments be used instead of PING or > >> HEARTBEAT? ____ > >> > >> ____ > >> > >> Mike Heard ____ > >> > > > > -- > ________________________________________________________________ > Bob Briscoe http://bobbriscoe.net/ > >
- [tsvwg] L4S and the detection of RFC3168 AQMs alex.burr@ealdwulf.org.uk
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Greg White
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Martin Duke
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs C. M. Heard
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Martin Duke
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Black, David
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Martin Duke
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs alex.burr@ealdwulf.org.uk
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Scheffenegger, Richard
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Martin Duke
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs alex.burr@ealdwulf.org.uk
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs alex.burr@ealdwulf.org.uk
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Bob Briscoe
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs Martin Duke
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs alex.burr@ealdwulf.org.uk
- Re: [tsvwg] L4S and the detection of RFC3168 AQMs alex.burr@ealdwulf.org.uk