Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - Section 5.2. Traffic Protection (text as is) - MUST fail gracefully

Sebastian Moeller <moeller0@gmx.de> Thu, 16 March 2023 09:57 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 1050BC13AE55 for <tsvwg@ietfa.amsl.com>; Thu, 16 Mar 2023 02:57:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.846
X-Spam-Level:
X-Spam-Status: No, score=-6.846 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_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 RJ6o9z5HdOH8 for <tsvwg@ietfa.amsl.com>; Thu, 16 Mar 2023 02:57:25 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 7A018C15154E for <tsvwg@ietf.org>; Thu, 16 Mar 2023 02:57:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1678960638; i=moeller0@gmx.de; bh=BxyiaRjGe2o9ITmQGUTr3T6WPnoEzCThe2DZIn3WDoE=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=tCLdL/yhFhZBwjMK1f0DDScbzRdAo+rsR/vPnzkHfPUpCd0p7VPZJk7fGEXjmgjYR HONzdiqnueKvCh7l2dEznbvpnokhHHDnh9kpLe36euFOb/JF8H4lcrKO8R4VWtzewK fW+UNl9Q4m/Fvv6a7AhAuOHDlRnMNKzhHAje5TcSU/ISr+W1HPUhIQf29QOwBSCKyV XfJkFrZ5fvS3a5cv++Ce3grKiqCtsVh1tCm8lmhhzk2HMTh4N90qR2qK83v+KCdn2M BPK0LmN0aDJW98R84UHA/yikpJRsLU7PXXaFTaeYMDCahrvolJMpDOvD6BHoFS06xc J2B3mhawvi81w==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from smtpclient.apple ([134.76.241.253]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MmlXA-1qL7BQ1dnq-00joAI; Thu, 16 Mar 2023 10:57:18 +0100
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: <FR2P281MB1527E72252D86B4BA4F448279CBC9@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM>
Date: Thu, 16 Mar 2023 10:57:16 +0100
Cc: Greg White <g.white@cablelabs.com>, tsvwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <CBF25EA1-02F1-4B77-807C-015F76DA185B@gmx.de>
References: <167348364734.15098.9183646444272144529@ietfa.amsl.com> <FR2P281MB152729FCB5F6206A3926F57B9CD79@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <EDED2A65-DE02-428B-99F9-1CB20FFFB139@cablelabs.com> <FR2P281MB1527C72CA2A07D2C48ACA45E9CBF9@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <8A5EFCC0-B258-4F01-8C99-D9CAF273403F@cablelabs.com> <FR2P281MB1527E72252D86B4BA4F448279CBC9@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:LRT9atZboGN8Hcn8VN9tFbsWol37/jHSURCqtF6Z+VJtjg8HfWQ vCQeB6gLDNP8fJ5id9M09uJuUP/6EDr76q8l7hwtkuqIDUB9puxEcDumGSUt9HEzjgBtP+v Vsu7VSk90TZAaH9WNh883u2gwms6jxmnwfmfH5BdgIJ63JNMwMIrQxEHzWCnFQn399OY1Ah pGGb1EQkIpNN8Mnm6MRRA==
UI-OutboundReport: notjunk:1;M01:P0:BuYahjJFgmA=;PtHhdTYukvf2t2ZR/DKI5/XzDeB xSHSmUEKVOUyfIuCuVOX+QbD0oeCbtAVulo+WIqU4h8SWhH7MBSrPjYunEVT5FHrTiWclIZ79 7FzgbZkpBVSjpuYyUBthjmAABa9P397Et2353rtC/f96NOpN/XVJPQsX7EuDMflUXfbaYaBGu VeLHJ8mIKL03KjJxg3PWfoWM9aRBUVnbzKD1wHmNvjGwvba1oROgn0W5kxQy2fBvK3Km883qX N/FOBYRM2VWGidTXGd7F95UnRgQBLHlplrbtHCJYS+A9Ylkddj5RksA4IfeH1+76XB5PILLyU rbRmr0R7TLUx0m3mwYp8W5S7g7eiOSxt9QSjZTT8F5++FuX9G8bxwaO3BiFP22Bi/MR5ILtvA /1uJ8maQHJS5DypYq3cAJULYVrN5kDQNgeYwxpe4KE9sidCcbR6xCtTcLSFRXIxr0zJsf7sfT cAc0un7C+PpankHvD6lo5xx4AVL8LZ+mFE4xoGEc1O5JbyXM7vj91zUIph0pbblejOu4VkdF9 cpzaEz/XfZpPVMuZ6L7W6mHUAH/KCExn/kQMYlQ3IBP+zbTieg4/KIScOeEGA+1DdgUHP1BZS mWIlEgyui3w9U/mip9p7l3MKvjhZ/mLfpxUFZ3ZdiRfFLXnLKk1PWVVhhw0rV16k4nUQgnMv1 jzZii0L3oTopksrqo3MqOs3mL60XrL67gG73PLq2r5A/aa83ZFWT5DVvpW9HN/Nz6etO/2qeC RGtqGnhIlrXFvIgb86j/Y4zffFOhtp4XdhR9dA3PwX2T0cy+AIa084l+OfusB5jMeT1zgFX+4 IdCkWfWAlIAyu5kPhRAbDTlwwKADlgEGKdt26y9WC0BvwG7oLwFaFvpCKSOANlwuaZpgVDnOt WIwBQR+sQZ7Wd9HyweK+06BKWL6NCahfalp1CzxbBUnexf/ZAOj6xlVprAQRRcA640mY/b4i/ w9myqJTeJK27ai1NI5SB9rmyRUY=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/qVUDbW2Wrqm-mCgn36TGvTFn1rg>
Subject: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - Section 5.2. Traffic Protection (text as is) - MUST fail gracefully
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, 16 Mar 2023 09:57:29 -0000

Hi Ruediger

I have a related question to one of your enumerated conditions below. I hope it is OK to ask in this thread

> On Mar 16, 2023, at 10:01, <Ruediger.Geib@telekom.de> <Ruediger.Geib@telekom.de> wrote:
> 
> Hi Greg,
> 
> that's a first step. The draft still doesn't specify, what that means in terms of traffic conditioning and scheduling. As "traffic protection fails gracefully" isn't defined any closer, I must do assumptions in the following. If you pursue different aims, please add text, but don't argue with me for my assumptions.
> 
> I assume traffic protection stops operating (i.e. doesn't do anything). As it operated prior to that, there's neither an NQB rate policer nor an NQB rate shaper. 
> 
> The following situations may occur:
> - QB/NQB traffic present, no congestion - cool, should just continue to operate
> - QB/NQB traffic present, congestion and NQB below NQB rate - NQB should just continue to operate
> - QB/NQB traffic present, congestion and NQB above NQB rate - ? The draft doesn't specify how an NQB conformant scheduler works under this operational condition. Traffic protection now doesn't reclassify traffic, does it? If it still does, how does it pick NQB packets to be reclassified, remarked and re-scheduled?

	[SM] So the guidance on what traffic rates are acceptable to label NQB are really weak, a prudent sender hence would try to watch for unambiguous signs of congestion and reduce the sending rate accordingly. E.g. the draft gives 1 Mbps as acceptable per NQB application sending rate* which for quite a number of links even in a developed country like Germany is well above the 1% limit as according to Ookla in February 2023 the _average_ rate for german speedtests was  Download
83.20 Mbps Upload 28.75 Mbps..., so one percent only give 0.8/0.3 Mbps (the assumed 100/100 Mbps symmetric access link seems optimistic).
	As an application developer when faced with such uncertainty, I would try to estimate somehow whether my current sending rate** is within the actual network path's capacity. To do so I would need unambiguous feed-back of the acceptable rate being exceeded. I now argue that EF's strict rate limiter is one predictable way to give such feedback, while the proposed NQB system does not. For the following reaons:
a) NQB traffic will get 100% of capacity if there is no QB traffic (so any capacity estimate during such a period would be wrong for the acceptable NQB share under load)
b) the proposed option to "re-sort offending packets/flows" to QB will make it essentially impossible to reliably and quickly figure out whether my flow exceeded its "welcome". (Having to monitor drops, per-packet delay and potential re-orderings to deduce "capacity share exceeded" conditions might be theoretically possible but that looks neither fast nor reliable).

So from a perspective of responsible NQB senders that actually want to do he right thing during run-time, the proposed soft-limited NQB/QB sharing behavior seems sub-optimal. A strict capacity limit as in EF is considerably easier to reason about for an application as it gives much tighter feed-back (the acceptable capacity share still depends on dynamic variables like how much other NQB packets hit the queue, but at least there now is a theoretical upper limit that is useful and a feed-back path if even the dynamic capacity share is exceeded).

So how are NQB using applications supposed to figure out which rate is acceptable? The current guidance in the draft is quite general and seems aimed at figuring out whether an application is at all eligible to use NQB (e.g. a 600Kbps CBR rate video stream might, a 25Mbps 4K HD VBR video stream probably does not), but says little on what to do at run-time.

Regards
	Sebastian


*) This is a rate that already allows for non-HD video conferencing according to the listed rate requirements for e.g. zoom or skype. Given that the draft should add explicit guidance whether such streams are considered NQB eligible or not.
**) Even a fixed rate sending application has the option, a) informing the user that it exceeds capacity and hence needs to stop, or b) stop marking itself as NQB and accept the highe potential jitter for QB c) switch back to a lower data rate even if that reduces the application fidelity/utility***. These might not be attractive option, but options they are.
***) E.g. it might still be better for a temperature measurement device t give updates every X ideal sampling periods than "never".


> 
> Regards,
> 
> Ruediger
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Greg White <g.white@cablelabs.com> 
> Gesendet: Donnerstag, 16. März 2023 00:20
> An: Geib, Rüdiger <Ruediger.Geib@telekom.de>
> Cc: tsvwg@ietf.org
> Betreff: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - Section 5.2. Traffic Protection (text as is) - MUST fail gracefully
> 
> Hi Ruediger,
> 
> I notice that RFC2475 has a statement: 
> 
>   Robustness concerns dictate that the
>   arrival of packets with unacceptable DS codepoints must not cause the
>   failure (e.g., crash) of network nodes.
> 
> Would you agree with changing the requirement in NQB to say:
> 
> "The traffic protection function MUST be designed such that the node implementing the NQB PHB does not fail (e.g. crash) in the case that the flow state is exhausted."
> 
> 
> -Greg
> 
> 
> 
> 
> On 3/15/23, 4:02 AM, "Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>" <Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>> wrote:
> 
> [RG] I suggest that you as the editor of draft NQB provide text specifying how an NQB traffic protection fails gracefully, if flow state exhausts, so that I as a reader interested in implementation can put verifiable requirements on this part of NQB functionality when I ask a vendor for implementation.
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Greg White <g.white@cablelabs.com <mailto:g.white@cablelabs.com>> 
> Gesendet: Sonntag, 12. März 2023 01:05
> 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 - Section 5.2. Traffic Protection (text as is)
> 
> 
> See [GW].
> 
> 
> On 2/3/23, 1:17 AM, "Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de> <mailto:Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>>" <Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de> <mailto:Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>>> wrote:
> 
> 
> <snip>
> 
> 
> - draft: The traffic protection function MUST be designed to fail gracefully in the case that the flow state is exhausted.
> 
> 
> 
> 
> I’m surprised to find a MUST here, while the major part of the queue protection mechanism isn’t specified. But to me, this requirement is vague too, as the draft doesn’t specify what is meant by “failing gracefully, if flow state is exhausted”.
> 
> 
> [GW] What would you suggest?
> 
> 
> 
> 
> Regards,
> 
> 
> 
> 
> Ruediger
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: tsvwg <tsvwg-bounces@ietf.org <mailto:tsvwg-bounces@ietf.org> <mailto:tsvwg-bounces@ietf.org <mailto:tsvwg-bounces@ietf.org>>> Im Auftrag von internet-drafts@ietf.org <mailto:internet-drafts@ietf.org> <mailto:internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>>
> Gesendet: Donnerstag, 12. Januar 2023 01:34
> An: i-d-announce@ietf.org <mailto:i-d-announce@ietf.org> <mailto:i-d-announce@ietf.org <mailto:i-d-announce@ietf.org>>
> Cc: tsvwg@ietf.org <mailto:tsvwg@ietf.org> <mailto:tsvwg@ietf.org <mailto:tsvwg@ietf.org>>
> Betreff: [tsvwg] I-D Action: draft-ietf-tsvwg-nqb-15.txt
> 
> 
> 
> 
> 
> 
> 
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Transport Area Working Group WG of the IETF.
> 
> 
> 
> 
> Title : A Non-Queue-Building Per-Hop Behavior (NQB PHB) for Differentiated Services Authors : Greg White Thomas Fossati Filename : draft-ietf-tsvwg-nqb-15.txt Pages : 25 Date : 2023-01-11
> 
> 
> 
> 
> Abstract:
> This document specifies properties and characteristics of a Non- Queue-Building Per-Hop Behavior (NQB PHB). The purpose of this NQB PHB is to provide a separate queue that enables smooth, low-data- rate, application-limited traffic flows, which would ordinarily share a queue with bursty and capacity-seeking traffic, to avoid the latency, latency variation and loss caused by such traffic. This PHB is implemented without prioritization and can be implemented without rate policing, making it suitable for environments where the use of these features is restricted. The NQB PHB has been developed primarily for use by access network segments, where queuing delays and queuing loss caused by Queue-Building protocols are manifested, but its use is not limited to such segments. In particular, applications to cable broadband links, Wi-Fi links, and mobile network radio and core segments are discussed. This document recommends a specific Differentiated Services Code Point (DSCP) to identify Non-Queue-Building flows.
> 
> 
> 
> 
> 
> 
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-tsvwg-nqb/ <https://datatracker.ietf.org/doc/draft-ietf-tsvwg-nqb/> <https://datatracker.ietf.org/doc/draft-ietf-tsvwg-nqb/> <https://datatracker.ietf.org/doc/draft-ietf-tsvwg-nqb/&gt;>
> 
> 
> 
> 
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-15.html <https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-15.html> <https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-15.html> <https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-15.html&gt;>
> 
> 
> 
> 
> A diff from the previous version is available at:
> https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-nqb-15 <https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-nqb-15> <https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-nqb-15> <https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-nqb-15&gt;>
> 
> 
> 
> 
> 
> 
> 
> 
> Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>