Re: [tsvwg] tsw/ospa: Internet phone-in-QoS ?

Jonathan Morton <chromatix99@gmail.com> Wed, 15 April 2020 15:08 UTC

Return-Path: <chromatix99@gmail.com>
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 85F693A0A08; Wed, 15 Apr 2020 08:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 sUA33YODiXdP; Wed, 15 Apr 2020 08:08:01 -0700 (PDT)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2EA7B3A08AB; Wed, 15 Apr 2020 08:08:01 -0700 (PDT)
Received: by mail-lj1-x22b.google.com with SMTP id z26so4001942ljz.11; Wed, 15 Apr 2020 08:08:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=I235PpMn2zp2/18gEI3MGiwUhUEF3I3PwJ3gbUleElw=; b=o6zGfFA/gKR9aY050ie6LQvIe/7dH2Uyi0FrWgqcSuiKpKAVQE6wCoqAKTpXY1msh+ 3HH1o0ln+Q0W/SUIJb4vSs7au0iTVUUm6XPy3ZwLxQIQP+K93UZHzPgC2GBJk9AGI0LL LK24LAIm8gAOel1gPjt6LFk28ysRCAKPIYyIworLPnmORp4hv8j6kZm/OsL/k44T5ffO fcljHplp9bYIfB8m7ByhYDPuea8k+jQVf5i8L4pn4RCOp4lo3RzBQ/LPpiito9HTeGRJ xHYDuApuiNAvg9x8AzCaMuAFXplAngHnrcvu//iqnQNe/A9BuR5w0K2Rd6BFevpOpLT/ J28A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=I235PpMn2zp2/18gEI3MGiwUhUEF3I3PwJ3gbUleElw=; b=nD3rH4BTiLAXdo41eTsEBpUzX4mQaz4hBvBww1SkvegS7DUBtuyAXFIunKyBU3VC/b dB2X4TKINi+eSvkUDrnwVBon1R/Y7apRT5Jf2iwJ0ht9kBCz7c5/U2Navg4lm8GA6Amr S5OEa4LTE91fBha51fA9s3PUFxYMqNyhxpJYeAd0kTWgstndsvtO5WKKl544Tp1V8cJE b6bcFCchicCOgNmWcGh/Wxl/jBlHtm73lbutUlK3JknquvJ5yHSwSo3T5HzNZkjZkmbm Rg8hYMCtBu0LVeL2YftG4oSdGRh6zCRjLdt43u70lEWsK/QF169DRGOXiyiZXVu5YVJo ZPlg==
X-Gm-Message-State: AGi0PuYphCQx987AwqtLZuq8Ltz4/LLXpkJppVf1nZRHcqCYqgjYms8b wsyZhGYx/RhPSKEdNHAyajHFoIKu
X-Google-Smtp-Source: APiQypI/4iBQEuUurRRhT5dhQoEBK/EixqUx6uP2iLw2mlOitFV2zYGW3mvvAIATCpei7JU5ZBSOnA==
X-Received: by 2002:a05:651c:549:: with SMTP id q9mr3476104ljp.210.1586963279372; Wed, 15 Apr 2020 08:07:59 -0700 (PDT)
Received: from jonathartonsmbp.lan (83-245-249-104-nat-p.elisa-mobile.fi. [83.245.249.104]) by smtp.gmail.com with ESMTPSA id d21sm11465604ljc.49.2020.04.15.08.07.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2020 08:07:52 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <0A7DF3CF-BBD9-4D45-BABF-5275EF311A54@gmx.de>
Date: Wed, 15 Apr 2020 18:07:42 +0300
Cc: Toerless Eckert <tte@cs.fau.de>, opsawg@ietf.org, tsvwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <98D8D901-E0BC-4697-980C-FAE8D2DDF77A@gmail.com>
References: <20200414194641.GA29328@faui48f.informatik.uni-erlangen.de> <1F9CDC71-594A-48AD-959D-B70A72DEE9DD@gmail.com> <20200415001809.GA6205@faui48f.informatik.uni-erlangen.de> <0A7DF3CF-BBD9-4D45-BABF-5275EF311A54@gmx.de>
To: Sebastian Moeller <moeller0@gmx.de>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/0vWP5B3bd-K_3J41CnZGibk4b5A>
Subject: Re: [tsvwg] tsw/ospa: Internet phone-in-QoS ?
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: Wed, 15 Apr 2020 15:08:03 -0000

> On 15 Apr, 2020, at 12:44 pm, Sebastian Moeller <moeller0@gmx.de> wrote:
> 
> 	Wasn't the issue with RED, that it requires some tuning and nobody knows how to automate the tuning, and that it increases the RTT-dependent throughput inequality if flows of different RTTs share a congested hop?

That's why I specified WRED, which includes some automation of that tuning.  It's not great, but it's something.  Better algorithms exist, and should be used where available.

It's important to keep the scale of the problem in perspective.  Internet paths have a median of about 80ms RTT, baseline.  Adding a few milliseconds to that is no big deal, and a good AQM can keep the queue down to 5ms already.  An old AQM might only control the queue to a few tens of milliseconds, which is still basically acceptable.  But an uncontrolled FIFO is in the hundreds to even tens of thousands of milliseconds, depending on how cheap memory is for the vendor - and above about 2000ms, DNS just stops working.

> Well, currently ISPs have mostly zero control over bandwidth sharing at congested hops, so even equal fair sharing will be an improvement…

Correct for wireline, at least.  I've noticed my local 4G tower has low latency even when heavily congested, though, provided I keep my traffic shaped to below the share of airtime available to me.  So some ISPs manage to share bandwidth at bottlenecks, even if they don't implement AQM.

> Well, the challenge for anything "better" than N-tupel-fairness (with different N) requires to propagate per-packet-information to the potentially congested hops. I believe this is done with-in reason using diffserv markings and PHBs, but that does not scale to differentiating "entertainment or [...] critical functions" in a generic fashion.

I think the important point here is that reliably defining whose traffic is "more equal" than the rest - in the Animal Farm sense - is a Hard Problem, one that has been tackled many times over the years without any significant success.  It's also one that we don't even *need* to solve, as long as the "fair share" is sufficient to let the critical applications work.  In the example I gave, that is probably true.

It also has the benefit of keeping the masses entertained indoors, which in the current crisis is the critical factor for solving the wider problem sooner and with fewer casualties.

Diffserv and its ilk may then be useful for improving the utility of a *single* subscriber's service, working within that fair-share.  The important distinction is, that subscriber has the right to decide which of his own traffic is more important to himself.  He does not have the right to decide that his traffic is more important than his neighbour's.

 - Jonathan Morton