[tsvwg] NQB, what rate is permissable for flows to still "be" NQB

Sebastian Moeller <moeller0@gmx.de> Sat, 13 November 2021 17:41 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 74F043A12C0 for <tsvwg@ietfa.amsl.com>; Sat, 13 Nov 2021 09:41:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.149
X-Spam-Level:
X-Spam-Status: No, score=-0.149 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_MSPIKE_H2=-0.001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 Hi1VqZEjTe00 for <tsvwg@ietfa.amsl.com>; Sat, 13 Nov 2021 09:40:58 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 68D413A128E for <tsvwg@ietf.org>; Sat, 13 Nov 2021 09:40:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1636825256; bh=Yixbcx1rtoPvjsDqDiw2/4PkDX60NJ+17WiTnRzp6fU=; h=X-UI-Sender-Class:From:Subject:Date:To; b=bm+I67x8hz7Q2XsW3LUBnaYlZRz5QCYdd+yACFsJCKBHbOrmCC0XXRlYixynhDQwo nM1Yb+K7LWqWbcJQ34jBBoKoirlxp/5n8mvDJwlmtG3AAH639IpjJbgigDiZ/BsqBj Pa/e7HVfN5G71q/3TyDB9P+Np5tzSBebNXSMG614=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from smtpclient.apple ([77.1.25.157]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdNcA-1mCcCe0qqO-00ZQgW for <tsvwg@ietf.org>; Sat, 13 Nov 2021 18:40:56 +0100
From: Sebastian Moeller <moeller0@gmx.de>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Message-Id: <A492D4CF-F597-4A0C-AA12-08CFB7B1BFE8@gmx.de>
Date: Sat, 13 Nov 2021 18:40:54 +0100
To: TSVWG <tsvwg@ietf.org>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
X-Provags-ID: V03:K1:Zm99vtFqpiuJo4wTSlo+uwWbN9QKyijFNwhBZxHazS6Al3PfaIK dqFJJvGKH75NfBJ4IhRM0Gk3XFw6huc69PWbjoRyM0/jk1x79WQqIBs8jqDseQDi5LlXOXX wYCymrqX3tLPe3tW523I3YuTxpGHCma6BQIdB2MnRjv4SlWYw5nRUugR+BL+YpzarHiYPK7 3Xd9YQc2Oe2usKuwmEXJg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:pKCk+DLq0f0=:BXwCV6RMvAGFRpShTKMQ+I Qq+Rt4o5PjFc6CWfVjiWwbTSIz0QjMuCX/3oAY5j+gDKZiPEr92A3f0w2qeSGrHduVIr5JwpI Zj8DeKPAFIwmnVsY+F1YNvT3++TyJH5fipOaTWioxLcDaXFPde86kA416BXLCpwKpiQIfMfVT gFmkEygcI4FWtwXKqZyNVeuNCfakidoJtffnXPrRazXL09JPwLfznhvq2tbrXA8zOot+nB4Ez CRp9IIUx4DP+8EpZn4rwro8QCmLx6RWL2JYxSO+9qZSgBLOZc9jusUWSIFYIGetjV3IjEDonC vVl4S/WIkXSv/Vzp0G+Vsi6yehIUnVjYR8yD4R+Y4Gk6R3ADjZcl0FVveSvsrgLKuZ4GqjP5B ucZTGx2driEY57ucOQo0f385ff9EHYJZ5+7mLoEtVoB77VbRH2I3uNa8mNKe2i2rvIMxerQ1R a5tBGhhfuNh9/WrgBiIz+fbzn/8Ogi/sR28Cqc4coBod4RMIHF4QzT23BNuGD2ZvghXOD9snv XGmYztJFBpReYY7vno29DSBgww2PA3FNnOxC4BvX8ss4x80PXGW/Mhz8qofDZqHDcxYJcFHnT aGxrXCEjq+S9K5Bq+aLxrb7Nu/480eFHjCJixgK/N+x+pxUP8RnvP1Jftgy0Bgav3j62BCZy9 n+RECWIRtp+ZLl+SWh1VQTQ9w8OKekNZmfz5/pOHaKzvztuva2/Uxf+1s+1YJjgze492oqGvI r5YxnFidp1QUAviH8MpblNPpNJP4wxIYgNPnmYhyMruKLqZLsID4SGCaFpQzXXV8CKLGOVt0A /bPXjQBLhZmLoMD0ONp9CG/icaFrS562DLtLgP2+IaeLs6zpM7f0bqUzPlTuf5kaBw82ZQ8bA c0vbm0pZT9yDjg2H/JAa5/nEdNqr3b5JLTlTQ+JI0L5A36Q4Gecjume31VkT5HCwUkvbdwNRw Xus8laEaBKl/DnWsdLKNSdY2aliqbyQdXNR/dnhp0Ao425k2r8gRUuaSCagNgkqo/WkaGCoSb lx6AEn/lDo/b4NwMIL0PErh8CIBZZ2x/vh+bzx6I10awj+PnlLFvT3ay0kFCcsApgno1Qt3wm ehJGbkwG80+8yg=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/1sP5dguvhd2XzHhJLKCeYzzrEZM>
Subject: [tsvwg] NQB, what rate is permissable for flows to still "be" NQB
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, 13 Nov 2021 17:41:03 -0000

Dear list,


in last Friday's tsvwg meeting Greg asked what recommendation the NQB draft should give senders about maximally permissible rates for NQB flows. (At least I left the session with the feeling that input on this topic was requested).

	One proposal, already under discussion on the list was to base this on some statistics of access rate, with the proposal being to take 10% of Ookla's idea of global average access rates (see https://www.speedtest.net/global-index "Speedtest Global Index") which reports global average (and per country sub-averages) of upload, download and latency numbers split into mobile and fixed broadband.

	These are taken from random user measurement against Ookla's speedtest.net (which in itself is a collection of mostly volunteered measurement nodes that just need to fulfill a number of criteria (see https://support.ookla.com/hc/en-us/articles/234578628) to enter the speedtest network and are mostly operated by entities other than Ookla). The required minimum internet access speed (1 Gbps) makes it very likely that these measurement nodes are located in data-centers. During a typical measurement the system will try to automatically match clients with "close by" servers (but allows clients to manually select servers as an alternative).
	
	The global index (from 2019 on) will include data from all countries that "have at least 300 unique user test results for mobile or fixed broadband in the reported month" (https://www.speedtest.net/global-index/about) Neither for the global average, nor for the per country numbers any information about the sample size is given (above the minimum), nor any measure of variance. So this source only gives (somewhat under-qualified) average numbers that are likely to be not really representative (of the spatial distribution of all users within a given country/the world) and  will be biased towards higher speeds (as averages of positively skewed distributions do). If we compare Ookla's current result for Germany https://www.speedtest.net/global-index/germany#fixed
with the data from the official German speedtest site (lower plot on https://breitbandmessung.de/interaktive-darstellung-jahresvergleich *) it should become clear what a per country, or global average hides: the composition of access speeds in Germany as seen by that CDF clearly is more complicated than an average implies (it is not a smooth curve as there clearly are speed-tiers that ISPs can and do offer with their available technology). 
	For answering the NQB problem something related to the experience a given number of endusers will have seems more appropriate than an average. So, IMHO, something like the lower 10% or 25%-percentile of the access speed (taken from a per-country CDF of reliable data sources like in ehe EU the national regulators' reports**) might be a much better number to use for the NQB recommendation than Ookla's averages. Qantiles/Median at least allow to estimate which fraction of users can expect rate issues with compliant NQB-senders. (This is not to dismiss Ookla's numbers, it is great that they compile and offer those, it is just that these are not terribly well suited for the NQB purpose).

	But overall, given that such a recommendation can only ever be approximate and will not in itself guarantee safety for any individual connection but can just be a rough guideline for senders, I would say the current recommendation to not NQB mark flows with instantaneous rates >> 1Mbps seems just as appropriate as any statistics taken from non-official/non-representative numbers like Ookla's.


	As written this recommendation will however run into "conflict" with gaming traffic (not cloud gaming with its video streaming but client server gaming where mainly control packets are exchanged), as games tend to send/receive packets on a "clock" (often 30 or 60 Hz, but 128 Hz is not unheard of) with one to multiple packets per clock-tick (see e.g. https://www.sciencedirect.com/science/article/abs/pii/S1084804511001731) and since back-2-back packets will create bursts at link speed (assuming the burst travels intact to the bottleneck and the bottleneck does not employ a scheduler that splits bursts up) these can exceed the current 1 Mpbs recommendation (I am grossly simplifying here): "Other types of QB flows include those that frequently send at a high burst rate (e.g. several consecutive packets sent well in excess of 1 Mbps) even if the long-term average data rate is much lower."

	Assuming NQB is really intended for gaming control packets, this might be remedied as Greg proposed by giving a more permissive definition of "several consecutive packets" (like say expand several to >= 10 or similar). Whether that is justified on a slow connection within NQB's internal logic is a different question.

Regards
	Sebastian


*) These numbers are not as current as Ookla's and hence a direct comparison seems not advised (https://www.speedtest.net/insights/blog/icymi-ookla-data-and-analysis-from-december-2020/ gives Ookla's fixed broadband global average for December 2020 as 96/52). But these graphs show the development over a number of years including the respective N for each curve and allow to see the countries dominant speed tiers (50 and 100 Mbps) and alsi allow to see the median of the 2019-2020 period (51.1 Mbps down, ~10.7 up) and that there was a small fraction of links with considerably higher speeds (500 and 1000 Mbps) which will make sure that the average (which appears purposefully not reported by the national regulator) would be noticeably larger than the median. BTW the 25%-ile was around 22.7 Mbps down 5.2 up...


**) Unlike Ookla's "mostly-for-fun" speedtest*** (no disrespect intended) the official EU speedtests like the one in Germany that can be used as evidence at court has considerably more stringent specifications than Ookla's and generally seems to be designed and operated carefully, including approaches like having a user report the contracted speed before starting a measurement to make sure the measurement back-end has sufficient resources to saturate that speed.

***) To repeat, I do not want to criticize Ookla here, it is just that their numbers are not suitable for some purposes, especially purposes the test was never designed for.