Re: [tsvwg] David Black (individual) on safety of L4S for the Internet

Jonathan Morton <chromatix99@gmail.com> Tue, 12 May 2020 16:08 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 A47753A0B81 for <tsvwg@ietfa.amsl.com>; Tue, 12 May 2020 09:08:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, 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 s00tRPOajIH0 for <tsvwg@ietfa.amsl.com>; Tue, 12 May 2020 09:08:53 -0700 (PDT)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 A4ACB3A0B7E for <tsvwg@ietf.org>; Tue, 12 May 2020 09:08:52 -0700 (PDT)
Received: by mail-lj1-x232.google.com with SMTP id u15so14321394ljd.3 for <tsvwg@ietf.org>; Tue, 12 May 2020 09:08:52 -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=+BNqcU+3mIwlM9CcjYQi5ps1Y8K3aaaxyoASPBNDNGQ=; b=P1sp96NCbca37kkBU6O5l9tQNb9sy5mTR3kBpYW+z07sklzXn/DBkdDWC+YfmsU++8 OQY6ZGpRN6vtS9j4mhqCi6RF8BBnPT+r/1cHz+TIM+2pZE/qn2CcZLvM6gkPR7/rdMQL JLZcV3brVs8ctr0KfmqiQmeM758j0EGCNLF+u7Ywx3nyoo9nICRZBq4Bb9/GD6y10WeU iDKKw3FPSJ3GtxAg2w++fgiUdDTLahXT57Y4eCdzhxASvNPVhSIB05zR+hyRdEeBPVjN 9pDUcrvZlXGVX4ld+Rcg1vmgOlif9y/K54Le/xNUijNppR2NkREs2ki+mzbmycX8KHZ7 bSMA==
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=+BNqcU+3mIwlM9CcjYQi5ps1Y8K3aaaxyoASPBNDNGQ=; b=JJCyeGQPQiamgAUKThoZKzSTY4jIoVpY6TsJYqxdVS20k99TAi1Ygg9I1F0dxmCP9F +fFjUukECMff00X+dTRhL1JmnB6A6VQzuEvGqywqIsKJ6foL/6XxxrubgnREpFGmQN/w 9CUVCDuzoTfNEj6KlGxMomkbU4kxGx05gAEjPTTH3YRkFu6epJsLVnRxUhawU3scD/y0 6fGj+idfROww11U7o0WQe9Kxf0B2ZGXSgKJx6g/wblmsaJo59ipJy87w1mO55jHORBVy UazCQgrmNUunTH7Le+Y6pzkcSmyxarUfzjvdZV2zI8yvBJ1QfC9WfQzZX6f7Cdxk7lgT e2RQ==
X-Gm-Message-State: AOAM531JdLR7VtohxjSlsXJU3i289RuHf+mgwV7nik2YHriLe23YJIeV Z3KMShEMeQyl17wFec12WGk=
X-Google-Smtp-Source: ABdhPJyxJ8D2lsGeQly2iZmT4LGWFAODMrJys3t7FtYaTHynd+CwBm1S2UwJIDFmemulqGFqvSCRVA==
X-Received: by 2002:a2e:87d9:: with SMTP id v25mr14049804ljj.241.1589299730508; Tue, 12 May 2020 09:08:50 -0700 (PDT)
Received: from jonathartonsmbp.lan (83-245-235-192-nat-p.elisa-mobile.fi. [83.245.235.192]) by smtp.gmail.com with ESMTPSA id x204sm14137815lff.21.2020.05.12.09.08.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2020 09:08:49 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <711afebb-456b-abfd-e910-f1d31789bae1@gmx.at>
Date: Tue, 12 May 2020 19:08:47 +0300
Cc: tsvwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8F98371B-824C-4A38-937B-9A8972B13C9D@gmail.com>
References: <MN2PR19MB4045DBC270D70DECE5F2B4AC83A20@MN2PR19MB4045.namprd19.prod.outlook.com> <CADVnQymXFe7o4M_GgwqxDP0x5UsAKE+1oQcavyDTF04gP-S34Q@mail.gmail.com> <6E67B51E-6F0A-4BC9-9A77-478F6C5B1222@gmail.com> <711afebb-456b-abfd-e910-f1d31789bae1@gmx.at>
To: "Scheffenegger, Richard" <rs.ietf@gmx.at>
X-Mailer: Apple Mail (2.3445.9.5)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/gwhJulq6OpWJbvrvTEZU3_y6nBY>
Subject: Re: [tsvwg] David Black (individual) on safety of L4S for the Internet
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, 12 May 2020 16:08:56 -0000

> On 12 May, 2020, at 6:01 pm, Scheffenegger, Richard <rs.ietf@gmx.at> wrote:
> 
> > In particular, to obtain the 50% reduction to a single CE mark that
> NewReno implements, an entire congestion window's worth of segments must
> be marked CE by the AQM.
> 
> The DCTCP sender has to believe that one window's worth of segments was
> received with CE set; This is incidentally the backwards compatibility
> mode of DCTCP against RFC3168 receivers, which will latch ECE until an
> (acceptable) CWR has been received. (And based on the readily available
> DCTCP / RFC3168 implementations, this is something that tends to happen
> frequently).

I'm perfectly aware of that, but I was referring to the case where DCTCP senders are matched with DCTCP receivers, as that is both the intended deployment scenario for DCTCP, and the one which exposes the problem.  In engineering it is necessary to consider the worst case, not merely the best case, and risk-assess the consequences of that worst case occurring in practice.

In fact, this particular backwards-compatibility mode has a hidden danger to it.  A sender may select DCTCP behaviour and see no detriment at first, because all the receivers observed behave conventionally and this backwards compatibility mode is in effect.  And a receiver may select DCTCP behaviour and see no detriment at first, because all the senders observed also behave conventionally.  But the behaviour then changes dramatically when the two happen to meet, and by this time both the sender's and receiver's operators have stopped paying attention.

That's why protocol standards exist to be followed.  I really shouldn't have to spell that out in the context of an IETF WG debate.

> hardware is being deployed which only
> supports 1/p marking in heterogeneous environments today

This is irrelevant, as I noted before.  An AQM does not enforce 1/p behaviour or otherwise.  When faced with mixed traffic types, both types of AQM will trigger the unfair behaviour, unless this is explicitly mitigated.

An AQM may be *optimised* for a particular traffic type, of course - in the case of 1/p behaviour on a short path, the optimisation is to mark at a shallower depth and a higher frequency than for 1/sqrt(p) behaviour on a longer path.  But if it is optimised for the wrong thing, then the AQM is badly deployed.  And, to state the obvious, currently all RFC-compliant traffic on the Internet is 1/sqrt(p) on a relatively long path.

 - Jonathan Morton