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

Sebastian Moeller <moeller0@gmx.de> Thu, 04 April 2019 10:30 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 BE999120478; Thu, 4 Apr 2019 03:30:39 -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 Ihry8sFcsFuY; Thu, 4 Apr 2019 03:30:38 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 7BBDB120041; Thu, 4 Apr 2019 03:30:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554373790; bh=wg9B1EaqSRX4HkLNVHwCQINawUVkh/7H655jYZzWagY=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=dAue2N5Eg54sSPARkJkb6/pVtZKu8nPpFdryIE5gYRQD6r32N0d4qh8l7FofGMqwu urTeTZbCHPzVFOOI0Zzhcr7eiwln1qcpOWx5yD6ddcnWoZupR9K8qGHwrGawzQK9UZ 0ScEh+SFR1hpEvBuiOV6YX5ivTYnd0L3Hi574EXU=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [172.16.12.10] ([134.76.241.253]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M8pKi-1h4Jaz374m-00CANM; Thu, 04 Apr 2019 12:29:49 +0200
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Sebastian Moeller <moeller0@gmx.de>
In-Reply-To: <4507BFFD-A68A-4E8A-8FFB-347F95E3F2E8@cablelabs.com>
Date: Thu, 04 Apr 2019 12:29:47 +0200
Cc: Jonathan Morton <chromatix99@gmail.com>, Bob Briscoe <in@bobbriscoe.net>, "iccrg@irtf.org" <iccrg@irtf.org>, tsvwg IETF list <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <59D6B58C-C966-493C-B3B9-CAD3AD7AD5F9@gmx.de>
References: <623CA1C6-3425-46E6-AFD9-6FD7D0DBE422@gmx.de> <a7bf3c8d-bb9e-e7e8-3343-ccdbac795591@bobbriscoe.net> <82B40A22-F2C2-4D56-868A-F53D7AEA37D7@gmail.com> <4507BFFD-A68A-4E8A-8FFB-347F95E3F2E8@cablelabs.com>
To: Greg White <g.white@CableLabs.com>
X-Mailer: Apple Mail (2.3445.9.1)
X-Provags-ID: V03:K1:fJDpCHWkTYS5QjLY4m7k5gsa/bgT/9iitFv11+xg1z2IwXdHoJD FIjAKxfLKlImDSBGzJMnptjKxWDZPPd3vD09Jt5N+5LOZrtn68gxXFDLJWuaEFClTSJXehi Ff5WQKW09VwUVBkMEgBc1LgCJliUQgfh3zTWUsT6c9u68B5CFfJdLFP3t1/I0qV8olvxuvT Bhg9BdqCaPs4z8N3WSCAQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:OEKIEd6VJR0=:ikXVq3Qz+NGltlndv667SS aBj2Ib4/IB6uQJjKCtQ23zEA1lL095A/EC+29waQs7JAit5hUGBBZN+mD6T85vZ/9ljGoAUmm EHe9Lsq90258vP36sFvsU9/ILLjB1lRcZGjkM3FHvWKgmt++MW7cQ++ntPrAPB8NdemnGQqFV uafOYVMXfG65+2aDxYfFpsDDhBhvMGef+i6uGoYmgKWJtPf9GYy8gFzLyI22/kDUrE6OyQyZ2 0EjnorhaohyfSmI4H1f85uYt7XOzecjSd1PEuB3NTjWukEnaAmARkYXpuWEVDIU9DEHQSo9GW EskMZ8meylD2Hs6jZ+PnIXrhaW7z4sIk25sf3mF2YEpLfsR/llCRVctv9nLl4xFPW4DjI2DNu 0z99b6gbFga6WB7inZuiAgYkyFS+ZfhFoH1fGYUF3AZNJweL5ka3j2ZUuf+01lkHbXEdT3PcM ZZf1aBxSFEC4yI/BoGc8yA036QYUZqHkDNUE/wV2lXNI3lSgAtWJPOv3oD6c6pq0+cSp+2tNh GWT6Im1ADD1Qfgb57tUhil+81sra/Du8/oIwc+/fExPGQfUsv1K3SN/Tw6yjlUWwlJN6IoPbN LpNv0Oc0LGMg80qoXSo/IAv3OmaL2g94ZBmG5wvPZPZ6ftYbE/BHppczBHPSp2I4AN1w5Bxov p2Ym9BGzTHSKUPPB4aRqOgXntFEguTKMhThkoANPdiF1DNO+rS5lHJjVyfNFh026u1STuCDNS Sbxo3WYxNqMWKEh9BrVszfW3VbeP295Dan2rUFWxonNNxEuXTsmqQ7HLPuoiLJC2IjJPdq6Fv tgBRPgwd1PFIWoGh9L+KaB+88ILWeLKBOQMGobQxqxSyAtWjHwh4H/zkZQvUAfXLqrSN//fki kbPYbIjyV2AcAEi4qfy/rA4rFtFfaEcc8hejzLlL8VuZwKHZ1QarvvdF60fD7CWa7TqwWfeSu 8SgXrXC9SwQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/XwKnYLDe1FKk23EU1b6tIs68loA>
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:30:40 -0000

Hi Greg,


> On Apr 4, 2019, at 01:28, Greg White <g.white@CableLabs.com> wrote:
> 
> On 4/3/19, 7:28 PM, "iccrg on behalf of Jonathan Morton" <iccrg-bounces@irtf.org on behalf of chromatix99@gmail.com> wrote:
> [...]
>    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.
> [...]
>  It is of course better for AQM to be installed on the upstream side of where the congestion actually occurs.
> [...]    
>    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).
> 
> [GW] It will be the case that many such "equivalent devices" can (and will) support a dual-queue AQM (not fq), which (where available) will eliminate the need for ingress shaping, and provide a better result.    If fq_codel (or CAKE) were updated to utilize the L4S-style of ECN (or even just treat ECT(1) as non-ECT), this would be a non-issue.   How feasible would that be?


[SM]: I happen to believe that head-end AQM will ameliorate the need for an ingress AQM for a lot of casual users, but all those that are constantly running against capacity limits (think ADSL) typically desire a more fine-grained prioritization than a head-end AQM is going to offer, includsing restricting bandwidth to certain proiorety classes to say keep latency increas for game traffic tightly bound. I believe in that case the guarantees L4S offers are not sufficient, as the gaming case requires "guaranteed bandwidth at a certain latency level" as compared to the low_queueung latency guarantee L4S offers (which basically moves the que back into the sending end-host, which is fine, but all it does not help if I need to send @ X Hz).


> 
> [...]
>    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.  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.
> 
> [GW] One of the optimizations being investigated for L4S (both TCP/QUIC Prague and (I think) BBRv2) is a revised startup process that avoids the 2x overshoot from slow-start.  Nonetheless, you are right that an issue to be understood (and addressed?) with TCP Prague / fq_codel compatibility is how to prevent TCP Prague seeing worse latency than classic TCP at flow startup.  As you indicated, once the Prague sender falls back to Reno behavior, things are fine.  
> In fq_codel/CAKE currently, does the AQM switch from CE mark to packet drop at some higher threshold of sojourn time?  If so, would this provide for a faster fall-back to Reno than you considered in your analysis?  Alternatively, if fq_codel/CAKE were to treat ECT(1) as non-ECT (or implement the L4S style ECN) this would again not be an issue, I believe.  

[SM] I believe this to be just as viable as having L4S AQMs interpret ECT(1) as pulse-modulated continuous congestion information. In the end, after the dust has settled, one of these is going to happen, as there is only going to be a single graded congestion signaling (if at all). IMHO the jury is still out which approach will win.


> 
> [...]
>    (Yes, we have a real solution sketched out for SCE.  It will be tested soon.  We already have running code.)
> 
>     - Jonathan Morton
> 
>    _______________________________________________
>    iccrg mailing list
>    iccrg@irtf.org
>    https://www.irtf.org/mailman/listinfo/iccrg
> 
>