Re: [tcpm] [tsvwg] draft-ietf-tsvwg-ecn-l4s-id question

"Klatsky, Carl" <Carl_Klatsky@comcast.com> Mon, 08 August 2022 14:16 UTC

Return-Path: <Carl_Klatsky@comcast.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C268C19E0E0; Mon, 8 Aug 2022 07:16:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.684
X-Spam-Level:
X-Spam-Status: No, score=-5.684 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.com header.b=xgh4lQp8; dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=comcastcorp.onmicrosoft.com header.b=BwtVqZe4
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s37S8lREizmB; Mon, 8 Aug 2022 07:15:59 -0700 (PDT)
Received: from mx0b-00143702.pphosted.com (mx0b-00143702.pphosted.com [148.163.141.77]) (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 4BDC0C14792A; Mon, 8 Aug 2022 07:15:57 -0700 (PDT)
Received: from pps.filterd (m0184891.ppops.net [127.0.0.1]) by mx0b-00143702.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2789vlPb020649; Mon, 8 Aug 2022 10:15:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=20190412; bh=nFt+1fFb5jtnI80IeqH6sLgOh+QQPeEC+WaCLeX5IZc=; b=xgh4lQp8JdkDSKBM1Loxhh7YJOCIGn9FvhUzU7zqKYl5XmKcS1f7qL4l9o8TARJXSdy9 eMVeeFokaAKqO4vyboJAOCY59MJJ7yUJo7A54WcJxw8bwaB41wTi4wWrXMpk2wqrA9mr jWrdhc6tYW00f8s9SCf/br8i3XXc82yK2757qsC1XS3FFqYNoidtbGFqzPy/A3HRdsfQ nc7DFJKlmA1iKiuhQ80VCWFgfnld1MAJaJCCUNkQ65/rf7lQEt/xGnx2f5RH0VkgY8jl fIY1VXBga96Okd/xHmY5BEIxu8/jK0VU/dYAv9sL90xI/rgbttb9skvKh++H1NPbBLav rA==
Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2043.outbound.protection.outlook.com [104.47.73.43]) by mx0b-00143702.pphosted.com (PPS) with ESMTPS id 3hsn2jb751-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Aug 2022 10:15:12 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fdd3sdZ2ACBwWNdx5awh6LTT+qoMEvi+3mgAL/Dmu+9UM94gp2IzvibjauNzH2iXgK/GEcf9Kfcw+5YTs2WGOsMX0u50b4FHFK1zjL7A4hsSdMVejxuWnhApwMSJ4uXs7hnwnIt9leiino0k1B4Kn7yJS63rWYiWD/cltMAHJ7+OSG7SQWnLux5B6ExRqMDIlPgnppZ8IKtxdUIW7R0Zs+NfBxi1pzIpv043G80rhXiA7RfbYxD/thPzTo38l27Nf5xsN1mQQhMH9vK0vxARj5G1zDmZSyU61VoYnQd3bBnO+RKokE2NE7+Xg1NLS+oI9qgDlXA/6sOvAaPdzuzzdQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nFt+1fFb5jtnI80IeqH6sLgOh+QQPeEC+WaCLeX5IZc=; b=fYd/xvRAgQSOAXUiRfWs6Khq4U8fcFLHxpJASxZGE2k2KbTWFw7FEFEyjxjUE6GTyxPGxuXF/FXB9jSnVoZ9wlJpCyQudpohVDgoO8DXR1AaM6mBDtiOG5l+cPSSGUbN64KRtB6Y8tXUNr4858YXnx9y6V0rj5YkZQieqBKGnre4IE85W4imUmBqR69OYk/tN+jb4vxHbaWsYwp1AG/n6GxmMnJau+mZj4ixUXVmR/fn/3gHWZhKDIkLvarYgboLXn9TBBAic2l2oVX+lgbtuQeVfNExRfdtmdKYts67gc1zB/uBia6swy/IFroUlGQfh6KXtZlWXsdSU0RF9/Xzig==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cable.comcast.com; dmarc=pass action=none header.from=cable.comcast.com; dkim=pass header.d=cable.comcast.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastcorp.onmicrosoft.com; s=selector1-comcastcorp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nFt+1fFb5jtnI80IeqH6sLgOh+QQPeEC+WaCLeX5IZc=; b=BwtVqZe4U5nk3VPyGxiF9SKf8pqAPPX1mjsBqVuoJdYbvk5lKwwlhECawX8ope8Z1rBZpufy+FqR0liqdwGQfWgtKuRTAYPTUwbgHlsOeqWlZuKskSbnbho8JMjGPKFA3ntMhtpvq9/yfSFX/GUvFTUcMXaw3V8qyFpI9d2NOJs=
Received: from MN2PR11MB4664.namprd11.prod.outlook.com (2603:10b6:208:26e::24) by MN2PR11MB3598.namprd11.prod.outlook.com (2603:10b6:208:f0::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Mon, 8 Aug 2022 14:15:07 +0000
Received: from MN2PR11MB4664.namprd11.prod.outlook.com ([fe80::f45c:d4ff:94c4:9a60]) by MN2PR11MB4664.namprd11.prod.outlook.com ([fe80::f45c:d4ff:94c4:9a60%8]) with mapi id 15.20.5504.020; Mon, 8 Aug 2022 14:15:07 +0000
From: "Klatsky, Carl" <Carl_Klatsky@comcast.com>
To: Bob Briscoe <in@bobbriscoe.net>, "tsvwg@ietf.org" <tsvwg@ietf.org>
CC: tcpm IETF list <tcpm@ietf.org>
Thread-Topic: [tsvwg] draft-ietf-tsvwg-ecn-l4s-id question
Thread-Index: AdioFKGu1tMBGMZmROqvHnZcQrZlPgDGMrWAAADn7HA=
Date: Mon, 08 Aug 2022 14:15:07 +0000
Message-ID: <MN2PR11MB4664F80CD99454FB3A0D22FAA6639@MN2PR11MB4664.namprd11.prod.outlook.com>
References: <MN2PR11MB4664316684C28BF8F03BBF67A69F9@MN2PR11MB4664.namprd11.prod.outlook.com> <f709ad1f-63c4-8d22-94d6-00d2e2a83d77@bobbriscoe.net>
In-Reply-To: <f709ad1f-63c4-8d22-94d6-00d2e2a83d77@bobbriscoe.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 60be6c33-9c69-4e76-ce7a-08da794865cd
x-ms-traffictypediagnostic: MN2PR11MB3598:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 0e+BBeFRDCwyr91LDVFSQ+VdAkrjeAGR6P71t636m4NejH4zz60SjUpikS8xtaXWNrk73uo03DafSqImjSOCYx5ecTpJ+2KnGDgdbA/AXQoUvY81rbEXymeBSgcLERO5MUFGeXjIwn7Nj/sPdpoMjQ0BHO76rwOH1ksyH8KM5KfhLeODRHS46XKkPizbQYkT/gML16KA86ySMkrhDce1DYRMwNOAfTYqacYtd43CJXMsQUroJlD8uWYxODuW8ThvwHij1AW2uadEbal8wxAC045qqJYD1mzPdvh7CR2SQ69kDEqE+VOfIHpcMW8zIrkQjTf6OFqwxd2XtlJ/PaL+VSEpvmMA520+KPixnJtvlSZnYnrNbXf7PbuAhUX1h6bNU2y0z3o+mF46sXC4EpdZmwTg/BMSvs8qGQ/x2KKq0viG5PS4BwKGXWirruQuNgjjnA4oX5lUlo0kAMV1rFTDzFpyN/KCcirPZGnqowiSc0KPcwTg6Ev7K2kueoOZC6fZR5Eot4cQHgZdrjO7vpTbM53pX7UBANrNsBdRgOp2U1SsiuXT0nePuiDpgDrQN6EOW6BtawSVMqRs8SVHRwJxOG9GN7SW2sUKZFQX1gX6OaUepl5H++ruHJwSoka7WWwjaB07RV86W9ymazuO+gSv2ewPsmx2x0xX8sp3OnOHq6Fru9vGUQErK0aSxwPINLu61JATkdtmb7PDFUjOKqVC2EcdCJfZeNp6UYjOYWbM6bbPqXoUE4Zs5de+Ip2RIeQgSER1MeFA+MzrvwpebtP8XAkiZCz0xa9tTUZ+MqJCaWNuGvVp4v1u3xv7+P0WJJx10tjPc60n6OBUrz0k67V/5Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4664.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(376002)(366004)(396003)(136003)(346002)(6506007)(9686003)(41300700001)(86362001)(53546011)(122000001)(166002)(38100700002)(7696005)(38070700005)(186003)(8936002)(52536014)(83380400001)(82960400001)(66446008)(66556008)(33656002)(64756008)(5660300002)(66476007)(8676002)(316002)(55016003)(4326008)(966005)(2906002)(110136005)(478600001)(71200400001)(66946007)(76116006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: PizIc3udv5l16/hmsazwOvXRCUXxO2PGbJZ0L6pK83FpuL1a4p4roJFcQELCGTAL7BobbcTRYzrNLIUaEqcOiL5fpSQfsb/M3vJ+3nIFOl4kbRenq9/M+AhTjsx+wTOh694rooIBiTvkoO/8Dyp7M39N/bXIXtQS5OwKmGbvao65IqtBGPKTzV7lecoWvTFqk2CamXOrH2BPZ5Yfe/St4HQ/OXeflR8Jp/WSJPorY+LDu9eFNdEGnPXsdTHLEBeoRqZDpOcWeljVcI7CUQwGqtCcltMSPbpMSMS2cjNQda1Tr/bdxACMKNTQx1YndUtZ/mAxFCE+8aKuGpO+5QJVNe5QKpFICoa+im8//R8DXdyJ9U0/2+ho+my0MpGstZp0yPoZrjOV+vRrlSF4cZXfsRfS9jq83D4hjWzOijsioqK7XCy9vjwB0asu86X9afg478jtNn5VVdn+Ly+lU1om6zvnNa/zi4lr29mHBHXROZ24KxwN5Peg99/7lhrOD2iYPJybaz3sg9EX087RxsjbPGVrY7FmBlTiXvz+3H/RFSKJ3XpHFSIpMc88c0yKTPTHQjujpR+Vv9YcLMHDpvrDLi8wXwRg7flGAW7c3SmYE6VaUxS8jvTbPJkXJ8V8w6hd1rmjK7ycXmZcMZqEmjj8FwZjVaiyBflsGTFdNahjNzdqg2qnRMQ4xXDs+GI9DsTsRmtR9IsKDIfa25GCN77l7Jy9yXxBg7z58q1bWxhPpnsmpfYib4pEfpggul3t2Q630kyVfkvN0GK3rB9ja5FVM6PS/8h19TpGcr7gdhHtnmzktHfPifoeXFGl3kKCTImytcJ5IbjSATTA595NvZtyatVmrDrYu+5YCLp98qR9XgqP4kan9lFNUo+jVUtw9rm51iNz1C/BbznJETlpbuzDPATVqA4lmXGh3tIw27ejXIPPYSh7Gls2uk8BPmWK/cdV5PCeEwv5AKMl46N8DdxjssQ5wUch/ZOmETGw0bxNIY/al+AwZH7uXRxCi7CqG3gKuu44b09LJaA7KABA07hJkBGxc+s7J2mTde5EE/wEDr/qxLTDt/vTZ8R+/WZaxxXv7/Uhuwd65784FExPyGeBi80yRsaZpFihrNeUG+zfgyHzT2dfjzEmPGilSkfOjCcNihEX7jAliLg2OwgyhtOdmMyOyrtEEIFLEnETcvFeQh9I466RCdELQ8v+fRBTja0c8CV8FXDPex0lgFbg3l9SrT8ZqjPtyeSiMr5ubFhCabG5fNqlsXBqStmHUUXf+lzoR/QZf6YayVh79DR4M0CakCnoZo92GnN/NELCPEga9TVY3Zoy9u5ZKB0gFoiMvcqM6c0dSVkZNmh42R0J/aFp2YSJKzexLaPtI87eiarQJdErCKTsPs/UPd3XezD9SSQ8deePIU4uHNtIzGZPThysTGgJjLGf1SBd+U+2pwAGmiUH+6d9IFgZ4a4Jg0HNFZiEw++bIM81x+bTGLWBAEu6VL97ZZ+by4xZebhh+ftoq77QGXk+E6OITsgAghBAv3EKdMHPh/p84ah+gwXvv/bHqGoTC8Ii0mE9LkQE5/Q3t8h0p2QH2QJlh7nlQ4v8iHESEAawmNDBJ+TeoWjYNUJ52vtCNhLgUl4TcQ0QXnlR9bxVzk4qMujxyMjE+nsZILdXIDe0sOL4SWxUWv09cFSl5A==
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB4664F80CD99454FB3A0D22FAA6639MN2PR11MB4664namp_"
MIME-Version: 1.0
X-OriginatorOrg: cable.comcast.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4664.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 60be6c33-9c69-4e76-ce7a-08da794865cd
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2022 14:15:07.8470 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 906aefe9-76a7-4f65-b82d-5ec20775d5aa
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jZqzCIva9GgCDpdQS9iujyEQjpmUKKSXMazyxxpoR/HgXW/tOsE6BNNQSBpNI6lIxDr68SfVos+ohY0wLrIZKFy8tgYSnxSzfInz9vnYd64=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3598
X-Proofpoint-ORIG-GUID: oPQPZc7pK7b43Uy3EVusuS0YNmWpquPM
X-Proofpoint-GUID: oPQPZc7pK7b43Uy3EVusuS0YNmWpquPM
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-08_10,2022-08-08_01,2022-06-22_01
X-Proofpoint-Spam-Reason: safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/uVu_Tgy9ieXuvV3OERVPfQmGcAo>
Subject: Re: [tcpm] [tsvwg] draft-ietf-tsvwg-ecn-l4s-id question
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2022 14:16:03 -0000

Bob,

Thanks for looping in tcpm, and thanks for the clarification.  I’ll let this sink in some more, but good for now.

Regards,
Carl Klatsky

From: Bob Briscoe <in@bobbriscoe.net>
Sent: Monday, August 8, 2022 9:48 AM
To: Klatsky, Carl <Carl_Klatsky@cable.comcast.com>; tsvwg@ietf.org
Cc: tcpm IETF list <tcpm@ietf.org>
Subject: Re: [tsvwg] draft-ietf-tsvwg-ecn-l4s-id question

Karl, See BB inline, [I've added tcpm to the distro]
On 04/08/2022 16:54, Klatsky, Carl wrote:
Hello tsvwg-ecn-l4s-id authors,

Question on this part fron section 4.2

   TCP:  Support for the accurate ECN feedback requirements [RFC7560]
      (such as that provided by AccECN [I-D.ietf-tcpm-accurate-ecn]) by
      both ends is a prerequisite for scalable congestion control in
      TCP.  Therefore, the presence of ECT(1) in the IP headers even in
      one direction of a TCP connection will imply that both ends
      support accurate ECN feedback.  However, the converse does not
      apply.  So even if both ends support AccECN, either of the two
      ends can choose not to use a scalable congestion control, whatever
      the other end's choice.

I follow the comment about the converse case where both ends support AccECN but decide not to use it.  Is there ever a case where both ends support AccECN and negotiate it per table 2 in tcpm-accuarte-ecn, yet do not set ECT(1) in the IP header for some reason, but then will respond if they see CE set on packets by the bottleneck link entity?  Trying to understand if this is possible, and if possible is it likely to occur or just hypothetical.  Thanks.

[BB] This is perfectly possible, because the idea is that Accurate ECN TCP feedback (AccECN) provides a superset of both Accurate and Classic ECN feedback. Meaning, AccECN supports the same API to the feedback of a CE event as was there with RFC3168 ECN feedback.

So, if both ends have an updated kernel that supports AccECN, and both ends have loaded a Classic (non-L4S) congestion control module (e.g. CUBIC) with ECN support, then they would negotiate to use AccECN at the TCP layer and both send ECT(0) packets at the IP layer. Then, if a CE arrived at the data receiver, it would feed it back using AccECN's ACE counter (and optionally the AccECN TCP options), and the data sender would detect an increase in the counter, so the CUBIC module would trigger CUBIC's window decrease and ignore all further increases to AccECN's counters for the next round trip.

If AccECN became supported by default in some OSs, this could become a very likely case, at least while CUBIC is the default congestion control for most OSs.

Another possible case would be that both ends support AccECN, one has an L4S CC module loaded (e.g. Prague) and the other has a Classic CC module loaded (e.g. CUBIC). Then the packets in one direction would all be set to ECT(1) while the data packet in the other direction would be set to ECT(0) while the TCP control packets (SYN, SYN-ACK, pure ACKs, retransmissions) would be zeroed to Not-ECT.

I used to always include a diagram in the spare slides of every AccECN presentation explaining where it fits in the stack. But the last time I did was Nov'21 (see the last slide here):
    https://datatracker.ietf.org/meeting/109/materials/slides-109-tcpm-more-accurate-ecn-feedback-in-tcp-ecn-adding-explicit-congestion-notification-01#page=12<https://urldefense.com/v3/__https:/datatracker.ietf.org/meeting/109/materials/slides-109-tcpm-more-accurate-ecn-feedback-in-tcp-ecn-adding-explicit-congestion-notification-01*page=12__;Iw!!CQl3mcHX2A!BIyJSwIY_9jS0cyujIfH4xcSiwFznpFqVDVTmyjVCn1PV1pXazdCloL-JHCzUt0kPY1gXSpwoMqm0eSIGQ$>
This may or may not help!

The introduction of the AccECN spec should also help. But if you can suggest any better ways of saying it, or any gaps in what it says, pls do.
    https://datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn-20<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/draft-ietf-tcpm-accurate-ecn-20__;!!CQl3mcHX2A!BIyJSwIY_9jS0cyujIfH4xcSiwFznpFqVDVTmyjVCn1PV1pXazdCloL-JHCzUt0kPY1gXSpwoMqtw4rRbQ$>

Cheers


Bob



Regards,
Carl Klatsky




--

________________________________________________________________

Bob Briscoe                               http://bobbriscoe.net/<https://urldefense.com/v3/__http:/bobbriscoe.net/__;!!CQl3mcHX2A!BIyJSwIY_9jS0cyujIfH4xcSiwFznpFqVDVTmyjVCn1PV1pXazdCloL-JHCzUt0kPY1gXSpwoMrjwpyvdA$>