Re: [tsvwg] draft-ietf-tsvwg-nqb, more questions

Sebastian Moeller <> Tue, 05 November 2019 08:58 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id E47A71208CD for <>; Tue, 5 Nov 2019 00:58:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.348
X-Spam-Status: No, score=-2.348 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_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id jPJ6ahF25Fj9 for <>; Tue, 5 Nov 2019 00:58:50 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id B116B1208B5 for <>; Tue, 5 Nov 2019 00:58:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=badeba3b8450; t=1572944317; bh=iXu+In6lEeYwsvgO9bBL/XFIgfjmjI76vmWoPZRcmzo=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=JeiroDhtZI3FOEmosmGSYg006xNdc8IVNZbGt8TR+AmIHgvcqglng9uS+Wa6QWqJy Ak2uxeF9fQO8ZL3siXf2ZU2uIV7BV381WRk/UQmj7j6tKFjKkxMwm8HKhLXiYuLR/q if9m76UeDgNNHJIryIbTngXENFBfWVjnjEoK069A=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [] ([]) by (mrgmx105 []) with ESMTPSA (Nemesis) id 1MCsUC-1iag610V6m-008oG2; Tue, 05 Nov 2019 09:58:37 +0100
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Sebastian Moeller <>
In-Reply-To: <>
Date: Tue, 5 Nov 2019 09:58:35 +0100
Cc: tsvwg IETF list <>
Content-Transfer-Encoding: quoted-printable
Message-Id: <>
References: <> <>
To: Greg White <>
X-Mailer: Apple Mail (2.3445.104.11)
X-Provags-ID: V03:K1:bgk42OxvUSsEpCgzOCBB50z45Rawm0nlbNHtP58RNEokTD7LLCx KcN4EPOGZgtDk8PjIvuEarIBWYEYzfehtONpQ2x1sQwSXO96/xIy1J1w+MnckAFMxE4+OvK iXammcXY6ZoSdDEz30SLueDVBhv7GHAc1wbBBwcQtXfIdYHNaBq3x553SaI12eklgmaLcwD zQrQAMRZraqwRzHZuN8cA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:xpuRtlsyDXk=:aXk4hDkynka5rckxvAUSkq eQiM/9sybzrEIXaXjJ0qh4sFK7D3+TnTbNdJjB1AdQmIi7Oh1tg+8MKk9WFG5ETgLxP91trJA xzOhnSPGyaRpkOu6jtC6LmIs+ufdlBxHPdXOnuK5PYonXtdOWLaKqU159reP0ztgVWnpzK67D cb6IBIi33lvv9AFZLYvDFm3ffao1H3esDZJZ9xt26rlH3gJoMTsLYimOC7q9FpEaVr+JGF757 GjkiM0WhnJcU87lK8b99xpz3b0VW/WbCA9WnySpOlhENjce+ltS7+pnLNeSwtdp9ocbXGhWgN VsqyF/smdWVZtz5oHxR5NOSswbMUk98FB8AiLWrHg8gf5uDAcQygeQVOfjaZx5QIvuChzRTP2 DySkHpyWiorqfgSX06hghk0EQ7iErRDDu0pI8wrLo70SGGPO5EjAroAC+mNBP0P71OgUFMXrt yGV5/DYrbp6IjnCxE2MAKHr27GhNQKCooSW7b/QRRH+F2AWHFo51tBbBtYlP0h+LQR8xVVYIZ gmVsJYNGMBKGCRE4kHFoVkcufaCRW2D2CY8hEFIzzEmKt4Fxzw1t8GNz9Qwqh/JhLnYtQOxdM /LXXOlOM4KbUAlz6POmFCwM+pzSnTPQK1MLy+/1F3oQOELncVCBsGVtRqtzxMP69xUOFJxH/P pGhiliQ8e+lyvJGAGtmzQUZ/Wkg5IfmfoILjUJjInEGHbsYM192KIf/NKQplxg0hRyJXHkAbN otLgIgkKU0KpSBaD/ZLG5NTGSp5uV0VwmwMUAYkCB7imGY/aBRQobI5f6EBZbyNBVY+X0vwO9 EvmKGlnJ3RNWWYm5FXmhqOgPYV8cXh1JYQCCbY6Ps4MBVpV0NW3/cGZAe+qE6NfMybM1QCWkG oBCIcA5ni/P1TJUXts6PTyiE0nA0WPcdkFe8UGRK1OKV4cV9QcNT0nm77f4RAnHrfy+WFHvu8 L96rVkA0hUkH+swtof6uKcuK/QiPhbO9PW1sMBbjZ3+b9dtGTylMPujhV6fxtCWAzgXOH3qAB 3jqNj8umdvaTjWnfCUWJHGpwmxiLXgZotC53Nux2AsdWFw/KwRlW+EKZRZR/+J0aAGUBkRE+M BPfPbwegkM9LNoQQbkaCNoaZtKOsOeVkZUXEw/lbcUn6wHXbUsbfV08BwIb/25WT2cNdVTGCC u3/aNJ0/uuHnS1lcycDzcU4rkueqHOT0kG57o/eNgfhHhtUZVC3fR9X7rFkPeiOFvdEHunIpf /BQySJ5+WiwZ/ULt4EoDPBLPwa+51HhnxgQNiqZ/5GYTWgB0Be/GyEREAmEo=
Archived-At: <>
Subject: Re: [tsvwg] draft-ietf-tsvwg-nqb, more questions
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 05 Nov 2019 08:58:58 -0000

Hi Greg,

> On Nov 5, 2019, at 01:28, Greg White <> wrote:
> Hi Sebastian,
> Interoperability with existing WiFi equipment is an important aspect, since WiFi latency can be considerable. By default, many existing APs only support 4 priority queues, and thus it is not possible to meet all of the requirements of the NQB PHB (at least in this default configuration).

	[SM] I agree the question is how to deal with that "impedance mismatch".

>  Nonetheless, it is possible to utilize two of the four queues in order to meet some of the requirements, and thus provide some of the benefits of the NQB PHB.  

	[SM] Unless you opt for selecting AC_BK for the NQB traffic, for most users the value of NQB will be mostly in the priority boost on wifi and the resulting air-time access advantage (which results in both lower latency and potentially higher bandwidth).

> With proper configuration and/or policies, this can be done safely.  

	[SM] Sure, I am concerned about the status quo wich does not entail "proper configuration and/or policies", and hence I believe the NQB special treatment on WIFI should be opt-in and not "opt-out" (in quotes as most endusers will not be able to opt-out). For thid reaon I believe that the proposal to use a code point that by default is mapped to AC_BK is the only correct solution (as a bonus it seems that such a code point also has a better chance to survive transit over the internet). NQB-aware APs then simply treat that NQB-codepoint however they want. If for example a priority boost is desired such an AP can easily implement the required rate-limiting so that AC_BE traffic does not get starved out. In short, I fully agree that special treatment requires "proper configuration and/or policies" and the desirable strategy if that can not guaranteed should be "do no harm".

> The final SHOULD is intended to address your concern about prioritization (since it results in segregation without prioritization).

	[SM] Ah, in that case the AP needs to be be NQB aware anyway, would it then not be better to use an appropriate scheduler/AQM in front of the AC_BE queue and keep all traffic in the same priority class? The disadvantage of setting AC_VI to the same EDCA values as AC_BE is then that applicatons that expect an airtime access boost from using AC_VI will not get it any more (not necessarily a deal-breaker but certainly unexpected enough to merit clear communication of that side-effect).

> Absent this requirement (or the ability to comply with it operationally), the operator would need to consider (and perhaps limit) which applications are allowed to be marked as NQB.  This aspect isn't discussed in the draft, but I will add it based on your input.

	[SM] Great! I would guess the safest would be to have the NQB-aware scheduler in an AP apply some (proportional) rate-limiting if NQB traffic is getting preferential air-time access.

> Network operators understand the value of segregating NQB traffic on WiFi links, and will almost certainly select a DSCP in practice that achieves that goal.  

	[SM] That is exactly part of my concern with the default mapping to AC_VI approach, I expect that very quickly a lot of traffic will utilize the AC_VI queue potentially starving normal AC_BE traffic in the process.

> Assigning a different DSCP in this draft would do nothing to prevent them from doing so.
	[SM] Sure, but is that really a good justification for proposing a DSCP with known side-effects? As far as I am concerned an RFC should propose sane defaults and hope for the best.

>  Instead, what we need to do is clearly articulate how to make best use of the existing WiFi tools, and how to avoid conflicts. 

	[SM] I believe the last two are mutually exclusive...

> In existing RFCs, the IETF already recommends that video conferencing applications mark their traffic as either AF4x or CS4, all of which get mapped to AC_VI.  The remaining language in the NQB draft describes sparser flows than these.

	[SM] as an implementer I read "relatively low data rates", without further guidance I have very little intuition what to use as reference. Could this be made more explicit? This is orthogonal to the question whether such a limit should be enforced in any way, here the question really is about getting a feel what is considered acceptable for NQB treatment.

> Based on your comments, I attempted to remove all text that could be interpreted as recommending that high-data-rate traffic be marked NQB.  

	[SM] Thanks, as long as the aggregate NQB traffic is relative sparse compared to the available WiFi bandwidth (or the number of tx_ops) most of my WiFi concerns get less and less relevant. To be explicit, I do not object on principle to using AC_VI or even AC_VO as long as this does not eat significantly into the tx_ops for AC_BE, the current draft improves  in that direction. Would it be possible to make this point even stronger?

> It appears that I missed one instance (in the Introduction it gives "interactive voice and video" as an example). Aside from this (which I can correct), I think the draft currently recommends that NQB only be used for sparse traffic.  That said, the section where this guidance is intended to be given is still lacking in specificity, and poses some open questions that may need to be addressed in a subsequent revision.

	[SM] Sounds great. Now this then cycles back to one of the other open topics, "enforcement". Ideally NQB-aware APs should monitor both queues and re-assign flows between them based on flow-behavior in relation to time-variant bandwidth experienced by that flow. 

Best Regards

> Best Regards,
> Greg
> ´╗┐On 11/4/19, 3:25 PM, "tsvwg on behalf of Sebastian Moeller" < on behalf of> wrote:
>    Regarding
>    7.3.  WiFi Networks
>       WiFi networking equipment compliant with 802.11e generally supports
>       either four or eight transmit queues and four sets of associated EDCA
>       parameters (corresponding to the four WiFi Multimedia Access
>       Categories) that are used to enable differentiated media access
>       characteristics.  Implementations typically utilize the IP DSCP field
>       to select a transmit queue, but should be considered as Non-
>       Differentiated Services-Compliant Nodes as described in Section 4 of
>       [RFC2475].  As a result this document discusses interoperability with
>       WiFi networks, as opposed to PHB compliance.
>       As discussed in [RFC8325], most existing implementations use a
>       default DSCP to User Priority mapping that utilizes the most
>       significant three bits of the DiffServ Field to select "User
>       Priority" which is then mapped to the four WMM Access Categories.  In
>       order to increase the likelihood that NQB traffic is provided a
>       separate queue from QB traffic in existing WiFi equipment, the 0x2A
>       codepoint is preferred for NQB.  This would map NQB to UP_5 which is
>       in the "Video" Access Category.
>       Systems that utilize [RFC8325], SHOULD map the NQB codepoint to UP_5
>       in the "Video" Access Category.
>       In order to preserve the incentives principle, WiFi systems SHOULD
>       configure the EDCA parameters for the Video Access Category to match
>       those of the Best Effort Access Category.
>    [SM] This last section is puzzling: if the wifi system configures AC_VI with EDCA parameters that match the AC_BE parameters, AC_VI ceases to be different from AC_BE, in that case picking a codepoint that automatically maps to CS0 and hence to AC_BE  seems much safer, simpler and straight forward to me. 
>    Especially since essentially none of the millions deployed WiFi APs out there will a) have this configured like proposed already and b) none of the consumer APs I know actually allow to easily adjust EDCA parameters at all. I guess I must be missing something and would be delighted to be shown why the proposed text is the right thing.
>    My take on this still is, if NQB traffic is sufficiently sparse using AC_VI can be justified, but without any rate limits this has the potential of being quite unfair to concurrent APs on the same channel (as well as the neighboring channels that overlap with the selected). 
>    I do not want to sound alarmist, but given the number of cable-ISP WiFi-APs (as indicated by a SSID containing the ISPs name) in my city, I believe making sure that those APs will not basically start hogging most airtime seems the prudent thing to do. If there are sufficient backstops in place (like rate limiting or automatic down-marking if the traffic is not sparse enough) to avoid the described situation, I am all for it.
>    The text probably should also openly discuss that in WiFi/WMM the four available queues by design have different priorities, and by moving NQB out of the default AC_BE while leaving QB flows in there, this effectively runs against  the following text in the draft: "The NQB queue SHOULD be given equal priority compared to queue-building traffic of equivalent importance." (leaving alone the question how an AP or a station is supposed to measure importance)
>    Sebastian