Re: [tsvwg] Gorry Fairhurst Individual thoughts on choosing whether/how to advance ECN work.

Sebastian Moeller <moeller0@gmx.de> Sat, 23 May 2020 19:03 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 8F9723A0D87 for <tsvwg@ietfa.amsl.com>; Sat, 23 May 2020 12:03:18 -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_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 hfAAIq7Kjjsm for <tsvwg@ietfa.amsl.com>; Sat, 23 May 2020 12:03:16 -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 5265A3A0D55 for <tsvwg@ietf.org>; Sat, 23 May 2020 12:03:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1590260534; bh=Ek48CHb/cbF5H/iHm3tdVs/u/MURdPfFhgOP2fXlQhk=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=W6J4ZkyGkRo5NGFRAClQgYqsd+n2b1MIcJIdJIZWFWRffnaEh70E2XNV+2HI+9yAJ Dcbq9fqIJLSR8dDp6CkO/+JFstti5ZRlKdnIfp6N3oAkG65Vh1wQx6yEkRmw3AesF8 QGb60wHe4Mq27+XN2Wil8WBKo4O7IqTEOw2GCJwE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from hms-beagle2.lan ([95.112.110.247]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MJE6L-1jIz1h0w5j-00Khwz; Sat, 23 May 2020 21:02:14 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <dd8e3896-2951-537f-e3d1-9954c93348dd@bobbriscoe.net>
Date: Sat, 23 May 2020 21:02:10 +0200
Cc: Paul Vixie <paul@redbarn.org>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, Joseph Touch <touch@strayalpha.com>, tsvwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2268A1D8-9E49-41DB-BB52-3BF6381025E8@gmx.de>
References: <dbc71da6-70f1-7369-1d2d-f08fb3b08b69@erg.abdn.ac.uk> <21483444.sDhFMENYeD@linux-9daj> <a85600da-e69f-9190-7ca1-d23a7e7246f9@bobbriscoe.net> <3267993.nvHYsSR2bi@linux-9daj> <dd8e3896-2951-537f-e3d1-9954c93348dd@bobbriscoe.net>
To: Bob Briscoe <ietf@bobbriscoe.net>
X-Mailer: Apple Mail (2.3445.104.14)
X-Provags-ID: V03:K1:lL7DqsdOuNNOAZnq50QusWvnKxaDp9Wa2F7IYsQdXDyo9J2+1EM ljmVIPlxSDQ7oPD6VbprpUFoP99uxeMAy57/uvHEqcoluERPm/hURlL4C2ujLT7CGWCFXFG 5wz+vO6WU8jvD115JhqUHjdKavJ9Z/5nkhGhfi0cZtr4Zq6zGICX1erp3eyGhAxyw1V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rbnzvgqcXp4tajjynW7vZJv2Kq+sKfbmNZ/0v0x972fn6 Wjwlkoi9hLolmEntZKt+92m/5RYsXLVxBBQ/DwjA0xwrUTnQOTrUCQ4Z2ZSCe7Pre+V2ya1yK KkJtDyD92XFf1N+aTllgyxYpR07laDO4COTxxx7pGYtyWwj13ufwB5v2Kp7DyPFnUdQvOoFrH fqWxXcGxNMHaqlqVq9cNeiPfw4j8w/MMpCyqZE6tTANj4wdDHsuko5NEw/sZh4RY9seNJi7a6 SeRR7xMA/ax+Y2Cv0
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/20rPnvg4gno45CA3YQ7oRsKMTy4>
Subject: Re: [tsvwg] Gorry Fairhurst Individual thoughts on choosing whether/how to advance ECN work.
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: Sat, 23 May 2020 19:03:20 -0000

Dear Bob,


> On May 23, 2020, at 17:07, Bob Briscoe <ietf@bobbriscoe.net> wrote:
> [...]
> [BB] I don't think anyone except you is arguing that FQ_CoDel is simpler than the DualQ (because it isn't). You can compare this pseudocode yourself, which also links to the Linux code:
> https://tools.ietf.org/html/draft-ietf-tsvwg-aqm-dualq-coupled-11#appendix-A.1

	I note that the fq-codel RFC contains zero lines of pseudocode, so by this measure it must be infinitely simpler than the dual queue coupled AQM, no?

But joking aside, it seems like an odd choice to compare the complexity of an qdisc in the main-line kernel with an out of line qdisc under active development, but if we attempt to do this, surely 724 lines for https://github.com/L4STeam/sch_dualpi2_upstream/blob/sch_dualpi2/net/sched/sch_fq_codel.c (plus 310 lines for https://github.com/L4STeam/sch_dualpi2_upstream/blob/sch_dualpi2/net/sched/sch_codel.c) and 746 lines for https://github.com/L4STeam/sch_dualpi2_upstream/blob/sch_dualpi2/net/sched/sch_dualpi2.c do not seem to support your hypothesis, unless we want to quibble over individual lines of code here. And yes the runtime cost for fq_codel probably is a bit higher than for dualq, but I would be amazed if we would talk about an order of magnitude (base2) here...

My point is, please refrain from completely unhelpful complexity comparisons by virtue of pseudeocode, especially if not both qdiscs to be compared actually exist in pseudocode in the first place....


> 
> The Coupled DualQ solely classifies at the IP layer (ECN field). It consists of two AQM instances:

	[SM] True, until it becomes obvious that without the optional queue protection mechanism dualq severely lacks behind fq_codel in real-world usefulness. Once you add the queue protection to the requirements, your are looking at L4 headers again. That said, there is absolutely no reason, why fq_codel could not look only at the IP header for its hashing needs, if you really want that (and interestingly cake offers such flow-definition modes).

> * one instance of an AQM for the Classic queue, with similar complexity to /one/ of the per-flow CoDel instances.

	[SM] +1; it just turned out in the real world that the performance of a single queue AQM simply does not deliver what the end-users actually want from an AQM so that nobody went for a single queue CODEL. I see absolutely no reason, why this should change now with L4S. Now, I only talk to end-users, ISPs might see this differently (but ultimately will need to convince their users that L4S is actually an improvement).


> * one instance of a brain-dead-simple stateless AQM for the L4S queue.

	[SM] Since the two AQMs are coupled, the required state is simply kept on the non-LL side, claiming that it is stateless seems a bit disingenuous, no?

> 
> 
> I'm seeing that vendors of larger scale equipment /have/ implemented it and operators /have/ plans to adopt it, whereas they didn't adopt FQ_CoDel.

	[SM] Interestingly, end-users interested in low-latency and sharing their access links between, say gaming and streaming, opted for fq_codel and cake. Even though this requires post-bottleneck ingress shaping and is computationally relatively costly. So the relevant market has spoken and adopted FQ_CODEL. 



> I'm suggesting an explanation for that (based on what they've told me), not talking theoretic possibilities.

	[SM] Good marketing of the L4S effort? Unless you kick the tires yourself and simply believe the claims in the L4S drafts it seems like the perfect solution, optimal performance for low computational effort. It is only after you realize that this performance is neither robust nor reliable that questions will arise.


> 
> Another explanation is that L4S enables new interactive applications that are currently infeasible over the WAN.

	[SM To repeat myself, none such applications that are both unfeasible today and are suitable for being run over the best-effort internet have so far been proposed. I am not claiming that L4S might not improve upon the state of the art at all, but this specific claim of currently impossible novel interactive applications seems wishful thinking. Case in point google satia, nvidie gforce now, shadow cloud gaming, all offer interactive real-time reaction-time bound games over the existing internet. That is your market, right there, already working over the existing internet, what are you going to offer?

Best Regards
	Sebastian


> 
> Regards
> 
> 
> 
> Bob
> 
> -- 
> ________________________________________________________________
> Bob Briscoe                               http://bobbriscoe.net/
>