Re: [tsvwg] ECN encapsulation draft - proposed resolution
Sebastian Moeller <moeller0@gmx.de> Mon, 14 June 2021 21:07 UTC
Return-Path: <moeller0@gmx.de>
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 DFEE83A0C99 for <tsvwg@ietfa.amsl.com>; Mon, 14 Jun 2021 14:07:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.646
X-Spam-Level:
X-Spam-Status: No, score=-1.646 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 XAMi9oVU0qUD for <tsvwg@ietfa.amsl.com>; Mon, 14 Jun 2021 14:07:20 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 865853A0C98 for <tsvwg@ietf.org>; Mon, 14 Jun 2021 14:07:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623704830; bh=iHl2U3iRtMNjd4xqkKvoBM7+QSXW3KREt9GJpv6u81A=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=NFvGy5fEaKpyLk5EYsdB2ygTLJh/BDHLTefBZZ44DznT1eVks8tIsuvwxXbkCW7j8 R9oTFYi6TP/xAbTYTn+YuV0zHRnB9zyzObm3PJlLvFTID+Hv84IPlivf4/bGdv8mZj dbc+gbnT9y/xd7jji+8FNmSLRKlKSYPQYU8MFS1g=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.42.229] ([95.116.117.224]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M5QJJ-1lrWLz2zCv-001TL1; Mon, 14 Jun 2021 23:07:10 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <AM9PR07MB7313521881989F3299582ED4B9319@AM9PR07MB7313.eurprd07.prod.outlook.com>
Date: Mon, 14 Jun 2021 23:07:09 +0200
Cc: Jonathan Morton <chromatix99@gmail.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, Markku Kojo <kojo@cs.helsinki.fi>
Content-Transfer-Encoding: quoted-printable
Message-Id: <24A9ADAE-2AAD-4348-805D-26C0E0BF86C8@gmx.de>
References: <MN2PR19MB40454BC50161943BC33AAAD783289@MN2PR19MB4045.namprd19.prod.outlook.com> <43e89761-d168-1eca-20ce-86aa574bd17a@bobbriscoe.net> <de8d355d-08b6-34fb-a6cc-56755c9a11ee@bobbriscoe.net> <MN2PR19MB4045DB9D2C45066AEB0762DB83259@MN2PR19MB4045.namprd19.prod.outlook.com> <alpine.DEB.2.21.2106021717300.4214@hp8x-60.cs.helsinki.fi> <290e1624-fa1e-21d7-95fb-90e284c27dd8@bobbriscoe.net> <C7509065-526C-4712-B6CD-E919910E280E@gmail.com> <AM9PR07MB7313E7797F850B210EC3A799B9369@AM9PR07MB7313.eurprd07.prod.outlook.com> <3009F41B-1D79-4B2D-BC16-8F2049EA4976@gmail.com> <AM9PR07MB731372180EBF5C815A684F3CB9359@AM9PR07MB7313.eurprd07.prod.outlook.com> <51F33C7C-3323-4ADA-98BB-16A83F763FCE@gmail.com> <AM9PR07MB7313DC2C4F922A90E2E602BFB9349@AM9PR07MB7313.eurprd07.prod.outlook.com> <272C3C12-C788-4080-9B57-C3E2DD7BC5B4@gmail.com> <AM9PR07MB7313406CE46E1A167A473443B9349@AM9PR07MB7313.eurprd07.prod.outlook.com> <9B8D5034-E580-4613-8DC2-6845F20FA9EA@gmail.com> <AM9PR07MB7313521881989F3299582ED4B9319@AM9PR07MB7313.eurprd07.prod.outlook.com>
To: "De Schepper, Koen (Nokia - BE/Antwerp)" <koen.de_schepper@nokia-bell-labs.com>
X-Mailer: Apple Mail (2.3445.104.21)
X-Provags-ID: V03:K1:ajDKNL9KeKsDWgLRQkjedcPR6tGDaxh+/w1LGMKqAyj17SzDOu4 /US/RKso/Aks7yeM8qGWJ6xIGqsdfrNvJfw+f35j7uhwBBuJXs55wWzxeM858Wrkk8MWHXL JAPoxyGW+6yzEcatSGca3PUQkh92GZ7qhrUnQZ7J01qieQV1OaGJpCKkmgZc49WAqHl4a3W G91M8O/DY1hNbNPz4W8yA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:SDBscEtgytI=:8lcZF67l7DoNpVfpbpTKDy /lbeRufbM1bkENpu3BWeeOI+qHJlZ/RYdrbmOwScl+Xpoq0MBY8/bsZfm1+XJEh9cbWa7COC4 14KQRPXOmTYcRdqZAaZxOyv9SdAE0kn0YPUhXrLlxPmaQ8eJUhWC4qS86xYrEhJncVNa2VhYL SkgHW3R8lonrUHonDZZku1SiCY9kVJf/B4hlCvLq9mReLYomVBZCVaOfCPFPM5Yi657UVRnnT OBtsoA5KK+fdz6FmMnKmR7i8mJ7wSi499UEkbrQceINZLMNsQiywDZy/M/+2pcFJkpOsEsOje IqsGivHiOcCCzgovnyYNR6jFdMCz55jKN1hZMqyl6jNCTTgICOMqBoFQILw1HU3xuanPUkIWb NJchyK5hYMElc6qil0598SwD0inAMRiocq0U/R/K6X1TAL8ujgTUUrJ+HBdKEiWeejM5ZNlL3 OCyFQZcnZiLLue2alEarF/f7o9vbwdKYuaECKWwNlZSRLnZ4pvmdK2dYQ6tdKYn5iIbBNaPvj iiMJwMqKVswhBShzqG2lq3joW/ZNenvSSu3fEgnX4EAiT/x4sYuW/atcml/tOPvPTPAoOuMis 7uGNTGQArkPIBH9d9sv9l0UUxtAJB7+H+maVgZ/2q55id3fD8MZ9+/8S1bNA7Bslfi2NXHUBO DF4NruXmgAw1QCnmHfbCHJp3pCaTRMTMUiL2rF/ZiTJB78sauC5PYaZK9tw6l9PsFIhAldIxt SQmK0jMpltGGqkTxsO/V2e/PxBm/pHETm0ibN/Pcfsfjjb1xTWBJw+q1r+OL9n9raU1hKj7M3 6g6PH0HtIfLAZfnJ4pn1xGdN4jNrJwkRxPeaqgdiFhcI9xG/FW4Ju8eiQN0UMmecjIiIx0EJq p9IF2AYJotGhpGYkklLxy57dRbmBR3dIvID4YF726ypfejNDfYiTtEwj4vwrCaItm4ipKSsOq YgMlhXEWhMdZ/7e4y2WtWu1nGMQ7FQb5KSpzvQtKeYz/3vzcxzk1c7jhDzwaulTB8bqBC+6y3 nggzrNVT58nTvUEo4kLVIUWJw1E4P5AOCicZKlFhhbc3vkk8rOPkX641dcyu0TmHjcR4kuzlp 75FHlK6/N5MiryluKmISe/ChzlPLu7Wd4K0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Bp7iGVzlSw_vxz5wmo65o8pscIs>
Subject: Re: [tsvwg] ECN encapsulation draft - proposed resolution
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: Mon, 14 Jun 2021 21:07:25 -0000
Hi Koen, see below, prefixed [SM]. > On Jun 14, 2021, at 18:04, De Schepper, Koen (Nokia - BE/Antwerp) <koen.de_schepper@nokia-bell-labs.com> wrote: > >>> Which is what I did in a previous post, using Dimensional Analysis. > Dimensional analysis is what you can use to check the validity of equations and further derivations from them. I didn't see any equation in your explanation. > > But I understand your point about the interval being constant for Classic CCs. The Congestion Controls determine if a "packet/byte probability per RTT" or an "RTT intervals between mark/drops" is used: > - DCTCP-like CCs use the marked byte (or packet) ratio per RTT (or other time interval), but marks are expected during every RTT (or other time interval) > - Classic CCs trigger reduction on occurrence of any number of bytes/packets dropped/marked per RTT (whether it is a packet of only 1 byte that is marked in that RTT or all packets and bytes marked in that RTT, the result is the same), and need a number of RTTs to recover from the reduction. If the flow is split in small packets and those are marked with the same random prob, they get smaller RTT intervals and a lower rate. > > There were recommendations for AQMs to marking packet based on their size, to overcome this unfairness, but this is not often applied I understood. Probably better is to solve this again in the end system: by only triggering a congestion event if 1MSS of data is marked. [SM] Question, since the decapsulator node is not guaranteed to be the the endpoint for tunneled flows, how would it know each flow's MSS? Especially since flows can have quite different MSS. Sure, we could keep state per flow, but that seems pretty costly and intensive... Regards Sebastian > This solves both cases: [SM] But will need an MSS-oracle to work well ;) > So it needs to collect at least 1500 bytes of marked packets which come from either a series of 32 marks in a row (a large 1500b outer packet was marked and all 32 46b [SM] ATM payload is 48 bytes (in a 53 byte cell)... > inner packets too) or it was NOT encapsulated in a tunnel, and an AQM is used that marks the small packets directly or it was encapsulated and a decapsulation works as a normal AQM and marks the packets with a probability (and in both cases marks 32 times more packets). Assuming the small packets are separately ACKed the 32 factor can be "undone" in the sender by only triggering after 1500 bytes were ACKed CE. > > For scalable CCs this isn't needed, as the proportion of marked bytes and total bytes per interval is used. And for Classic it would only be needed if the TCP/QUIC sender is sending small packets (not if they are split in tunnels in the NW, assuming they keep the proportional factor. > > I think this could be a simple way out of this otherwise already broken and complex mix of strategies...?? > > Koen. > > > -----Original Message----- > From: Jonathan Morton <chromatix99@gmail.com> > Sent: Friday, June 11, 2021 2:13 PM > To: De Schepper, Koen (Nokia - BE/Antwerp) <koen.de_schepper@nokia-bell-labs.com> > Cc: Bob Briscoe <ietf@bobbriscoe.net>; tsvwg@ietf.org; Markku Kojo <kojo@cs.helsinki.fi> > Subject: Re: [tsvwg] ECN encapsulation draft - proposed resolution > >> On 11 Jun, 2021, at 1:39 pm, De Schepper, Koen (Nokia - BE/Antwerp) <koen.de_schepper@nokia-bell-labs.com> wrote: >> >>>> Let me turn that around and ask you what would happen if 3% of the ATM cells were *lost*. >> >> So you are still limit your thinking in terms of CE == DROP, which I thought was accepted not to be the most optimal and useful way forward... We can and MUST use ECN in a much better way if you want ECN to get really deployed AND used... > > Funnily enough, nearly all current ECN deployment is using conventional TCP congestion control (RFC-5681, RFC-8312), a time-domain marking strategy (RFC-8289) and the RFC-3168 reassembly rules, and it seems to work pretty well. Since that is what's currently standardised in published RFCs, don't knock it until you've actually tried it. > >>>> Stop thinking in terms of "probability per packet", and start thinking in bytes or seconds instead. Everyone else is. >>>> There are two currently known AQM designs which implement this approach: >> >> I think you are missing the point here: It is not the AQM that determines the marks. It is the end-system congestion control. > > I agree, that is the correct way around to analyse the system. Which is what I did in a previous post, using Dimensional Analysis. That is precisely what I've been trying to get you to read and understand. > > What I found, in brief, was that DCTCP has a steady state that is dimensioned in marks per second, while Reno and CUBIC have steady states dimensioned in byte-seconds per mark. None of them are directly sensitive to packet or byte marking probability - that is just an emergent property of empirical measurement on an inappropriate assumed basis. > >> If that uses the packet probability it will DRIVE the AQM to whatever it needs to converge. It is a closed loop, and the end system determines the rate/probability. > > You're right that the AQM is effectively driven to the state needed to control the actual transport. Which is why the AQM in my PPPoA example would never be driven to a 3% cell-marking probability except under extreme circumstances. Instead, it would select a probability that resulted in a reasonable number of marks per second, or if you prefer, a reasonably large number of bytes between marks. Codel simply operates directly in the time domain, neatly bypassing a few awkward steps on the way. > >> We only can hope the AQM is responsive enough to quickly set that rate or probability. This is where CoDel clearly fails, so not a good example to use. We need to learn from our mistakes and forget "rules from the past" that are not useful... > > I'll accept the Codel is not perfect. However, it's the first AQM that matches with the problem domain well enough to deploy successfully with universal defaults, which I think accounts for its popularity. If you continue to claim that it "fails", you're going to have to back that up with empirical data. > > - Jonathan Morton >
- [tsvwg] ECN encapsulation draft - proposed resolu… Black, David
- Re: [tsvwg] ECN encapsulation draft - proposed re… Bob Briscoe
- Re: [tsvwg] ECN encapsulation draft - proposed re… Bob Briscoe
- Re: [tsvwg] ECN encapsulation draft - proposed re… Black, David
- Re: [tsvwg] ECN encapsulation draft - proposed re… Markku Kojo
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… Bob Briscoe
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… Sebastian Moeller
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… Sebastian Moeller
- Re: [tsvwg] ECN encapsulation draft - proposed re… Bob Briscoe
- Re: [tsvwg] ECN encapsulation draft - proposed re… De Schepper, Koen (Nokia - BE/Antwerp)
- Re: [tsvwg] ECN encapsulation draft - proposed re… Bob Briscoe
- Re: [tsvwg] ECN encapsulation draft - proposed re… Markku Kojo
- Re: [tsvwg] ECN encapsulation draft - proposed re… Markku Kojo
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… alex.burr@ealdwulf.org.uk
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… Rodney W. Grimes
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton
- Re: [tsvwg] ECN encapsulation draft - proposed re… Sebastian Moeller
- Re: [tsvwg] ECN encapsulation draft - proposed re… Bob Briscoe
- Re: [tsvwg] ECN encapsulation draft - proposed re… Jonathan Morton