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

Greg White <g.white@CableLabs.com> Wed, 03 April 2019 23:28 UTC

Return-Path: <g.white@CableLabs.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 AB45912016E for <tsvwg@ietfa.amsl.com>; Wed, 3 Apr 2019 16:28:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cablelabs.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 Mafzj2M-XBSO for <tsvwg@ietfa.amsl.com>; Wed, 3 Apr 2019 16:28:42 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-eopbgr770125.outbound.protection.outlook.com [40.107.77.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7738E120155 for <tsvwg@ietf.org>; Wed, 3 Apr 2019 16:28:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cablelabs.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LxDRExzYACA6AN9rh5w5h7Dm2dkSmSNvacr4jI2GNtw=; b=qUByKoG5dLcjS9KrIVtKy4zWbYI6igxD5Soc7GCBCW6AlEhzjbrhmv/LMqHbCgjj20V/+4OUr/lKgl4OwMEAC+rCIvqCMCyLLnPP2VWSPOx5aaEHtl4g0GuxTOEiUxuSPE3oCISNfRq6JCjTu1tDUJzD6f4rSgvlbYC8hAHlm/c=
Received: from SN6PR06MB4655.namprd06.prod.outlook.com (52.135.117.85) by SN6PR06MB4414.namprd06.prod.outlook.com (52.135.123.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.16; Wed, 3 Apr 2019 23:28:38 +0000
Received: from SN6PR06MB4655.namprd06.prod.outlook.com ([fe80::75ce:14bc:e5e2:573c]) by SN6PR06MB4655.namprd06.prod.outlook.com ([fe80::75ce:14bc:e5e2:573c%6]) with mapi id 15.20.1750.021; Wed, 3 Apr 2019 23:28:38 +0000
From: Greg White <g.white@CableLabs.com>
To: Jonathan Morton <chromatix99@gmail.com>, Bob Briscoe <in@bobbriscoe.net>
CC: "iccrg@irtf.org" <iccrg@irtf.org>, Sebastian Moeller <moeller0@gmx.de>, tsvwg IETF list <tsvwg@ietf.org>
Thread-Topic: [iccrg] [tsvwg] IETF104 ICCRG TCP Prague presentation
Thread-Index: AQHU6ksFATQlV6AwuEyVhJCWJn+a66YrJhqA
Date: Wed, 03 Apr 2019 23:28:37 +0000
Message-ID: <4507BFFD-A68A-4E8A-8FFB-347F95E3F2E8@cablelabs.com>
References: <623CA1C6-3425-46E6-AFD9-6FD7D0DBE422@gmx.de> <a7bf3c8d-bb9e-e7e8-3343-ccdbac795591@bobbriscoe.net> <82B40A22-F2C2-4D56-868A-F53D7AEA37D7@gmail.com>
In-Reply-To: <82B40A22-F2C2-4D56-868A-F53D7AEA37D7@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.14.0.181208
authentication-results: spf=none (sender IP is ) smtp.mailfrom=g.white@CableLabs.com;
x-originating-ip: [79.173.153.218]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 48842b8b-138f-4b6c-e3fc-08d6b88c196d
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:SN6PR06MB4414;
x-ms-traffictypediagnostic: SN6PR06MB4414:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <SN6PR06MB441442968BCBE80DC7CD2053EE570@SN6PR06MB4414.namprd06.prod.outlook.com>
x-forefront-prvs: 0996D1900D
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(189003)(199004)(6506007)(83716004)(71190400001)(82746002)(14454004)(25786009)(6512007)(966005)(11346002)(66574012)(2906002)(76176011)(4326008)(305945005)(2616005)(106356001)(58126008)(7736002)(476003)(110136005)(8676002)(81156014)(105586002)(81166006)(3846002)(36756003)(33656002)(14444005)(86362001)(446003)(186003)(5024004)(229853002)(54906003)(486006)(99286004)(102836004)(53546011)(5660300002)(6306002)(68736007)(97736004)(498600001)(6246003)(6486002)(6116002)(66066001)(26005)(53936002)(6436002)(71200400001)(8936002)(256004)(85282002); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR06MB4414; H:SN6PR06MB4655.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: CableLabs.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: fhqmksyHjarZyaCthf1cEEDoSc6oQeYg0eI4VHSrEgkdMGzNnkyDTMy7JQmCygX60WXmKIJlUsU6byKo35v3DjEboTcyquJzrdi+i229mmMXXY5EY/+62T49AuWF5jrRbyG7KE2jVf6AsSmNkmRiFiWjQwJ//y0aCTlmsPSwCdP2yFEK7xPfKqxR9/ZTygAl/Ywb7XKQ9skpj7tKE1HOZ25EVJss0pjtsI+SRCN3Hr1C6b7SsEWesQdzzb/W6VP5S4RSeiZFNw6hNhEkUOM6oyjWH9tvtNh0myvaPNmI4QeioHHAMIHYXyX59346S8E7v4NfKTGc3rp+Ri0X3iUoiwH0DL96dzp1hHD0vLJl2FLCnXeMndKzxTeRZjtZcK8VHfXeUanX1hykJQfcXyGRtHU9MVVFQliybPoT8IuZwdo=
Content-Type: text/plain; charset="utf-8"
Content-ID: <E4F65A8E89FC41408907FD60AB0143A2@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: cablelabs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 48842b8b-138f-4b6c-e3fc-08d6b88c196d
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2019 23:28:38.0067 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ce4fbcd1-1d81-4af0-ad0b-2998c441e160
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR06MB4414
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/7TExKcTqGcEC4uwhJR1kjqHj8bY>
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: Wed, 03 Apr 2019 23:28:45 -0000

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? 

[...]
    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.  
    
[...]
    (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