Re: [tsvwg] [iccrg] IETF104 ICCRG TCP Prague presentation

Sebastian Moeller <moeller0@gmx.de> Thu, 04 April 2019 10:19 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 647BA12047E; Thu, 4 Apr 2019 03:19:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.349
X-Spam-Level:
X-Spam-Status: No, score=-2.349 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_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 GhtbkkigrOFz; Thu, 4 Apr 2019 03:19:25 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 7A90D1206A3; Thu, 4 Apr 2019 03:19:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554373120; bh=li62UTNTFNpGCY6IoKf+4NtPWjdUtB95yTH/hiroPdY=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=EkrrmycLF/lT3H20oA6V7/njIOjjR0Un010+epKGu+GrXwdI64I4E7uXWt4NcEmCa 7BI+uMQlJUTh21tWYi8obQWIE8K1gcFIdjm6vvz4U9l7Kv5WTrKKXbvh9nOJF+c0SM Qf9GaJD4bFw+gA2GtcPYvv+upZ1nxUUsfNaI3lcw=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [172.16.12.10] ([134.76.241.253]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MOx4J-1hFYEJ1Fep-006MtG; Thu, 04 Apr 2019 12:18:40 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <82B40A22-F2C2-4D56-868A-F53D7AEA37D7@gmail.com>
Date: Thu, 04 Apr 2019 12:18:38 +0200
Cc: Bob Briscoe <in@bobbriscoe.net>, iccrg@irtf.org, tsvwg IETF list <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E8E5DB35-5352-4EC1-A242-ED670E02822C@gmx.de>
References: <623CA1C6-3425-46E6-AFD9-6FD7D0DBE422@gmx.de> <a7bf3c8d-bb9e-e7e8-3343-ccdbac795591@bobbriscoe.net> <82B40A22-F2C2-4D56-868A-F53D7AEA37D7@gmail.com>
To: Jonathan Morton <chromatix99@gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
X-Provags-ID: V03:K1:R5wVuoNi8llvcrz4uPOJD3BJCzcOT3Q4NSOxiIwYw4Jl9QfC1Er SfZvnZIS+S+sAdtweUMv3am9LWRGgfuLZ0ouwqN0GoXVXDCCUkp9bDb79XOxM/nFMCXKabt xZmiHB6Xlmsn4euf/u2yhLceSaAupNenINPmdlRapCDNgSjjJcWkEuVnM5X8Up+MBaYSAeH hyU6cHnbVUskARFqtl+cw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:P3j8HRsHifY=:qzp76B3dYsN87Gx5OGMktj 3+rP+M/xktxEI9uE3gVaoVRLN4hH+Ch6ZTEW8IxIKM/Mg/cCAgBVR13Rpt+AgD4r8eWVULqkA H8AkVn923KK1pa84Ggk9XE/n2fvybyaMdAC3ujkTY1noMYeMxFFMA6DcvI+VaB2pj3S4lmNhu av8lbJ53hOmahszVkxJF6xn94Dk7cqLcTcHCEUHBfNwt4xzTnyQy1wMHFxR30fi/srlUZh/y0 MleP7lkYdhKXI8DBJqBlVM9pxd7GfkQXdRq+ZjjpMSZqane8WryqMWBdtvP+qOyQZiGHmXC75 QKbNPiblTgbUoSx8u7ovfMx/epmD3Knptimjy5U4TlWwEITEVz1+oGejGCn8n4ArdP0eBedWN opQAtMZEjXLK4nkwoI/COpCFQKkRoF8nJvQeerU8m2E+rnb+VZ3KhQN+wLLDa7xNfK1AUHr+b 2FTPaBTbCOXzHpnxH5gEVVqXlNaOVlAId5XojS3eW35ZrBDt2VwDKX3GzGVm+U4RjKUzFujTB hgnCaL5ODDVVEqeG2B2qVrs9E9xeNzHYgMM3KTKfWNMNfjw5GEPqbs+6DbOOS4wqw97HvSAEc +WqTKG3W9iUV6vMyRENXYBYTT1d/FpxRANIIXNrbyyaBTeXzCtuJpQTR8iOKK0e08ZtpO93+d T/5LA8U5Y+f8/EAWpAeeYoIqKv7oFZND6YrlnckJGrcvPJC6DI0ATdYf6X3DOxXaHSLAcfhO0 A0WuEWs8d4cCXmOI0KN1LN8Q0hpWSuwsR7i5P9a6UBrQvBkAUlDWcDyBKXa85OBzQ9UxTPM2k 1qWq4IfTVhk5h4oz3ATPbJ3R6AGw8UsbaM5uH9HK4e1jtQh0hF1k3HlI3O6dTb76A+3XLYuAI w+zdpRmRhIGvIYXRbAC3NYktpEYvaFBOHjTYAPd44j97DaWC/AMbOEvUdpiYVT+bdG/codKWX GzmsfmQLkrA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/arWy2HTiGOrD2QUAv4zckX_GTps>
Subject: Re: [tsvwg] [iccrg] IETF104 ICCRG TCP Prague presentation
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: Thu, 04 Apr 2019 10:19:27 -0000

Hi Jonathan,


> On Apr 3, 2019, at 20:28, Jonathan Morton <chromatix99@gmail.com> wrote:
> 
>> On 3 Apr, 2019, at 8:40 pm, Bob Briscoe <in@bobbriscoe.net> wrote:
>> 
>> To save those who weren't in the room from having to sit through the audio, I said that there are two sets of contradictory measurements: 
>> 	• those from 'academic' active measurement studies that have found hardly any CE
>> 	• those from Apple's passive measurements on Apple devices that have found significant localized amounts of CE.
>> My hypothesis is that the active measurements aren't seeing much CE, cos they don't generate enough traffic themselves to congestion the link and they would have to coincide with other traffic to see it passively.
>> 
>> I said, in short, I believe the active measurements are more likely wrong, and passive more likely right.
> 
> This is actually reasonable.  However your slides were very unclear about this, which I think led to unnecessary confusion.
> 
>> Nonetheless the CE that Apple measured could be consistent with classic ECN marking from FQ-CoDel, e.g. in OpenWRT devices, which would protect competing flows from L4S flows. Apple saw CE "mainly in the uplink", which is likely to be FQ-CoDel. And the smaller amount seen in the downlink could have been peer-to-peer flows that had been marked on entry to the uplink by an FQ-CoDel home router.
> 
> It is actually common for OpenWRT devices to include "ingress shaping" to exert some control over bufferbloat on downloads.  The terminology, in fact, comes from this practice, as the port in question is facing the WAN link and has two qdiscs attached, one for egress traffic towards the Internet, and one for ingress traffic received from the Internet.

	+1

> 
> A lower rate of observed marking on downloads could be due to the greater difficulty of driving the download direction into saturation, especially given a backhaul network that may be oversubscribed in many ISPs during peak hours, and thus the greater difficulty of properly configuring an ingress shaper.  It is of course better for AQM to be installed on the upstream side of where the congestion actually occurs.

	It is a trade-off, since any upstream AQM will in all likely not be configurable by the end-user, even if one might dream of AQM as a service kind of thing... (there probably is no real market for that...)

> 
>> In the [Internet -> home] direction, you are right that FQ on the home end would not isolate the access link from a misunderstanding of any CE marking. But I'm not suggesting it could or would. The question is about the machine at the Internet side of the access link (BRAS, CMTS, etc) that is queuing traffic into the access link towards the home. We can be nearly certain it is not doing FQ (these machines serve thousands of customers, so I don't believe any use FQ). The question is whether we can find one of these non-FQ machines that has an AQM enabled that does CE marking.
> 
> The motivating reason for ingress shaping is that, generally, the BRAS or equivalent device in the ISP does not perform AQM at all (though some do policing, which doesn't involve ECN).

	I happen to believe that even if the upstream end would/will offer AQM there still is going to be a desire for detailed configuration, especially in light of on-line gaming (of the reaction-time bound variety; given that many games do not even offer IPv6, I see not flag-day change to L4S or alternatives, unless Microsoft/Sony are on board and will update their console OSs in a timely fashion).

> 
> In my experience there is often a "provisioning shaper" that is essentially a TBF with a dumb tail-dropping FIFO attached; I once suffered one on a rate-limited 3G service which had about 40 seconds of effective bloat.  If that had any sort of AQM installed, ECN or otherwise, flow-isolating or not, it would have resulted in vastly better service at essentially no cost to the ISP.  Indeed it may have saved them some money in reduced memory requirements on their provisioning shaper box.

	Current ISP, offers up to 300ms delay during a simple speedtest, better than 4000ms, but certainly only useful as a worst-case limiter...

> 
> On my present LTE connection, which varies wildly in available capacity on a minute-to-minute basis, I've set my ingress shaper to a flat 10Mbps rate.  It makes an enormous improvement to the quality of service I receive, even though it reduces my throughput to a fraction of what's available during off-hours.  Yes, it is a flow-isolating AQM shaper (Cake) which is broadly similar to fq_codel.
> 
> I did spend a few minutes today sketching out what happens if an L4S flow hits fq_codel on an ingress shaper.  The theoretical results are that, in congestion-avoidance mode, the L4S flow takes about twice as long to drain the dumb bottleneck queue as a Classic ECN flow after the onset of saturation.  

	As much as care, that probably is still sort of acceptable.

> But the real shocker is what happens in the terminal phase of slow-start, where a rapid correction is required after the minimum 2x overshoot in exponential growth (because it takes an RTT for the CE/ECE/CWR signal to circulate and take effect).
> 
> How many RTTs does it take for the cwnd to be halved in L4S, when the only CE signal is ramping up linearly at one-per-RTT-per-RTT?  Hopefully enough for L4S to detect the delay induced by the dumb FIFO and fall back to RFC-compliant behaviour.

	It would be great to avoid that situation.

Sebastian Mioeller

> 
> (Yes, we have a real solution sketched out for SCE.  It will be tested soon.  We already have running code.)
> 
> - Jonathan Morton
>