Re: [tsvwg] FQ & VPNs

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Sun, 21 February 2021 18:49 UTC

Return-Path: <ingemar.s.johansson@ericsson.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 B2EBE3A0E88 for <tsvwg@ietfa.amsl.com>; Sun, 21 Feb 2021 10:49:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.669
X-Spam-Level:
X-Spam-Status: No, score=-2.669 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.57, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_RATIO_08=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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=ericsson.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 ZZAZ7Xdj6XOK for <tsvwg@ietfa.amsl.com>; Sun, 21 Feb 2021 10:49:03 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2064.outbound.protection.outlook.com [40.107.20.64]) (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 A82E73A0E8A for <tsvwg@ietf.org>; Sun, 21 Feb 2021 10:49:00 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aczALnJvbstcB1Uy+cCWLDRmVFEEIUT0/CKK6FaG/MXwg5Ak/IpkJqutEx8DH3o9QH06XcgMzUEvqs1Mxk8d1QCYAxAxPXEOjQf8r5avQ43JwTBJTESS8CicrvCjFvW2ed9fo73Q9frbN5LubzFR4hD4jh6QY1jrEj12OVJezAAQDsB7CnFean2FpGOsU3/K49+ca0n9uAiqifgHuVeOWmrMRISIPZyYTLjmneJUXFNMU9cERjpFcO3Z7ZXv96QxhFbNgoEva4n6vrEYMAj/pebyJO37QNyj6rpM5Z/RhmUk74P2d8lfoIF2PI6KnTFlpeklrbgN+D/KDwWQNrxuQA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ShXsOqgTMcqf9FSB/pUCzMn79TV7Qw8aGzAXkOp94Vc=; b=cobcTZkEX4GaUmAmZEBdlnlr39qwfSW8xvV669NOGphzAq6HjN5WWZ9RXbwGyzQMPcntS6jWAVxZ20YR4NmNYuKs3Kr+haUgsp2rw9xp/dRklAUXQluGFEdrRinVkf4RWKnl00MtjCHMO+2ed+8+wFiJPbeTLRszRe/mpODjB9V75TCBUltKEflHNqS9MlXTTC8Y1ujSq2Gn2MDXpmiuFQEvnA42bDzOqmeLQYbSAgimhyeCkHl4fEtT6vO8FccNbf3kf5bvb6tpgr/E0UmrJ348h2vKYpymGrKgZyIO4TyZzO9OqEI1t6Bf3cEqPl8zbsOEsyKImMfF+g+Q/lxD7Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ShXsOqgTMcqf9FSB/pUCzMn79TV7Qw8aGzAXkOp94Vc=; b=q9Q6pcuVezwgHFLBKjLnS4NAgnsYu6tZXKuweKw09GF+fR9pLziQlhGYisWizSSDWyB+7QbwHJLHNTcd0qJl/jtFxxYp7Oc0DOu2eVyg5xlAbJBcM+pZ1UP/PASvVWRbPqhjvNArkhUW2HWRkV3aboUusqJ+EQ5ccXF+UZ5XGyw=
Received: from (2603:10a6:3:6c::8) by HE1PR0702MB3609.eurprd07.prod.outlook.com (2603:10a6:7:83::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.13; Sun, 21 Feb 2021 18:48:54 +0000
Received: from HE1PR0701MB2299.eurprd07.prod.outlook.com ([fe80::494d:6160:61fd:5b1]) by HE1PR0701MB2299.eurprd07.prod.outlook.com ([fe80::494d:6160:61fd:5b1%9]) with mapi id 15.20.3890.016; Sun, 21 Feb 2021 18:48:54 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Dave Taht <dave.taht@gmail.com>
CC: Jonathan Morton <chromatix99@gmail.com>, Bob Briscoe <ietf@bobbriscoe.net>, TSVWG <tsvwg@ietf.org>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Thread-Topic: [tsvwg] FQ & VPNs
Thread-Index: AQHXBxaqQomJ8SowS0azevj3vl+bUqpgOKaAgAAGrYCAAQ438IAAQwSAgACdhfCAAFXyAIAAbXnw
Date: Sun, 21 Feb 2021 18:48:53 +0000
Message-ID: <HE1PR0701MB229949E3A1AB1D2068AEDFA3C2829@HE1PR0701MB2299.eurprd07.prod.outlook.com>
References: <161366419040.16138.17111583810851995947@ietfa.amsl.com> <BF0810D9-E742-4FCB-90B1-6957551B585D@heistp.net> <b222bbdf-70ae-3e5b-b122-1160299fb4e2@bobbriscoe.net> <E7CC88FA-F064-4B72-BAA9-8BE40F7AF040@gmail.com> <52cb434a-bd91-6260-7be9-85bdbd07b625@bobbriscoe.net> <BCAB7068-A10A-4FC4-9719-E300F644262C@gmail.com> <43f43fa2-69c4-bc10-3ffb-e95e41809335@bobbriscoe.net> <4835a3cd-4d88-68ac-d172-1e21bc42a150@bobbriscoe.net> <CAA93jw7_yvkqU-uxHkbHkO2g_RFmzCmJcxQhMJcBQjo=+QMh=w@mail.gmail.com> <HE1PR0701MB2299CF42CA83576C86070BB0C2839@HE1PR0701MB2299.eurprd07.prod.outlook.com> <13EBAF97-A9AF-47A1-AB71-546C31F762C2@gmail.com> <HE1PR0701MB22999A319816198B515234BEC2829@HE1PR0701MB2299.eurprd07.prod.outlook.com> <CAA93jw6GNbgOSDfWo2mQPWSS5GQdTNqtq=fBgspP=MNkyPNtfA@mail.gmail.com>
In-Reply-To: <CAA93jw6GNbgOSDfWo2mQPWSS5GQdTNqtq=fBgspP=MNkyPNtfA@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [83.227.122.88]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 73535731-89ad-4b68-c328-08d8d6995665
x-ms-traffictypediagnostic: HE1PR0702MB3609:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <HE1PR0702MB3609C33CA320BC421EAB35F6C2829@HE1PR0702MB3609.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6108;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: S24SiUmkdzPEnz2ZaCyHL64X/K0/poKHzUt7oHBDhzwOlr1utuSMcE1U8SVMEjhNhwkpaCd5079QVybct4C2O9qdZljIYUjU0d2E1Uqb/gNmKBD5DiZfNYN9WpaUQne95i+fr8NqODDAdz5WisjpfD6Vp2ykdgA+dawR4QW7MLqPaTL5vc+GqBaxhqBBqYuYuK+xLaHgX6gx/xeOk+LSlaNzi4F1ymLrgwZdibDjtPwJ/KwkjgYdesoNLB1gxH8UhuBy5od6ICS0YAU1LXYgAu13YJR+dFl3dXXJiVozcd+Fsu1XQHzQSaYuVtXbFQqaLSojrb2UH2DCmpQx+QaxeBEiZIaN7c0EmGX3/0UdUHHKEpQ5akmkya8Hcj5rphP4080z6ajXIi5gIEBSk8IGgLmmKuD/YnrSCBClXdTtF5pHZNcfnkvZZ23dhhyLVNq5CuhiyznQ/jh8Afb9/toyQJ8pXa8oBs4oNgsrn9HOONbEv/wigKwam+rBrYEROGo69McEo33noszsndrxF0SU7sytalYT0Eex9zuad/r3wlJsDV5ZwRq9oUcs+gQ335EH0OqQxAWxXWcXCsZW4Fjs1AhhJr9zaZ4K13dQAP9wgJM=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0701MB2299.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(346002)(136003)(39860400002)(366004)(7696005)(186003)(166002)(26005)(53546011)(6506007)(99936003)(71200400001)(86362001)(52536014)(5660300002)(6916009)(107886003)(66556008)(66616009)(54906003)(83380400001)(66476007)(4326008)(76116006)(316002)(966005)(66946007)(66574015)(55016002)(66446008)(2906002)(33656002)(8676002)(8936002)(478600001)(64756008)(9686003)(9326002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: t5LLA4u7DIncXzAY3ocZ/Nv/ELQHuTcAEC8YrfP+bqxrDuQ2QZXL8/5f7LHnc7XlVGXeW+121SralyC5fJyZjuyYt113pHVcsPDirvcEO38IDxnGaQJXc8Qo4xORIgq3P13T4QGj9gDmDr30PWfl/Oz03J/8LaSNjFKsuEua2zkRXJI85mJyzTQxmEpme2lVZVVjHh1/QQzz4C9A8JPaTshdfAPNXLueENzGEmpnFZr1YncabP8Abczj1GqCUxkLevQy/7jis8jc5ST+XOKyQpcVsWshWKIl+Q+qCal4/sH67CYijNPAYTSIdga47BZ9L9SackkxMR1MY3+95ZOt+TMp6upRzHeT1IMNVnKuLc7le9LHuUCxXjn4COAifRDH8XI/MJqeu1kILMhcMmPlBpsUH+dgAPFWkm2cdN5s496uvrh1XRL4HXkBP9eD6qMEdca3Oh8tLP6zlchw1gmu+HWSSrEuqJEj/sElezSiro12CBE9hAxvMLwcorSLGtiwNqQeBk/9OQ7j4zJa2L/E87Fz+/81u/knO7FJlzQKZtx5emxvW+nXbhrBQQQazjYB13ZKyBBqrosrxvPZ8KXxYs44NtOcWqfQ1ESHBz6LZYx3PPhXn5pSdDyxNKV9cYrKEGIcIlj5ZEvFVOP/z+cuInfjwjvjllg6/SrnIDUsYUL8W7U5Zi70b3oSEp/TePPWxGw7UAMZNEzNKH5iTGK2aifqaNaa6xjny0qDCHIZy326hNuyNZ032pMjPOarSIFqKB9hWGi7pT+nZqklZnaphSYJDKiqdfYAGoBp9APwgkwQmlQ0HEJ1xsATWkz8dTvzfpzwCb9ZnjsL+olGYfN1CIacdteJkTBaIrZDxaA1x04s67JmTYHgMlj3DabScOARX8ttJASiwN8vtiEtnVGPDwZZMA7f3A2d+0OByWdckwQqH9cckaf0R9ixVpAr+kJqjzPWYvt4f87Dopewa4Fg04h8luxupRMw203o/0b1uwEGs2QyE73LnhLRRl+Xzgf3O9KW/qq8/7XAQ26dgORFMM2dNffXOiSYpyBHhccd2qlNzkCDHBaWDhTvR+6zJgUQ6R0zH3fGPoI1O3tMULhCPp+EqO8fDgTB406NvHIMWQ81hrp3+Hd12HBKXkd1T1pd3KfkvjbYuaxIupgWcAtLlJdQB0/SrSCKVem50UH7+YUPR2HaNA9mmmP+4HnMmGpltKTJjEQKzi7t7ch8P77o1pqN/wVSNIcx0dwBTht1vi71laDoXVnH2xlRIIW72xRnCEObhx7WowXjOmfo0WiuxQum4j9pch9C+fszbRf0YGrzDYOyzmAsj4f5U1TobfOR
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_023A_01D7088A.94101530"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB2299.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 73535731-89ad-4b68-c328-08d8d6995665
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2021 18:48:53.8566 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: UgGqcyp9/cLAEenpAVZzrsOGcbny0zN4IRLrKMm444MlWJ0RswhU526hcYaa9qVFmP26/ljzyfYJ3kY3fQ8hyt709qN2WPCk70sFzfvpBlc4nFAqZ0o4bGGRXTKEkgl7
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3609
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/4B6WFGUOkV1N8hj5l9H2N4ryrgk>
Subject: Re: [tsvwg] FQ & VPNs
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: Sun, 21 Feb 2021 18:49:07 -0000

Hi

 

The question.. fq-codel took 8 years to deploy, does this mean that it takes 8 more years (or 5 or whatever) to roll out fq-codel that supports L4S ?. Note that we have by now spent almost two years arguing on the TSVWG list.  These two years could have been spent more wisely, for instance on studies on how to integrate L4S in fq-codel (or the like). 

 

And also.. even though I am enthusiastic about L4S, I don’t expect it to happen overnight. This would give you time to update fq-codel for L4S and have it deployed. Meanwhile algorithms that fallback to RFC3168 ECN and/or separate VPN tunnels for L4S traffic can do some damage control. 

 

/Ingemar 

 

 

From: Dave Taht <dave.taht@gmail.com> 
Sent: den 21 februari 2021 13:00
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Cc: Jonathan Morton <chromatix99@gmail.com>; Bob Briscoe <ietf@bobbriscoe.net>; TSVWG <tsvwg@ietf.org>
Subject: Re: [tsvwg] FQ & VPNs

 

Participating reluctantly, as usual.

 

On Sat, Feb 20, 2021 at 11:04 PM Ingemar Johansson S <ingemar.s.johansson@ericsson.com <mailto:ingemar.s.johansson@ericsson.com> > wrote:

Hi

 

Trying to summarize. Your concern is that the L4S flows starve out the non-L4S flows when they share the same VPN tunnel. 

You proposed the solution yourself below:  

“The VPN user is thus in a position to predict, understand, and possibly mitigate the effect by splitting the traffic across multiple VPN flows, if performance turns out to be more important than hiding that piece of information”. 

The same rationale can be used to put the L4S flows in a separate VPN tunnel, problem solved.

 

 

In terms of VPNs there are multiple other problems. Site-site, bare metal, running fq_codel over ipsec

 

 

And then, there is always a possibility to upgrade the AQMs to support L4S as well ?. It always appear from your argumentation that fq-codel is some kind of untouchable monolith that cannot at any cost be modified, unless of course you see a possibility that VPN tunnels can somehow leak inner header information (see separate discussion around draft-ietf-tsvwg-transport-encrypt)

 

 

It's not an untouchable monolith. It is merely the default qdisc in nearly every linux distribution at this point, ios, and osx. It is used by 10s, maybe 100s of millions of devices at this point. It is part of billions of containers. With nearly 9 years of deployment into an ever increasing number of embedded devices that typically lag 5 or more years behind the mainline OSes. Making changes to how ecn is interpreted would take 8+ years to flush out of the field. 

 

Total (documented) L4S market penetration of its mis-interpretation of the CE field - 0. I might be kind and say "alternate", rather than mis, but slamming L4S through a rfc3168 fq_codel'd system does have the documented effects so often discussed here.

 

The ce_threshold parameter has been part of fq_codel for many years also. Tweaking that to instead trigger off of ECT(1) is straightforward. Without clear data - which we didn't have at the time of this debate hitting public mailing lists - doing that seemed dicy - and there was indeed a encapsulation bug regarding that transition that was found and fixed a while back which will take years to propagate to the field, also. 

 

The SCE alternative is a backward compatible interpretation of the ECN related bits - and fails safe -  and could have gone into wider distribution 2 years ago with near zero impact on end-user OSes, and as gradual upgrade, and been (well, actually, has, as fq_codel_fast and the alternate cake have been tested by a few parties at this point) tested as to other impacts. Coupled also with a DSCP field a la "nqb" (and preferably a few other dscp bits) it could be effective, sooner.

 

I have been tempted a lot to at least make SCE available as an option in the upcoming openwrt release, but neither side has made a convincing argument that doing this to ECN at all makes sense, and in fact the flood of negative data on it (rtt unfairness in particular), makes me more inclined to just recommend ecn be disabled entirely.

 

 

With that said.. I believe that Bob is right. It benefits the TSVWG group better that we continue this discussion off list. It is just the same old arguments over and over again, albeit packaged in different wording. 

 

/Ingemar

 

From: Jonathan Morton <chromatix99@gmail.com <mailto:chromatix99@gmail.com> > 
Sent: den 20 februari 2021 22:29
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com <mailto:ingemar.s.johansson@ericsson.com> >
Cc: Dave Taht <dave.taht@gmail.com <mailto:dave.taht@gmail.com> >; Bob Briscoe <ietf@bobbriscoe.net <mailto:ietf@bobbriscoe.net> >; TSVWG <tsvwg@ietf.org <mailto:tsvwg@ietf.org> >
Subject: Re: [tsvwg] FQ & VPNs

 

On 20 Feb, 2021, at 8:42 pm, Ingemar Johansson S <ingemar.s.johansson@ericsson.com <mailto:ingemar.s.johansson@ericsson.com> > wrote:

Quoting Jonathan " However, I would remind you that neither SFQ nor fq_codel can distinguish between flows carried inside an encrypted tunnel, so this cannot be relied upon alone to make L4S safe.  Pete's data shows significant tunnelled traffic, much of which is probably due to people working from home and using VPNs to access a corporate network."

This line of reasoning makes me confused.
Section 6.2 in RFC8290 ( https://tools.ietf.org/html/rfc8290#section-6.2) clearly says that fq-codel will not deliver its intended benefits for encrypted tunnels. If ISP's still rely on fq-codel to do it´s job well even though a substantial share of the traffic is VPN, then that is of course a problem. But I see that only as an fq-codel problem.

 

I will just note here that although treating a VPN containing multiple flows as a single flow results in a reduction in throughput, when it has to compete against other traffic at a saturated bottleneck, this is a relatively minor and infrequent event at the ISP in question.  

 

The degree of impairment experienced by the VPN is also strictly bounded by the number of saturating flows carried within it.  The VPN user is thus in a position to predict, understand, and possibly mitigate the effect by splitting the traffic across multiple VPN flows, if performance turns out to be more important than hiding that piece of information.

 

So what I cannot at all understand.. Why should a known problem (or read design feature) in fq-codel (or SFQ) be interpreted as something that makes L4S unsafe ?. 

 

The problem is entirely due to L4S flows' harm to conventional AIMD flows when passing through the same queue and AQM instance, unless the AQM is of a type that specifically understands L4S.  This is a predictable and inevitable consequence of L4S flows responding qualitatively less (by what is effectively an Additive Decrease, despite claims to the contrary) to each CE mark than defined in either RFC-3168 or RFC-8511 (which both mandate a Multiplicative Decrease to a single CE mark).

 

Consequently, if L4S and AIMD flows share a single VPN tunnel, which passes through a conventional ECN AQM at the bottleneck, the AIMD flows will collapse to a very low throughput.  It is crucial to understand here that all existing ECN-marking AQMs deployed in the Internet today - most of which are fq_codel or similar - fall into this category.

 

I attach an example of the likely consequences.  The red trace at the top is L4S throughput; the light blue trace at the very bottom is the AIMD flow starting ten seconds later.  You may refer to previous data sets published by Pete Heist and myself for further examples.

 

 - Jonathan Morton

 





-- 

"For a successful technology, reality must take precedence over public relations, for Mother Nature cannot be fooled" - Richard Feynman

dave@taht.net <mailto:dave@taht.net>  <Dave Täht> CTO, TekLibre, LLC Tel: 1-831-435-0729