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

Sebastian Moeller <moeller0@gmx.de> Thu, 06 April 2023 06:40 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 2EB23C15C528 for <tsvwg@ietfa.amsl.com>; Wed, 5 Apr 2023 23:40:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level:
X-Spam-Status: No, score=-2.547 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=gmx.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 rbqwPuCEwu0O for <tsvwg@ietfa.amsl.com>; Wed, 5 Apr 2023 23:40:52 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DFD83C15C2BB for <tsvwg@ietf.org>; Wed, 5 Apr 2023 23:40:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1680763246; i=moeller0@gmx.de; bh=Mokbfagzk8tAR9t/rV25Td6c2Xol/dpbLBt6zPk7usY=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=FmH+3Vzuq44C1hy4AyI37Y9+ehViXEiJV0FQhFqM3qhr3PacfXwIvdTNP5iZTGaUN +nPYxx3YOJyDdk74giO6mNHYslsulhZEOU5zEB0+64CDQkAAgPMggi7VWLASLBXwNC uzx6OJD3GHRLAuOnSiMqud50Fwm0cc2dM+OtGaHM7JTi3eJpz1B9jm2Q7bYgryH3Zc nEPk9REqFcPPkOGhbQcFUbe3nzOgRyIs1IcyW4pVyFsJMmhgHeZ9wrKCdtF0nBP1uB iYWpNzY81WfKXqup3IXpnm/5YNiLiC/PiM6AEVaztu4OWsFDl/xvd+l0/viTDBoUDH mLtKyLMJHdavA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from smtpclient.apple ([77.8.82.177]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MFbVu-1pc2cq0Cnm-00H6zK; Thu, 06 Apr 2023 08:40:46 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <FR2P281MB1527488D8FC9BA71B5B068F39C919@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM>
Date: Thu, 06 Apr 2023 08:40:45 +0200
Cc: Greg White <g.white@cablelabs.com>, tsvwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <098D4F77-2D8D-487B-BCA5-45EE67626A46@gmx.de>
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>
To: Ruediger.Geib@telekom.de
X-Mailer: Apple Mail (2.3696.120.41.1.2)
X-Provags-ID: V03:K1:4xrw2FAng5HDLYdjHHpV2nzp4eofPj8JutFOZ64gDKpHiidAsbV SsZk98LtPuow0GWPTeG2Ehx3fsa72A9Tl78SPuGdaBrPDtnB6Eu1Skjw+JrKm9C9ZEMXtCy Gxr2IZRpwmj7s9j2nkyVSrNpi3qqRQQl7m2DbkUe1xy6DfC5mr2sALLjtsAhuiEJkt+HvLe t6iTGlzZEklcGKIl5JaeA==
UI-OutboundReport: notjunk:1;M01:P0:pVf/AOYSZfE=;Evu8H5kU1JvBwUsguwssB6aVgoB +r3tjPjps2XL774uciWtemYF8C/RHSi5s2BBeccz5PP44snMpmhYJ/zL3HUqy4GWM3SZ3AFPU 0Gqwibi9F81qWWqZTeLR7cYegHUDvzK2oUJZSJAxy2RlJju8tQHiq3bvf1zZw8T0vu+xDTkBg rCeq6ezl7n8ypV2MRdqd/CzJlb7kreyGXsY8Jjzmng+Zslogc+30SNjazaH7CNTGbqlrLx+vo UP1whNWIwzI07L5vQnmb2nLYWBL9KATFa4ckgfW76fdoZDqDBAJ+g5HXbCzPbk2TiTYKWFxyI dnRK0UEVANCMx7ryD4a+SjaJ9idjDKQ2ocB6VKcC6/Id+IulXEc74B+Ud27L9hg54kr4NM00v 3LOLPoEQISQAGMfZ9Z30xXzzmqnxxrb6L23tBDXsNK3T4aVJ2F56KgjeIr0fFrriKB5pP1pd2 H6EswC8bhUwmV6B8UVORDi1/fDBA/KevCq9Dpsj46xkUfMk4IWUtC/ZX7LVw0bae49H4cPTKJ 77MSRHE55INXfcbuDOwFbdDcEeyWRMtBc5wxK7BeMnOUnkKyxQLiebE7XBb2wLOS+gd5OLqLp YU29Y2uVJektQs8Ma8OOZrN8OyqyOJ23vSkEVMjRjgupDbhfo420NY1RHZazNVqx1l/TxcZvN Vlpf4jfGnL95f1yh2cI5Mj1AHsTXHtOvdYk/kmnN1HaOsfbed2tbXwZUqYRXN+OaIjVzxLKhv ZCtp8Ov95fuFmOARUJ+XkEioEeJ50sQpmLG6Kao2+e6QBoA3IObGUw8LuMMsCo+hZdhjppzPN eDP/8Hfn5ibmm4FxPrmi4GUnuYx2VlF1cXL4BSpsdxYcQr1muBY63AsB7cg+6K5ShmAb5RjbT tAPIeJ5gOHsu/GFP9sE06bdndGZuy1GSudYtCN2Smi2qSfwI+L3OH+QS6exCUck5klHgxu9o6 7Pse+g==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Y5gzadBzhuGEEvmczwlPB3U4HWc>
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: Thu, 06 Apr 2023 06:40:57 -0000

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>