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

Ilpo Järvinen <ilpo.jarvinen@cs.helsinki.fi> Sat, 23 May 2020 21:37 UTC

Return-Path: <ilpo.jarvinen@cs.helsinki.fi>
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 3A4403A0F03 for <tsvwg@ietfa.amsl.com>; Sat, 23 May 2020 14:37:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.helsinki.fi
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 WM1dL325A0Fw for <tsvwg@ietfa.amsl.com>; Sat, 23 May 2020 14:37:20 -0700 (PDT)
Received: from script.cs.helsinki.fi (script.cs.helsinki.fi [128.214.11.1]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5FDD3A0F08 for <tsvwg@ietf.org>; Sat, 23 May 2020 14:37:19 -0700 (PDT)
X-DKIM: Courier DKIM Filter v0.50+pk-2017-10-25 mail.cs.helsinki.fi Sun, 24 May 2020 00:36:44 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.helsinki.fi; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; s=dkim20130528; bh=nFX1QSF8puT9sG5ED JFadBlEyT2Skbx9wk7J0Hpf/FU=; b=Y02+gtN48F6M/PhwqbbeSobCH7UBLKc2C gty830oyneyg2Sj+ZHEWqXLsXsKF4cw8B9ThoNLx7N+dXI8kH0tDn1nV0hFpwXSo rMXYtXr3fjd0BE+TM2CNxXnc0RyE7dxE5UetG0raGxW+4uH8oIiyAphtgak2lT/B ch1Oo3ERoQ=
Received: from whs-18.cs.helsinki.fi (whs-18.cs.helsinki.fi [128.214.166.46]) (TLS: TLSv1/SSLv3,256bits,AES256-GCM-SHA384) by mail.cs.helsinki.fi with ESMTPS; Sun, 24 May 2020 00:36:44 +0300 id 00000000005A000D.000000005EC9976C.000038D9
Date: Sun, 24 May 2020 00:36:44 +0300
From: Ilpo Järvinen <ilpo.jarvinen@cs.helsinki.fi>
X-X-Sender: ijjarvin@whs-18.cs.helsinki.fi
To: Sebastian Moeller <moeller0@gmx.de>
cc: Bob Briscoe <ietf@bobbriscoe.net>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, Joseph Touch <touch@strayalpha.com>, tsvwg@ietf.org
In-Reply-To: <2268A1D8-9E49-41DB-BB52-3BF6381025E8@gmx.de>
Message-ID: <alpine.DEB.2.20.2005240026090.11277@whs-18.cs.helsinki.fi>
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> <2268A1D8-9E49-41DB-BB52-3BF6381025E8@gmx.de>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/SUtXnCg9ZRxD9_FCgHlwBSRbg0Y>
Subject: Re: [tsvwg] Gorry Fairhurst Individual thoughts on choosing whether/howto 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 21:37:35 -0000

On Sat, 23 May 2020, Sebastian Moeller wrote:

> 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 what about the header files that in this case actually implement part 
of CoDel (rather than just containing some func signatures)?


-- 
 i.

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