Re: [tsvwg] ECN encapsulation draft - proposed resolution

Sebastian Moeller <moeller0@gmx.de> Fri, 11 June 2021 15:12 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 CA5B93A07B7 for <tsvwg@ietfa.amsl.com>; Fri, 11 Jun 2021 08:12:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level:
X-Spam-Status: No, score=-1.649 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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 LYlKRLCBcpBf for <tsvwg@ietfa.amsl.com>; Fri, 11 Jun 2021 08:12:32 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 F21DE3A07B6 for <tsvwg@ietf.org>; Fri, 11 Jun 2021 08:12:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623424345; bh=78Gk9/QP3hnUk4TXjr+mnTdkRXg7MoJXxjVngVjKw08=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=brvv0fUQCQ69fDArGC+RKi99vFPq9/HYPVv+7rFKYe8G06u88OL3B6JnbyElRA42r Je1XzYfqD4MuFEEWsAX7fdgXwtFSa6X6DZ9nJPTe+Nv4jakM7e13h3nI+q993mI3AF MiYBv2F6nzCNb+Y8D7wYTxI/+900/yYTYfiXAW7s=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.250.105] ([134.76.241.253]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGyxN-1m42uJ4Ak7-00E4Uf; Fri, 11 Jun 2021 17:12:25 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <AM9PR07MB7313406CE46E1A167A473443B9349@AM9PR07MB7313.eurprd07.prod.outlook.com>
Date: Fri, 11 Jun 2021 17:12:21 +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: <98E99D91-F09D-4CCC-BE29-A68F8A368488@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>
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:YJxYWybLeHIVolm1XBtW1Lht2NSLvAKT465I0FRal/nVUTk0t/X 6q7jLUlFEOMSBrVUHtKfJq3A3cDCfj6XfzrCos1z9I2i6dx1BgGSMrtS26dgwDkd9h7ZquX 86G7H2JUliThDvdyNFfvqs+oVmufX8ZXnIT7KUK3HbTekJyO3RaUd2Kean4UIpDx0gLBzZo M8oo6moX7E1019t8N9VMw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:vpcUeym3djs=:Fqy9bShZg4CbbER+mbScBT 5FrA19CRVAJvVONteNaywZqcgcxGPnJw13XXKUrA1DhEQhvqZtvD8X5pNtKhI54wdVT4vGGwq 04NhioORP8lWNY0oGir3oAsGbTobw8WUy19lTBHanlPv6Xhz/pvER3Ur2wIuQmlFE/+BN8yGy 4wK40GeT3472ep05hWgfdPiiTD3OqdS0qhogPjSYTJW6aR8UXRoRf0MMgcRDamjLnP7zE0OSo qojmNujS/yHZOdes+e9kYrbylEuj2WK9hAgEL0omvArYZb/Q5XQNWhVjIuCnFLYKyq/cz0hfA rB1cQuXj8HEx3Oq4oRLxdElBF9cRagctz80o9YQ91Y9KJ9P2PgVDi0GcSCt/u92YNV1+3NIaq q4qoyWQvX168LTq4HbA4+mPK/QqZzP2P9ejHe4/lqPM0aaehZMhOTTJRSBrfQBgayZnb1ik9F RtWzfxHj2TQGsNJZX6TZTTrxJ4k2PCD6kH/+G6PHEWCEq/84Roq+xyyie2Ses7C0KIRXDBnre 9kX8QQIIwkuVnMKKYXJIwjpi8IqwF3bnhowftn5BRJPcC04iMvqPo/pbsB6cKLqQZmKsb1c59 SV0OTGh0A0mqCHcGBevnTTKFrP/VdGmJde2pXHOJ2mxSCsFlAyXrodkzv1AQu2EBkW61o6Ihs 56ywXHyRBTmfxMBno8UM0BRFVhFZG/zHOilVSdxfUcMLf1/noxYQQGJMHi2knxnrJtqKEY2MX 7FXCQoeTkrRkrWg6ryxVPSjvQ4BbRtusChN3bZMk1uKe35PTJ0W/t4YtakUg4JNRjiDyjJHUV O1EVDnE0eLrSrYZrFIBp7+cMVxHKdRqCT8iHts/uA0XcdGupBe20EOzGGg1Oa+bF0sP22D1vc euIiU1a/2J4G1J07qqeZu8ct1lGkYUtV02kUuOOBRLelnsSY4Ej+k+T7JKVLpoN7c3JBEU8+G n7PUPxpO8sg6DzjvgE3oHu5SLHgIC8pgcJX83wosdo3Lga6c1zNaRlLGSkOsU1UxvEi8NuCUi y2/+yhuOUg5lywEho9vPr1zZY770yf+Fu3G3FbdksbFm8dWHlD0oQRuieC7/k2VkKK+5VZabJ 9n7lWzvE+3w6EPLf7zQ88YH7jLd5ROOHWIY
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/4G9XT1WNSpkpZdDan6rzneIZECs>
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: Fri, 11 Jun 2021 15:12:37 -0000

Hi Koen,


> On Jun 11, 2021, at 12:39, 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...
> 
>>> 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.

	[SM] I would agree that it is the endpoints that interpret the marks, but it clearly is the function of the AQM to actually set the marks, no? And for this to work, end-points need to interpret the marks in an agreed upon fashion so that AQMs can expect specific per-flow behavior to marking to occur, so the AQM can achieve its own goals (what ever these are). If push comes to shove all AQMs will need to drop packets (even in a fully L4S world there can be situations with queues exceeding available memory or similar). So marking is a way for an AQM to be nicer/gentler to flows (talking softly) but if the flow (or the aggregate) does not respond quickly enough the AQM will use the big stick it carries and start dropping packets (as dropping is the only solution to a bottleneck node's immediate problem if ingress traffic exceeds egress capacity for too long). 


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

	[SM] Only in the case of a single flow, other wise you have the interaction of multiple endpoints happening in the bottleneck buffers which are potentially outside of the control of each individual endpoint...

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

	[SM] Not sure what you mean with Codel fails, though.My homenet work has been sitting behind a codel-style AQM for almost a decade now (first sfq, then fq_codel, then cake) and generally this works well. Sure for individual (under-responsive) flows codel can be a bit too gentle, but that mostly is ironed out by stochastic fair queueing, which tends to isolate the fall-out from misbehaving flows mostly to those misbehaving flows them selves. 

Regards
	Sebastian



> 
> Koen.
> 
> -----Original Message-----
> From: Jonathan Morton <chromatix99@gmail.com> 
> Sent: Friday, June 11, 2021 11:19 AM
> 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 11:59 am, De Schepper, Koen (Nokia - BE/Antwerp) <koen.de_schepper@nokia-bell-labs.com> wrote:
>> 
>> Did you consider the consequences too? With your approach it means that if you just mark 3% of the ATM cells, 100% of the inner 1500 bytes packets will get marked?
>> Is that what you intended?
>> While if there are small packets mixed in the inner stream of say 48 bytes size, they still get 3% marked. Is this what you intended too?
> 
> Let me turn that around and ask you what would happen if 3% of the ATM cells were *lost*.  In that case, very few of the full-size packets could be reassembled, and throughput would drop to almost nothing.  The analogous congestion response from a high percentage of ECN marked packets is a natural and obvious consequence of applying 849 marks per second.
> 
> So don't do that, then.  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:
> 
> 1: Calculate a time-domain marking schedule, as Codel does.
> 
> 2: Scale the marking probability by the size of the unit being marked.  This would naturally scale down a "3% per 1500 bytes" marking rate to be more suitable for 53-byte cells.  Small packets would also be marked less often, but a capacity-seeking flow using smaller packets would still receive the same number of marks.
> 
> Incidentally, I am getting somewhat weary of having to explain everything from multiple angles separately to each interlocutor.  I already made the above points a few posts ago, and I do wish you would have read and absorbed the argument instead of just ignoring it.
> 
>> We should decide what is the simplest for the expected way forward…
> 
> The simplest rules to implement happen to be the ones that preserve the time/bytes interval between marks.
> 
>> …(scalable, marked bytes %).
> 
> The 1/p congestion response is sensitive to time between marks, *not* to the percentage of marked bytes.
> 
> - Jonathan Morton