Re: [tsvwg] ECN encapsulation draft - proposed resolution
Jonathan Morton <chromatix99@gmail.com> Mon, 14 June 2021 16:45 UTC
Return-Path: <chromatix99@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 656843A2A6C for <tsvwg@ietfa.amsl.com>; Mon, 14 Jun 2021 09:45:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level:
X-Spam-Status: No, score=-1.847 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=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 J2Kd1y0dHXRv for <tsvwg@ietfa.amsl.com>; Mon, 14 Jun 2021 09:45:27 -0700 (PDT)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 1E1823A2A6B for <tsvwg@ietf.org>; Mon, 14 Jun 2021 09:45:26 -0700 (PDT)
Received: by mail-lf1-x130.google.com with SMTP id p17so22117010lfc.6 for <tsvwg@ietf.org>; Mon, 14 Jun 2021 09:45:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WGsd/i9Jz1whdzFFSZCJ4qv5ZagDKUct0dKvM4TpMnM=; b=mxVmjhMlo2cPKTIkhQvnw+3nMt/3ge2UUzCW+5oD5w/q9AYS+7mP2nqIIUFqf/LQnv tD3yiD5owTic9i/6SsI/ea4Z5MZ51QPwFf6dRtmXVsotvGjnd2Tip7MzYQAn4p1OOibK scX2RDgA0mILOrjqlWO/v63+OwBOEUfUyNwBsbPFbmzNj2wMg7i1tUZOYf2O4pw4Papy LhNS4dzEQqn6ECEN9tIrPC2tHK0QeysPK7Nv1hgI0FhBPxEb3oa3FPlzD6KyMh43M4Wg /vNWQhJ+CsyL8H+J6mEzA55vaTdbnyJDumByfh8Nski242j60iph+FRQy4SIIo+SH8aB gGxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WGsd/i9Jz1whdzFFSZCJ4qv5ZagDKUct0dKvM4TpMnM=; b=fIOitl0rpmZ0AlHtYkY6kcMNTWfIsoBiMBsZjDuNwIpb1QDb2xvg+ZJ8FsGgNfWF8+ +ASDdfShni2t37PbgbEjUM7/d3njyIE8a0/r5p5I2MCOUbDw4VzTFYJxvAxtRepxixKi 6qu422wnbDwRqmMqoHL7JSlILBmrXm+jFXf3QueOsaO/KFxqBFfHivsAOuMhf0CDM4V8 6NtLe63XD4KgfcogaRzCVFVBXWTG4v99gjn9+pfNkyfDTGv2RkEO+i89zRull0XjhIBM Mf4ZIt60/l9FUD9zvyK0npk3W+QUyek61+OaS1Wkhq67sCJHF7/56ZGAQY1rbQMxkz0i iK7g==
X-Gm-Message-State: AOAM53001k8X2m7l+gz2BikYLCLto3PBmeOiXZU2kmVefsfGtctaeGtl yBaQrrvrt2yZ37b2ygeeS8s=
X-Google-Smtp-Source: ABdhPJzhlrH1ttibAVMdk32JMPx2uuIh5jIjg8ySk2zfP6aqCkBg0EIG0bTrmmN7h6RFlwcRrS3+zA==
X-Received: by 2002:ac2:5a4b:: with SMTP id r11mr12810929lfn.338.1623689122276; Mon, 14 Jun 2021 09:45:22 -0700 (PDT)
Received: from jonathartonsmbp.lan (178-55-194-130.bb.dnainternet.fi. [178.55.194.130]) by smtp.gmail.com with ESMTPSA id s21sm1848216lji.57.2021.06.14.09.45.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jun 2021 09:45:21 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <AM9PR07MB7313521881989F3299582ED4B9319@AM9PR07MB7313.eurprd07.prod.outlook.com>
Date: Mon, 14 Jun 2021 19:45:20 +0300
Cc: Bob Briscoe <ietf@bobbriscoe.net>, "tsvwg@ietf.org" <tsvwg@ietf.org>, Markku Kojo <kojo@cs.helsinki.fi>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A29B4F8A-33B2-4710-B8E1-782E5FB62A89@gmail.com>
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.9.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/qDhPxdOyA6UKPDu9Wvksuo3N4M0>
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 16:45:33 -0000
> On 14 Jun, 2021, at 7:04 pm, 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. So you have not in fact read the post with the full explanation in it, in which the relevant formulae are in fact discussed. Do I have to quote it in full for you to bother to find and read it? > 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) The steady state of DCTCP is a constant number of marks per RTT. That's what you get when you cancel the measurement of probability against the number of segments per RTT that the measured probability is applied to. You really could simplify DCTCP's response to "each CE mark removes half a segment from the cwnd", thereby bypassing a lot of unnecessarily complicated fixed-point maths. I can walk you through *exactly* how the DCTCP response equations simplify if you need to hear it. At any rate, as the estimated path throughput changes, so does the required interval in packets or bytes between marks, but the required interval in *time* between marks is constant as long as RTT doesn't change (and on a given path, it shouldn't change much). Hence the dimension that DCTCP is sensitive to is marks/sec, and an infrastructure that preserves that dimension in the congestion signal is desired. > - 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. Yes, because when the packets are smaller there are more of them per second and fewer bytes between them. Keeping a constant packet interval between marks therefore distorts the byte interval and the time interval between marks in the same direction. Since the byte-seconds per mark dimension is what Reno and CUBIC are sensitive to, this also distorts their response. > There were recommendations for AQMs to marking packet based on their size, to overcome this unfairness, but this is not often applied I understood. I'm going to stop you there, and remind you that the predominant deployment of ECN AQMs today is a time-domain algorithm, namely Codel. There are a number of other AQMs out there that may (or may not) behave as you describe, but are deployed without ECN support and thus can only *drop* packets. The handling of dropped fragments is unambiguous, since the affected packets cannot be reassembled and must therefore be dropped in whole. But you are keen to state that dropping and ECN should be different, so let's start by applying marks in the correct way when ECN is supported. Since DualQ-Coupled and its PI2 algorithm is a new development, you should be in a prime position to make it operate, at least approximately, in either the time-interval or byte-interval domains rather than the packet-interval domain. As I have already pointed out, this simplifies the requirements on downstream devices considerably. > Probably better is to solve this again in the end system: by only triggering a congestion event if 1MSS of data is marked. This solves both cases: 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 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. That sounds extremely complicated, compared to just Doing It Right in the first place. I think it'd be helpful for some *other* WG members to weigh in on this topic for a change. Does anyone else have an opinion they'd like to share? - 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