Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary Requirements, Forwarding - Departure rate

Ruediger.Geib@telekom.de Tue, 11 April 2023 10:45 UTC

Return-Path: <Ruediger.Geib@telekom.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 D3C4DC151B15 for <tsvwg@ietfa.amsl.com>; Tue, 11 Apr 2023 03:45:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.797
X-Spam-Level:
X-Spam-Status: No, score=-2.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telekom.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ppc3sKrhfU75 for <tsvwg@ietfa.amsl.com>; Tue, 11 Apr 2023 03:45:06 -0700 (PDT)
Received: from mailout11.telekom.de (mailout11.telekom.de [194.25.225.207]) (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 9F389C151B01 for <tsvwg@ietf.org>; Tue, 11 Apr 2023 03:45:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telekom.de; i=@telekom.de; q=dns/txt; s=dtag1; t=1681209905; x=1712745905; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=y+gzApjHh32Pb0QPcUX5r+L9vDNR8p4GZmCfyzXEM3k=; b=kYAZZHTUJmSdN038pynjjUf46hZrkh71HYlpvoS8t7N7j0yLtv8usP0Y l/sgdF6/dmM7uvBdTD4dn8Ik37ws3EQhMZ9K3IHpORv9b26UpfOgvOcXj CwISD/F3+MPvEiHcIWKJ5eysvv9SyhsMS+sSi6sfWA32is2GfvcCFKY4S gYWBO7wBwXEETptpNAocGQlcVdvF+2ohE0VCdxIGnuRdJGnehUN4YS0cl sR/seAcOw2L3EMkvXP0vcBBDHA+lbR9eH6tkA0VCLtmgkhwWYqiz2hRd7 VXQGoxTCzodM4a45MqPhXL9XowVQ8KxNPJCbfhExapZbwgO+m8NP9etuS A==;
Received: from qdec94.de.t-internal.com ([10.171.255.41]) by MAILOUT11.dmznet.de.t-internal.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Apr 2023 12:45:01 +0200
IronPort-SDR: R3v8oatbGFdXPsiBbMLQ5roK9P51aRswgm3Jfy/Cue81RXXFssAGIyxGvrh9PPa4XuXhQrAMkS Gh7u2gqivBYxQCLWI1+mfLt79E4SnvKQo=
X-IronPort-AV: E=Sophos;i="5.98,336,1673910000"; d="scan'208";a="718816399"
X-MGA-submission: MDF7bL8wRtzlF9ecN9DV8UmNaCjTlPFLuUIJxvqCohwhTIHJ3ZqPWYdDwixOwBl1Unmgh858LkBR7ZK/FUwcF8S8nxtsAt8PHo+QAMgXmwfjL5E52Y28g4fYt3e4eDkNCTAIY4IdN1KEaoqChyjmfMjZOsSE9iEEDSva8/2R9V9MRQ==
Received: from he101421.emea1.cds.t-internal.com ([10.169.118.197]) by QDEC97.de.t-internal.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Apr 2023 12:43:54 +0200
Received: from HE101416.emea1.cds.t-internal.com (10.169.118.195) by HE101421.emea1.cds.t-internal.com (10.169.118.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 11 Apr 2023 12:43:17 +0200
Received: from HE102770.emea1.cds.t-internal.com (10.171.40.42) by HE101416.emea1.cds.t-internal.com (10.169.118.195) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26 via Frontend Transport; Tue, 11 Apr 2023 12:43:17 +0200
Received: from DEU01-BE0-obe.outbound.protection.outlook.com (104.47.7.173) by O365mail07.telekom.de (172.30.0.239) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 11 Apr 2023 12:43:16 +0200
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ai0a5bJkRsMj4iIyU0OWZDBmYwSB17PPgk+iIWy/BF9Sz4KW4QK3/PX899/Q4Ch9WnW45nc/Pbx3VNSuCtyoFBq1GYMloaCzfBuWUvlUW884GhD4e0vLLz54hKcxA2lKsfzuRz+1aU9BQ1a5QiYJzA7wmSDX33n84HvHDwRJpVRwi0RcZeLJLV2zArtGMKdieq769+Pp9T4thdIDmpdtYNw7A8sO0F4v7rpJN29IszDixCByoTCEQEd9WAxTSP1u4m0O2Z+Ros9eAKDcuvxyOWsC+C3oC6AaW7KFk0dJKKaYN0YEzvx8WS3nQOkfBsWVLWKgPt6b5g5+UZnI8hwePg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y+gzApjHh32Pb0QPcUX5r+L9vDNR8p4GZmCfyzXEM3k=; b=QyhrKVkc+ct45JhbKDCCDSY7efN9qu0wb3/43XEUbSj2H8mApqSO+371jrc2W1X/T8CZISOU+dZALdUBavlsRNpbjVwTkApuRAEUuS0Qm52qOUiEinBXofPJPZ0RfI2lmKCI3t1ZHMdPrtIRC5i0jzjUyz8dUCExgfZuybBME3Lg5isNUkfYfzSYPQDWHKU5JJIemfrIhkZXZ1c2LKg9NkIFPShuo3EBX1nn0vFOF6gUVBw1EjKgDZBmGWa1gNJgJHFbJiWlLKNmjM8W9p/a0gJz9ZuNLJQbm/TWQ5GK9qeRk1FzXT+XxB9r5f4v3pjwa59fqERlPzF4xl/EMEpd3g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=telekom.de; dmarc=pass action=none header.from=telekom.de; dkim=pass header.d=telekom.de; arc=none
Received: from FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:8b::11) by FR2P281MB2491.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:65::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Tue, 11 Apr 2023 10:43:14 +0000
Received: from FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM ([fe80::93e1:f012:84cf:fc1e]) by FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM ([fe80::93e1:f012:84cf:fc1e%4]) with mapi id 15.20.6277.038; Tue, 11 Apr 2023 10:43:12 +0000
From: Ruediger.Geib@telekom.de
To: moeller0@gmx.de
CC: tsvwg@ietf.org
Thread-Topic: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary Requirements, Forwarding - Departure rate
Thread-Index: AQHZaFLFjwbbXNPj60mcpCndvEmem68d4J+wgAAOiYCAAA/9wIAAUbsAgAeDzMA=
Date: Tue, 11 Apr 2023 10:43:11 +0000
Message-ID: <FR2P281MB15271CBFBE97FCC5EAD11ED79C9A9@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM>
References: <167348364734.15098.9183646444272144529@ietfa.amsl.com> <FR2P281MB15272D72FF9840601F20FB039CD79@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <70A2425B-E5C5-4889-B645-2CB6D976BEC9@cablelabs.com> <FR2P281MB15279F63768D7D3FE5632D729CBD9@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <55198C96-2CA9-4A62-BA73-CD21D640F8E6@cablelabs.com> <FR2P281MB1527B3C340FEF9C9D9420B0A9C909@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <8721A569-984A-4521-A20B-9546CCC344EB@cablelabs.com> <FR2P281MB1527488D8FC9BA71B5B068F39C919@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <098D4F77-2D8D-487B-BCA5-45EE67626A46@gmx.de> <FR2P281MB1527B93DEB0D26DD82443B749C919@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <A69E640C-B8CD-4586-B81E-D633946BCF0C@gmx.de> <FR2P281MB152741C0775A7A02E6E312DB9C919@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <008EC0E9-D603-45D0-8E0A-4DD4654EB97A@gmx.de>
In-Reply-To: <008EC0E9-D603-45D0-8E0A-4DD4654EB97A@gmx.de>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=telekom.de;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: FR2P281MB1527:EE_|FR2P281MB2491:EE_
x-ms-office365-filtering-correlation-id: d6406d85-4928-4b3c-f1be-08db3a798c2d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Fo8Pagw/mKlu3kOFvZy0kj5RZ1oKaiWOBHzxjVUuwxXX24Vs05ja6bMpK6DnyCYZv9yaCouUi1SbHOrvMmQbLdjAzvfuqmdKbzQAdfxMP8H12UKDPC2jqriT0zod3D6t/ZETvmAh1kMK34AuZ+57/5s3HoOzudgKHcDvmkrJDZA87mI0OqqdzsrY4aFdx2qGOGqaLy7xzTQv0IPtVx5CTeKtCmYK60vldw48GeYBd7Czv3BWYSsmgTvAMZgD8tqOjHg1JKYOaccxjicMh8At7rnXX4a8lwBkdYlyuazNKrQPQcHM8u8+qXfsTRG83z8LzevdEH7xgYWqD8UnEUGYGg1tZ/QjdTabWwD5YKvb59eD2fX1ekH9ZiR1pq/pnd0Cb6P2TAac7lTgMMbSfbVb/TYzThbXmXwZZ5A0SWD9T24+hKF4jTPB3fUeNMQo7s2yEu56OGOnP241dVsmzUqEjwtt4mzVhhotq63iCPrQylvoPY1ilqQ/M0TtR5dzoLeIEryxQkVvA8i+6def8aVc0g6ZcCqwam0dB7WphXQ2cN7TFBFUlkzbhCPfkpN8h00FzrnpWPjbT5bXOMpAbnpqRriOFFAjl032eJzklgkGXzsPVVQFaDF0z/bnb62sy6ruvzEnBg8am56dCKq3+HGx8DfkBCT4YETbOo7KZ01bqx8=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(346002)(366004)(39860400002)(136003)(451199021)(1590799018)(71200400001)(7696005)(478600001)(316002)(53546011)(9686003)(26005)(6506007)(186003)(966005)(2906002)(30864003)(5660300002)(4326008)(66946007)(76116006)(66446008)(41300700001)(8676002)(6916009)(66476007)(64756008)(52536014)(8936002)(66556008)(38100700002)(122000001)(66574015)(86362001)(83380400001)(85202003)(55016003)(33656002)(85182001)(82960400001)(38070700005)(66899021)(1580799015); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: PoAO0WjjYi7QXxDvXRmsv/WRh1ndkphZNsuT+fvmRJHrLoSx68UoI4dFH48jR277cb0xAEqTdyUrgMLW8A0/+kvNGnaDYgrGsPb6wCY8Z5mDr4Ws5nRJabTTch8ouxeoPXr08mn7QA/vv40TkDEev/hsvjz447XW5FfxNWou/r3Yi63LGhiwzl48aYRlOIM+aLpSm70vMRtJurc4diqpX5I4MNdYISyo6lw7RzZPA8kzGBybl436DgZqtixQRA9XktyFza6ZZvkNDlPnZeAme/4rgitTJYXoiIkBlJxB/CItiWyx6lnxawESnkMkpUpcUF7jklod2sutHXeDc6HUPT9LlgDGVJq/KkJjX6IZeVdHMHFAOvmgW0EdQf5i3l7zMk6MHVuDd0EJ7GI3fPtTupZ4/7TwzkIplYAIT2aVBj2b885D6IDh8zLv1PZPA/bk2OvcaHKGmyRJq2MHlCCPZn33m6GU+hpZ07E76oBaBdolMLc1jXQL8Iej6FkRqhUWhy9B7Rmc5bPY7nKb8RCOCzpzj9EFDEwtvdKGsGMQVj3ghai1Y7FjKNIru5k7CleILE9S/ij8aJVNmWGNo9q2m6YEd5o+/2t22TRdE2zcj5lOpTGAJ1SUaJvEaaMd5DavATRwRj/GuP2SeFaVshO/2cB2FdH+xU10hRhGAz/4CrwrmDoq7DZLqvUwedenGl0D7JSl5vn6D3ad8Ov0JnYtQAKhIIhKhuF8qX03AXqR2KtNfUndinK6YEA3rrC7S3CSEec4lRUqN8I6VV2hxFt5V9+eUvQ4IfaEYrbnhhQkF5tnN3aE542PxUsFI++QAWOEGU0Eehut1K2F5bfbmRmQ9jinwys1G79OCZ8KLi6zsnsRz5o4Gtzgrdc4DhO6jgzL4aay2YjS5vNtqYCk2hCPyAGOIzzC/Yk2mllg7SeJL8UR34/euQwZGaS48olyo6vkKa/oqc/jjfW/FJdJeh9KiT9EYP23Whix6iVExg6jBZwZFlmNCwajRGPf7Bc42drevmOv0bd2WakfBGDmwZsVHDFYQvLWZuZqbKqSDlCGKciZsyuIQJcC/uuUbECQv9sWSeoIoTeJgszqANway9wbm0P1dD7gPthVUeLcrgKp3YRjGbMGMOvKetYJjYEFvDmyIA+LIXlQ/mMim3f/QffyvhHtN/j0iQGUhUAM6L7MO5Lh5VsyozB6fvTXNzEPkC4VIi7UuJ2D7YCt75IVfb+dE1kZDZFs4WFRUAzod0C+pCneAW7f+7GOMV8FwWp1QtwJvKlZwzsPYSjnsyJSSVdKvmhcDRUFKbmDbnl61dkPLaQEhwMFk5ev9SoG3P4JE9UEgVykY/Z+iUlKNdOiElLiHP/0N9A9g4hwQ3G7ETUry2RsOPCpvAh3QOhuqgWDSH4HKb34f197xP+G2KHatkjmdjkzbpM2Otinh6kIJkUbDdySdXEJOkZdkVLZp7je7/+O/rcJBjf/DPClxGDUwOTvCXuf87JvvZNOzeUPPSkFspWhmGomjjkwWVVne7j0Of1Hvjh2v8leSNga0gxgPgMjL2ngcJ/AaVAm0zofQEQsBTuXWGxSNMCr4i9iV7h+y4wR
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: d6406d85-4928-4b3c-f1be-08db3a798c2d
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2023 10:43:11.9720 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bde4dffc-4b60-4cf6-8b04-a5eeb25f5c4f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FBRJ40xObFlPPCmoSWYzQ4yhGI/IHQl9nVmZ/zurerzsqa0fjMXlFcN3S4BBK9KEXJts4N4zaBEVbjskktu/A+b9hwyHq0UmVUCSyF8AQQ4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: FR2P281MB2491
X-OriginatorOrg: telekom.de
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Arz7U4gkRIHCuoD5DRYJSTDDxcA>
Subject: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary Requirements, Forwarding - Departure rate
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
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, 11 Apr 2023 10:45:11 -0000

Hi Sebastian,

thanks. Your comments sound, as if one can produce the behaviour desired for NQB by FQ Codel (CAKE, maybe too), namingly
- getting a rather low added delay for spurious traffic
- getting a rather low added delay for well spaced flows

If you are aware of published measurement results proving these points, please share a pointer.

As to your good advice regarding well spaced traffic (which doesn't build queues): I'd be interested in results of high bandwidth testing streams which send fairly spaced traffic. That holds for FQ-Codel as well as for NQB.

Just thinking... a small RTT creates somewhat smaller "spaced bursts", than a large RTT. That translates to small RTT flows "cause less congestion" at an FQ scheduler / DOCSIS traffic protection. That would add another category of testing, low RTT NQB flows competing with higher RTT NQB and QB flows. 

Regards,

Ruediger



-----Ursprüngliche Nachricht-----
Von: Sebastian Moeller <moeller0@gmx.de> 
Gesendet: Donnerstag, 6. April 2023 16:05
An: Geib, Rüdiger <Ruediger.Geib@telekom.de>
Cc: tsvwg@ietf.org
Betreff: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary Requirements, Forwarding - Departure rate

Hi Ruediger,


> On Apr 6, 2023, at 11:52, <Ruediger.Geib@telekom.de> <Ruediger.Geib@telekom.de> wrote:
> 
> Hi Sebastian,
> 
> here we discuss NQB native, and afaik, a 50/50 WRR scheduling, if deployed by WRR (although Greg's latest response wasn't clear about that, it had a "whatever" clause). So L4S isn't the measure.

	[SM] Fair enough. I will keep NQB over L4S out of this sub-thread, sorry for my confusion.


> 
> Traffic protection, at least the one that has been published, re-schedules packets, rather than flows.

	[SM] Ah, I see, the NQB draft offers both the packet-by-packet remapping or the queieing-score per-flow based approach from the docsis queue protection design. 

> Also Greg's NQB draft argues by re-ordering as an incentive to mark correctly. 
> https://datatracker.ietf.org/doc/html/draft-briscoe-docsis-q-protectio
> n-06#name-rationale-for-reclassificat

	[SM] This is IMHO one of the cases to me where documenting a bug or mis-design does not make it a feature. If this is truly decided packet by packet, then the packet suffering from this redirection is not in any way guaranteed to be from the flow that caused the NQB queue to overfill, so this is not a real incentive as the gain from mis-marking a violating flow as NQB is harvested by the mismarker itself , while the harm is spread over all NQB users.
	I severely doubt that these kind of "incentive" discussions are actually helping unless "incentive" can be based on some quantitative way to measure and compare gain and harm.


> To me, this traffic protection sounds a bit like some kind of FQ 
> mechanism,

	[SM] For the docsis queue protection that seems part of the design, approximate FQ without actually doing real FQ... the question I have is whether that is a good trade-off or not.


> with the option to re-schedule packets rather than drop them (as compared to FQ-Codel).

	[SM] I think the re-scheduleing is the default option. But again queue protection is based on a flows contribution to queue build up, not on its actual relative flow-rate. I think that a well-paced flow will be able to gain considerable capacity above its equitable share without actually triggering queue protection to engage.


> To me, traffic protection + NQB would sum up to a hierarchical scheduler then (FQ followed by an NQB/QB scheduler - I didn't worry about detailed specs of the NQB-FQ/QB traffic part, but if you operate FQ by x ms <= target <= 5 ms for the NQB portion, using the NQB scheduler rate or a slightly smaller one as the resource to share for these flows, and move away offending packets into the QB scheduler, you seem to have largely made it - as I see in the text referenced above, QB "has a latency target of 10ms", if you want, that's 2 (schedulers) * target 5 ms each). The NQB scheduler following the NQB FQ traffic protection wouldn't see an additional queue then, as the arrivals are shaped. I'm not an FQ expert however and may have misperceptions.

	[SM] I think with a real FQ scheduler, the kind of flows that qualify for NQB treatment actually do not need any special casing at all... sparse flows staying below their capacity share will be serviced with at most one round-robin cycle delay (fq_codel/cake will actually give such flows a mild boost, as this tends to be generally helpful for e.g. newly establishing flows), and those flows exceeding their share will experience their own self-caused delay without harming other flows (much). In a sense a proper fq_scheduler does away with the need of an NQB PHB for low-rate unresponsive traffic. 
	But I think this is not the route that the NQB draft choose, and the proposed queue protection mechanism does not aim to equalize departure rate but to minimize queueing score. However these are not fully independent, any flow sending at a higher rate is likely to have a higher queueing score than sparser flows. My complaint in the context of NQB is still, that if the first thing to mention for NQB eligibility is "rate <= 1 Mbps" then this rate criterion should actually be policed, and that is something the proposed queue protection does not, not does the alternative of putting packets that meet a full NQB queue into the QB queue.

Regards
	Sebastian


> 
> Regards, Ruediger
> 
> PS: I agree, single flows are unlikely to congest single access lines and RTT is important, while bandwidth isn't any longer. In many urban regions.
> 
> -----Ursprüngliche Nachricht-----
> Von: Sebastian Moeller <moeller0@gmx.de>
> Gesendet: Donnerstag, 6. April 2023 10:15
> An: Geib, Rüdiger <Ruediger.Geib@telekom.de>
> Cc: Greg White <g.white@cablelabs.com>; tsvwg@ietf.org
> Betreff: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary 
> Requirements, Forwarding - Departure rate
> 
> Hi Ruediger,
> 
>> On Apr 6, 2023, at 09:30, <Ruediger.Geib@telekom.de> <Ruediger.Geib@telekom.de> wrote:
>> 
>> Hi Sebastian,
>> 
>> I haven't been involved in the measurements characterizing L4S. I'd hope (but I'm not sure) that the L4S queue coupling results in roughly equal congestion in both queues, once one is starting to be congested.
> 
> 	[SM] This only holds for responsive traffic in the LL-queue. The queue is designed to not drop packet, only mark or, if queue protection is enabled, to move a full "flow" into the non-LL queue. For non-responsive traffic (the type NQB is intended for) there os no push back, as far as I understand. Pete's measurements already demonstrated a number of cases where all that conserves some non-LL traffic throughput is the ~10% default weight for the non-LL queue. So no, the queue coupling is not robust and reliable (a fact the L4S designers implicitly conceded by putting in the weighted scheduler back-stop I would argue). Now, it is possible that alternative L$S-AQMs could avoid this problem, but neither DUalQ nor the related AQM set-up described in the DOCSIS specifications are such alternative implementations and both seem to be easily exploitable.
> 
> 
>> Also, if unresponsive traffic is present in the L queue (I'd wonder how a single first C flow would be able to kick in, while standard conformant L4S flows already saturate a link).
> 
> 	[SM] Well, DualQ specifies a weighted scheduler LL/non-LL 90/10 as back-stop. I assume that would trigger in such a situation. Also if the non-responsive flow's rate exceeds 90% of the capacity the optional queue-protection might kick in, but with faster and faster access links, it becomes IMHO more likely that a traffic source might end up being application limited ad hence might well stay below the critical 90% mark (note that these 90% are for the aggregate LL queue traffic, so if there are multiple flows in the LL-queue they need to share that capacity).
> 
> 
>> Otherwise, the C queue will be pretty much starved. That said - I'm not an L4S expert and rely upon the measurements executed during evaluation.
> 
> 	[SM] These measurements where IMHO performed (see https://github.com/heistp/l4s-tests), and confirmed that under reasonable (but non-optimal) conditions the L4S DualQ falls back to the configured weights of the back-stop scheduler. What was controversial is whether that condition would technically qualify as "starvation" and whether it was sufficiently likely to matter, however none of the L4S proponents was willing to offer a stringent definition of what "starvation" actually means let alone "sufficiently likely". At least that is my recollection*. 
> 	In L4S' defense, it does offer methods/heuristics that with responsive traffic of similar RTTs will end up sharing roughly equitably between the two queues, albeit not robustly or reliably...
> 
> Regards
> 	Sebastian
> 
> *) I was and am on record that L4S should never have been granted RFC status, so I am not unbiased on this topic.
> 
> 
>> 
>> Regards,
>> 
>> Ruediger
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: Sebastian Moeller <moeller0@gmx.de>
>> Gesendet: Donnerstag, 6. April 2023 08:41
>> An: Geib, Rüdiger <Ruediger.Geib@telekom.de>
>> Cc: Greg White <g.white@cablelabs.com>; tsvwg@ietf.org
>> Betreff: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary 
>> Requirements, Forwarding - Departure rate
>> 
>> Hi Ruediger,
>> 
>>> On Apr 6, 2023, at 08:24, <Ruediger.Geib@telekom.de> <Ruediger.Geib@telekom.de> wrote:
>>> 
>>> Hi Greg,
>>> 
>>> draft NQB is on standards track. Please specify the weights to be set for NQB and QB scheduler by requirements:
>>> - some generic text, not based on any implementation (which I think is roughly there). I'd appreciate text stating that QB/NQB share the same overall resources, are configured by the same priority, weight (or minimum departure rate) and also are equipped by the same priority and weight to access spare capacity. There's some text in the draft, but it is not very precise.
>>> 
>>> - to that a clarification related to your response: you write [GW] 
>>> It can be set to whatever ratio the network operator chooses (e.g. 50/50) in the case that L4S support is disabled.
>>> Please clarify "whatever" in the sense of standard track NQB: which range of NQB/QB WRR weight configurations is compliant with this draft standard? My perception was exactly 50/50, but "whatever" seems to allow for arbitrary configurations.
>>> - I'd strongly suggest that you provide an example traceable for a fair share of readers, which from my perception is good practice of other RFC authors. You reference the DOCSIS L4S implementation, a WRR scheduler with 50/50 weights (and the same for access to spare capacity) seem good to me.
>> 
>> 	[SM] The DOCSIS scheduler defaults to 90% LL-queue (used for NQB) and 10% classic; this is supposed to be OK as L4S-flows will scale down quickly on cross-pressure from the classic queue. However unresponsive NQB traffic is not expected to scale back and hence will be able to gain ~90% of capacity if sufficiently well-paced to avoid the optional queue-protection functionality (that does not asster maximal per-flow rates, but simply looks at the queueing caused by a flow, which can be minimized by high-precision pacing).
>> 	I think the NQB draft should mention this in the "3.3. Relationship to L4S" section explicitly*. The point here is that just moving NQB traffic onto an L4s AQM relies fully on the sender of NQB traffic to voluntarily follow the recommended rate limits (which as we discussed separately are hard to get right, how should n endpoint using rate-limited traffic ever know what the "true" link capacity actually is to scale its permissible rate to, but that is a different kettle of fish). 
>> 
>> 
>> Regards
>> 	Sebastian
>> 
>> 
>> *) With that I mean that a standard compliant L4S AQM will not assert that NQB and QB traffic share a link equitably and that the imbalance can be as high as the scheduler weights for a dualQ AQM imply. Sure there are other potential implementations for an L4S AQM, but e.g. for the one described in the DOCSIS specifications with its default 100*230/256 = 89.84375% LL weight it seems worth mentioning that NQB traffic can gain up to 90% of capacity, OR if I happen to be incorrect in my interpretation, WHY the NQB class will not be able to gain an unfair advantage.
>> 
>> 
>>> 
>>> Regards,
>>> 
>>> Ruediger
>>> 
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: Greg White <g.white@cablelabs.com>
>>> Gesendet: Donnerstag, 6. April 2023 01:57
>>> An: Geib, Rüdiger <Ruediger.Geib@telekom.de>
>>> Cc: tsvwg@ietf.org
>>> Betreff: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary 
>>> Requirements, Forwarding - Departure rate
>>> 
>>> Hi Ruediger,
>>> See my responses below [GW].
>>> -Greg
>>> 
>>> On 4/5/23, 6:12 AM, "Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>" <Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>> wrote:
>>> Hi Greg,
>>> 
>>> Section "7.7.3.2 Inter-SF Scheduler" of CM-SP-MULPIv3.1-I24-221019 contains the following statement:
>>> 
>>> coupling .... the Classic Service Flow to the Low Latency Service Flow, it relies on the Inter-SF Scheduler to balance this. Weighted Round Robin (WRR) is a simple scheduler that achieves the desired results, and is recommended in [draft-ietf-tsvwg-aqm-dualq-coupled].
>>> 
>>> The above text covers L4S, not straight NQB.
>>> - Please explain how this WRR scheduler is configured to support straight NQB/QB without L4S being configured.
>>> [GW] The WRR in DOCSIS has a configurable weight.  It can be set to whatever ratio the network operator chooses (e.g. 50/50) in the case that L4S support is disabled.
>>> 
>>> - If there's no WRR scheduler, then please explain how an implementer ensures that NQB and QB fairly share the same resource, while each operate with separate queues. I'm especially interested in the part "no configurable service rate/weight etc." for the NQB queue. An example is sufficient, maybe one including a WRR scheduler, if applicable.
>>> [GW] Aside from WRR mentioned above, perhaps a TS-FIFO could be used?  I have to admit that I've not thought about other scheduler options extensively.
>>> 
>>> - if WRR can't be used to realise separate NQB/QB queues for an implementation, please let me know, why this isn't possible.
>>> 
>>> Regards,
>>> Ruediger
>>> 
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: Greg White <g.white@cablelabs.com 
>>> <mailto:g.white@cablelabs.com>>
>>> Gesendet: Freitag, 24. März 2023 21:24
>>> An: Geib, Rüdiger <Ruediger.Geib@telekom.de 
>>> <mailto:Ruediger.Geib@telekom.de>>
>>> Cc: tsvwg@ietf.org <mailto:tsvwg@ietf.org>
>>> Betreff: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - 5.1 Primary 
>>> Requirements, Forwarding
>>> 
>>> 
>>> Hi Ruediger,
>>> 
>>> 
>>> FYI I've added an issue in the GitHub tracker to ensure this gets resolved.
>>> https://github.com/gwhiteCL/NQBdraft/issues/32
>>> <https://github.com/gwhiteCL/NQBdraft/issues/32>
>>> 
>>> 
>>> 
>>> 
>>> I'll try to answer your question.
>>> 
>>> 
>>> [RFC2598]: The EF PHB is defined as a forwarding treatment for a 
>>> particular diffserv aggregate where the departure rate of the 
>>> aggregate's packets from any diffserv node must equal or exceed a 
>>> configurable rate. The EF traffic SHOULD receive this rate 
>>> independent of the intensity of any other traffic attempting to transit the node.
>>> It SHOULD average at least the configured rate when measured over 
>>> any time interval equal to or longer than the time it takes to send 
>>> an output link MTU sized packet at the configured rate. (Behavior at 
>>> time scales shorter than a packet time at the configured rate is 
>>> deliberately not specified.) The configured minimum rate MUST be 
>>> settable by a network administrator (using whatever mechanism the 
>>> node supports for non-volatile configuration).
>>> 
>>> 
>>> [NQB]: ... the NQB PHB provides a shallow-buffered, best-effort service as a complement to a Default deep-buffered best-effort service. ... A node supporting the NQB PHB makes no guarantees on latency or data rate for NQB-marked flows, but instead aims to provide an upper-bound to queuing delay for as many such marked flows as it can and shed load when needed.
>>> 
>>> 
>>> So, NQB PHB does not have a configurable departure rate, nor does it guarantee that NQB traffic will receive any particular departure rate, regardless of the presence of other traffic of any intensity.
>>> 
>>> 
>>> <snip>
>> 
>