Re: [Detnet] Role of the transport layer in the DetNet Architecture

"Black, David" <David.Black@dell.com> Fri, 29 July 2022 22:19 UTC

Return-Path: <David.Black@dell.com>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 79EB2C13C22D; Fri, 29 Jul 2022 15:19:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.688
X-Spam-Level:
X-Spam-Status: No, score=-2.688 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.582, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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=dell.com
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 wqWi3jVygZXm; Fri, 29 Jul 2022 15:19:45 -0700 (PDT)
Received: from mx0a-00154904.pphosted.com (mx0a-00154904.pphosted.com [148.163.133.20]) (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 40AACC13C22B; Fri, 29 Jul 2022 15:19:45 -0700 (PDT)
Received: from pps.filterd (m0170389.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26TKrGrj005975; Fri, 29 Jul 2022 18:19:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=smtpout1; bh=YP38g3XnSh8VuS2S3yBahtajjztPqKk2OBRmhmoM26Y=; b=KHD18kt/FhwfTt5R+YSVknobYO/tKoJ6snez1TpiqfZScJVX9Yg1b4cFt4bzAN/cLxlH 7DcXZgBfMA6LkOf+DEHE/rtGHJ6rIYuc5/k8zW0j0sNbfFMKsOEM48uNfc6FO376iceY l5U/ePKUftxhmKap+me74pGzc2AC+IwSpMSCjsJAnkCgdnbCuY8rTF9ZjSa/UlRwPlXt tNAN/KqBOY/m1gN8wJKmK9VOk2VgePQ0rImxQjSDUlOnX25dV7VMDaz0nNGCuzqsNsKV rcWGmgf2E2aKE8oCq2qGkKD8fqkUzq1M/lKHkOdotnLEiQpSJW7Cwcaa24hdcZ8176lB 7A==
Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0a-00154904.pphosted.com (PPS) with ESMTPS id 3hgd0jknr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Jul 2022 18:19:44 -0400
Received: from pps.filterd (m0090351.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26TMCWmG005652; Fri, 29 Jul 2022 18:19:43 -0400
Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2172.outbound.protection.outlook.com [104.47.73.172]) by mx0b-00154901.pphosted.com (PPS) with ESMTPS id 3hm1kcaqv3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Jul 2022 18:19:43 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KbT1+wDb9C12qQfnj9mK5n+HR0SY+OqfQiYF10xKTCTuQSBvbEM1J/qlYNL5A6IifvaeLt7OTLydpmeyaHZnUwT57hmfetVZTOtwriDYSkNT7Vy/nmi/cIE5GK6x8Eoj1B1glv3/ZT56dz9O15cTsXsc0hcEGqEcnBRhrCGam3iWYGSLl6JBS8A15Ad37YAgQ+Fuc8dqYjjbbLGvwZILtp7GBxQTstyLiaK/hVYrez0fakbbs9sU9IKqF4on/IkyHcOvuSB6OP0ExgiFNI1bxYJYmGxw/jELaH7EW0TFDzTQbw6Tae4fjxdG9jzVV9Mx9Fq0xQE5gepk6m28qGbCxA==
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=YP38g3XnSh8VuS2S3yBahtajjztPqKk2OBRmhmoM26Y=; b=VJqU9S+fwzwcRcHJMXvqde8n3qPc0KW0oG0MW+h+mmMKBlOLnsJUNShbY0at6kW+PrOBjMVFKLYvtPuUEtBlIV28oLcJWePJcV9hWnArotzlb8zcLZYRKGdVuFhk58sBFf2PROajJhOw3F5uCUElc2jOzsPK0vi0iTp2YAC0zcxOwZ4H+Q7E3g3zWKE2+Ji3d9t62zt89eH/yVSm077klhGAzFFDPFn8Y4KI1AkLOFL8Y+tjuP6iSdaWRvXMCIzw7T+ZP2QJg11hyR0mj7ZanCf7eEUKNFPaFWAw4A6QGxTSdwK/cdSCDmJB99KCtYLZ/1cMocVhh4t+jAHxqwH87A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dell.com; dmarc=pass action=none header.from=dell.com; dkim=pass header.d=dell.com; arc=none
Received: from MN2PR19MB4045.namprd19.prod.outlook.com (2603:10b6:208:1e4::9) by PH7PR19MB6481.namprd19.prod.outlook.com (2603:10b6:510:1fb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11; Fri, 29 Jul 2022 22:19:40 +0000
Received: from MN2PR19MB4045.namprd19.prod.outlook.com ([fe80::f5c4:c449:dc5b:a0ec]) by MN2PR19MB4045.namprd19.prod.outlook.com ([fe80::f5c4:c449:dc5b:a0ec%7]) with mapi id 15.20.5482.012; Fri, 29 Jul 2022 22:19:40 +0000
From: "Black, David" <David.Black@dell.com>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>, DetNet WG <detnet@ietf.org>, "raw@ietf.org" <raw@ietf.org>
CC: Balázs Varga A <balazs.a.varga@ericsson.com>, "Black, David" <David.Black@dell.com>
Thread-Topic: Role of the transport layer in the DetNet Architecture
Thread-Index: AdibP4EOEYL7M004T7WXrlEYlrxaZwAMZiyQAV7qBAAAnBFukAAB6beQAAuubvA=
Date: Fri, 29 Jul 2022 22:19:40 +0000
Message-ID: <MN2PR19MB404567D3515E6887AF3F910683999@MN2PR19MB4045.namprd19.prod.outlook.com>
References: <CO1PR11MB488196C69858352D34AFB860D88F9@CO1PR11MB4881.namprd11.prod.outlook.com> <MN2PR19MB4045CDD12BC82689E1485312838F9@MN2PR19MB4045.namprd19.prod.outlook.com> <VI1PR07MB5358F5D9B5629D47379E060AAC949@VI1PR07MB5358.eurprd07.prod.outlook.com> <MN2PR19MB404577B4EDBB0BF8AAD16C6A83999@MN2PR19MB4045.namprd19.prod.outlook.com> <CO1PR11MB48810C41B67D2149C1771D8AD8999@CO1PR11MB4881.namprd11.prod.outlook.com>
In-Reply-To: <CO1PR11MB48810C41B67D2149C1771D8AD8999@CO1PR11MB4881.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_Enabled=true; MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_SetDate=2022-07-19T13:11:53Z; MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_Method=Privileged; MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_Name=Public No Visual Label; MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_ActionId=3c7cf831-4d14-4ba7-ad60-8cc937ca1b7c; MSIP_Label_dad3be33-4108-4738-9e07-d8656a181486_ContentBits=0
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7b64d914-396f-41ba-e51b-08da71b06e5d
x-ms-traffictypediagnostic: PH7PR19MB6481:EE_
x-exotenant: 2khUwGVqB6N9v58KS13ncyUmMJd8q4
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: e/rqkJR6+cpUtY60HCHA5JNVKJB+B//DYW8uY8zZGXDFNyhJwDRJ+MZbBARKyHY+fLLlQu7GwJyT7v2oTtX8bk9O5KEBIncdr2hmUfe1gMcN+R4RlG7SQqeoMc3WaeoQg3GUE+ciNJdSMj4Q9jJIx0QardpOqjrpQjOG/YVofyrUbOB09H31rr9fcv7fbdY1c5xfWCpBWdOIQAipW1WiidCHk+wORgzE8negD99VrY7QPDSt3ZOPjE8gyimi3wh3aMdXh/ZHemzy9AvTd2883pkXTg+iya+9fghKAsORcxr/ZG4q4G9yZaJdF7yyxEbbFEUGoAO/HD589oZUuMariJSGW5oiMiCPP+GYaHZTo04uRTsM9MtuWWVP0VMr/r4VlgwiKjHWEcEO0j/74EqnyqkD2gp2N9T1rHCEQqc8GULCyua3uQh2IcCTiWOs8WSVwWGQ/pwISgVLq4TupLxJkZSq+OgaLuIzT6/DCMdIswz8WGHD1NshU2ld/sP8GdUWZkXbYe3Rfgpd6GChWHMvOtzqb9fXVJr1C6yYSrUK2Dykcq670FRu605FWyqWiD6J6kZSi7HA1sM1HUgSghLOXHE7JIY71Dg9wI+jGOqYXZzXo0OcpmD8F2tZWpEi9byRjcIHRzV4lM/34on2oVl65GnA9juaethQNSIk/0tq2wdeSIe6WQiaIFiT3MgH/hgQt7MRGwSU0a0dzFyHmte9MWIP3xZ5y1Cfqs5T7irV/AvxwBW6KepsyofFh23WkSTZ4HRD2FeY5av79rwjDDw4XVdTmd75HRVkea98PXZp9zrVYVugu6rtpJhuWhKCHUfw9fSxRinwjlM5uw6rpxf9BQc3hheuniAD7jDd29W/eLOtMjVdaHePiLbqLf263mRdCIlAp51l6vcOJJ78ueD5Rg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR19MB4045.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(396003)(136003)(376002)(39860400002)(346002)(53546011)(7696005)(41300700001)(9686003)(54906003)(6506007)(110136005)(55016003)(86362001)(478600001)(786003)(71200400001)(38070700005)(316002)(122000001)(186003)(83380400001)(66574015)(82960400001)(30864003)(966005)(5660300002)(8936002)(2906002)(107886003)(450100002)(76116006)(33656002)(38100700002)(64756008)(66446008)(66476007)(66556008)(66946007)(52536014)(8676002)(19627235002)(4326008)(309714004); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: W+n2Al4Orj39g+yZiCd3KbDigYi8gzh/zKh2i9vpC7VAddUcXD5lf567osoYur0WbUjIytMKOzZL3QMVYj/aJ1EYplT99lkau8mecaU4yeUSNabY1SAxw3x82FkYYmyW19Zzzlg7Hej7JHbL102eirr4F+uMJVpDvOD+f738Co1ESiz03BykKhXYrSd+hpE2oldYcjtqMtTp1sDsgINp8YYvRIyuUZJFIcqf9aaMnLIXgkGJMjrr1r/olGqDVgzAdQpjvpv2VeHk9NXMn7CtDSBLVdpsO9FIPv8LHzlQVpSGpUks4CYSElr/fE0vlt1dgjZfgJr6JmA2eGgAPovUb+jqmx+bEkuzYUeioE/oeLxFAc0QpmHsppKGHhMXdWIb176Maav/nq5MK06d+jRic/DAMfCDQKHYvj+cdxE6tJ7jQra6ciMptaF5dv5+io/mazYXFkF/jbqvY8CY9Vusib8WFG+pK4mX0gP6c335ObH7LEope1MhqHiju/gR00Fi/NSq5sO/4xuahMi1QlrEDNibNjMzIcKAfcGJlQ3ci6JFGrXh3u7jU5yHUPDiENGQ3OFCcO2CFOeEI83lCp6s8IbKqvIP4V+9+8HSPd0+7ybP52JMC+nmOPHp7W/fxhhX+nFnHOvJZFfwjaCXlClbo6pgce99NIEmIaScPTMiA9xaEFxpiNNm6nILVFByh8riCYAh5MwMWZiIby1QHQXF/zjLFTh6sb115p782CKpQdksGEmWuZqH+IJYUy+y8VhrHT6QO1LTyBwP6d4X11+ahBuePDwIe6kWMbGahSxa/3dEzCpQuHz+isw5QkxgMG6Zrp6vlztAws32LbU2IOcgX7ITZxHviNmFqmfAQWOhxSWzCaR4mroLAGHzv1V5OJ0/Pl3zADhVtTtIOTLy0PCX0VqFtKs9hxLRhU8PwNMb9TFe+UIUm9wcb4BvJkYmAesV/eL69jHF4ZhGxl+KA4NXP7IKt2tNsXRLWwPsC1I3d8lZeVex2A3pejtUABslbqAtGJzbLM701RIep82s9DRQJjA9SRY8aNEVeOH7xkJ02l5Y0Zesl2cjea6/hqmMwChhld0dfmU+CUcN96xW/WODsr1luP55GY3dqFL9OvYvRVUXqaKohIWXDPgHXG4HFTpSMRADDufoxjJx7L2b3hLUylFiq7KFSa9L/klp817UleMvkOz+jhH71aYonZi74dRcxUjOkqLVGvBwOWxNeRpoLSryBcJ2gNUOzPhVVF4Tv46lo7UcE6VDhnTJQLFJiWDDRj+ndk0ij6bTAKHu1jrkdaDr+9CZ2bGvWeSE9m1PxnGUWx2/OjAs21iC9CpGsTmskrQHn7X6MqSEkrUb8agTIV9njaxzqYcm+IynFyJJjQw+CEjZ4AfR75xNLjZ0pYGCohIHhVdeu0trm3dSleo6WoyO4iIDy5AGEDSn5f++HuRQd9UXvI1fGqapSH+wrPQVxK9hssTJO1A7fALE8WIsXsdyTo85n2rH//isj7J4s8FmQtyAyTpFZFh+gO6K+Spoz8z6psvxEhIZO5/ErG21fPGm/C8BK9arltkVvUK/UJl4hcUjfnAnZdA742pNeWsO/v1P8jRSUBxxKEpdQlMMDur7T4FFHW3492YgttGrHcuFAmHNCKrlYz7H6ftqDkcK
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: Dell.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR19MB4045.namprd19.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7b64d914-396f-41ba-e51b-08da71b06e5d
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2022 22:19:40.6020 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 945c199a-83a2-4e80-9f8c-5a91be5752dd
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XWsKotfFkJl+P++cbvr4TP18CP/yxDbrju1qVKauRzTBi9rCu98l4BtHgn5DAzyj+uEEjWajKwdSv9t+V6FMQQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR19MB6481
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-07-29_21,2022-07-28_02,2022-06-22_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=999 bulkscore=0 mlxscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 spamscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207290094
X-Proofpoint-GUID: wwDsDaFz1E41SJ5Sbhk1xILynn3yw853
X-Proofpoint-ORIG-GUID: wwDsDaFz1E41SJ5Sbhk1xILynn3yw853
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207290094
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/cZCs9h99TPF2Y3DI8ds2Apjz2uw>
Subject: Re: [Detnet] Role of the transport layer in the DetNet Architecture
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jul 2022 22:19:49 -0000

Hi Pascal,

> Now it's getting really interesting (thanks Lou!, and thanks you too!).
Cool - add this discussion to the list of evidence for in-person IETF meetings being important & productive ...

Top posting to try to summarize ...

I think we have two related goals in this discussion that ought to be distinguished:
	- What's the minimal/necessary/ideal L4 transport functionality for DetNet?
	- What would it take to run an existing transport stack (L4 and above) over DetNet?
This discussion started around the first goal, where I agree with you that the ECN-based dynamic windowing functionality is not needed.  That functionality may be useful towards the second goal (e.g., run HTTP/TLS/QUIC over a DetNet data plane for device management).

I think we're in agreement that a DetNet-aware shaper is an important sender component - the shaper's primary responsibility is to send packets when they're supposed to be sent wrt the DetNet SLA - not early, not late.

On dealing with loss, I think this is fine:
> Not in plan. We cannot afford end to end ARQ. We want FEC and PREOF instead. My question to you is whether you call those things L3, because that would change my maybe naïve view of what L3 and L4 do.
When deployed in-network (how PREOF almost always appears in DetNet architecture diagrams), those things are L2 or L3 because as viewed from endpoint stacks, they're transparent to L4 functionality - TCP, UDP, etc.

Whatever is done in this area will want application of both DetNet and Transport expertise, as DetNet runs contrary to some typical Transport expectations (e.g., sender pacing is not helpful for at least a CQF-based DetNet data plane).

Thanks, --David

-----Original Message-----
From: Pascal Thubert (pthubert) <pthubert@cisco.com> 
Sent: Friday, July 29, 2022 12:37 PM
To: Black, David; Pascal Thubert (pthubert); DetNet WG; raw@ietf.org
Cc: Balázs Varga A; Black, David
Subject: RE: Role of the transport layer in the DetNet Architecture


[EXTERNAL EMAIL] 

Hello David,

Now it's getting really interesting (thanks Lou!, and thanks you too!).

Please note that I listed TCP not as the protocol I'd suggest to modify but to illustrate the do's and don'ts that DetNet would need. I have no idea if there is a bets match that would be changed or if a thin layer above UDP (e.g. to aggregate into DetNet expected block size), in combination with lower layers (e.g., to pull at DetNet expected times) could do the trick. Or else. IOW, I'm not in solution space yet. I'm trying to figure conceptually what belongs where since we have all those nice layers at IETF and those other nice layers at DetNet.

> So, starting from your transport layer goals:

I did not mean to be exhaustive but to steer the WG into writing those requirements. I do not mean to propose a solution either, or to work on one inside the DetNet group, but maybe to steer enough interest in TSV area to get something running.


> 
> > Bottom line, we'd want the application to have to support the minimum
> > and let the transport layer pack the data to fit the DetNet SLA and send
> it at the appropriate time, which could effectively be signaled over the
> UNI.
> > The stream behavior of TCP is appropriate, but the dynamic windowing and
> the retries and undesirable.
> > TCP has reordering but does not do PREOF along the path.
> 
> I see four pieces here that ought to be teased apart:
>    1) Transmission timing ("pack the data to fit the DetNet SLA")
>    2) TCP (and the like) dynamic windowing
>    3) Loss and retries
>    4) PREOF interaction
> 
> Quick summary of what could be done:
> 1) Transmission timing: Don't ask the transport protocol to do this.
>         - Disable sender pacing so the transport protocol (e.g., TCP) sends
> immediately (subject to its window, see item 2)

>From what I understand, a typical SLA will be a periodic block with a fixed period and a fixed block size. Compared with frame relay CIR (committed and excess rate, burst size), DetNet is a lot less "elastic" and no over-subscription. 

>         - At the sender, use a DetNet shaper below the transport protocol
> to align sent traffic to the DetNet SLA.

You mean packing multiple L4 packets into one? Doable, but segment size is usually L4 isn't it? A thin layer above UDP can pack the blocks and save header space.. 


> 2) Dynamic Windowing: Use a scalable congestion control with ECN congestion
> marking algorithms customized to DetNet (more below).

Yes, I can figure that having implemented FR switches and dynamic CIR based on FECN and BECN. But we do not have congestion issues in DetNet. The only thing we can get is bloat or discard at the detnet ingress where the first shaper is. So the signaling we want is between the DetNet shaper and the transport and or application. The problem I'm concerned with is when the application becomes too enthusiastic and transmits excessive amounts of data vs what the first shaper is willing to let I the DetNet network. We need either to tell the app to calm down if it can, or to control it by not pulling more from the socket than the shaper will accept just in time. 

> 3) Loss and retry behavior. Defer this, and target a lossless DetNet data
> plane for now to make initial progress on item 2.

Not in plan. We cannot afford end to end ARQ. We want FEC and PREOF instead. My question to you is whether you call those things L3, because that would change my maybe naïve view of what L3 and L4 do. Note that it's mostly an academic question anyway so we can name the boxes in the architecture; the function remains. I think Norm already blurred L2 and L3 is many of his speeches since many things could be implemented in either but the abstract behaviour remains.


>         - In initial work, treat any loss as a "cry for help" from the
> DetNet data plane, e.g., indicating a DetNet SLA violation.

That could be useful

>         - Deal with DetNet data planes that exhibit non-congestive losses
> later (e.g., starting from a transport protocol that doesn't do retries,
> such as DCCP [RFC 4340] or Datagram QUIC [RFC 9221]).

That's the idea, yes. 

> 4) PREOF in the network should "just work".

Someone has to do it. Then again do assign these functions to a layer? Traditional unicast L3 is one packet in, same packet out, either up or down the stack, or across the router. With IPv6 we even removed fragmentation from inside the network. PREOF is a very different beast.


> So, focusing on 2) Dynamic Windowing, there's an opportunity presented by
> changes in congestion control technology.

No desire for that; missing the bounded latency can be worse than loss. So we want simple: it's like a bus that will periodically leave the station. Fill it or lose the space. Excess passengers wait for the next, which probably means they'll walk or stays home. 

> 
> Transport protocols (e.g., TCP) that use classic congestion controls (e.g.,
> Reno, CUBIC) tend to fill buffers at bottleneck nodes when there's more
> traffic to send than the network can accommodate.  That's not desirable

No such thing in DetNet. There's no congestion inside the network. The only congestion would be at the ingress shaper, if we do not do right what's between the app and that shaper. That is my discussion.


> behavior for DetNet, particularly as there will be a sender buffer between
> the transport protocol and the DetNet shaper (item 1) that ought not to be
> overstuffed.  Starting with Datacenter TCP (DCTCP) a new class of scalable
> congestion controls has emerged that tends to empty buffers at bottleneck
> nodes under the same conditions.  These scalable congestion controls use
> ECN feedback to manage the sender's dynamic window, and do so in a very
> different fashion than classic drop-equivalent ECN.  The most visible
> current activities in this area are L4S, TCP Prague, and Prague for QUIC
> (all discussed briefly in yesterday's ICCRG meeting).  Details of what a
> "scalable congestion control" means are to be found in Section 4 and
> Appendix A of draft-ietf-tsvwg-ecn-l4s-id
> (https://datatracker.ietf.org/doc/draft-ietf-tsvwg-ecn-l4s-id/), but be
> aware that this is not a light read.
> 
> So, an opportunity to make a TCP-like transport protocol useful for DetNet
> would be to figure out what sort of active queue management (AQM) ought to
> be used to mark ECN congestion indications for the various possible DetNet
> queuing mechanisms (e.g., CQF, ATS) where the goal of the ECN congestion
> indications is to cause the "right thing" (whatever that is) to happen with
> the sender's transmission window so that the sender's DetNet shaper has
> "enough" traffic to do its "right thing."  Hacking together a running
> prototype is strongly suggested as a next step, because the interactions
> between transport protocols, DetNet's queuing mechanisms, and congestion
> marking algorithms are subtle, to put it mildly ... and there's a bunch of
> effort to be invested in figuring out what the two "right thing"s and one
> "enough" in this paragraph might mean in practice ...
> 

That's the thing, we do not need any of that. If the blocking function (e.g., in that shim above UDP) is not synchronized to send just in time, the simplest is that the shaper pulls the data just before that time. This is what my draft attempts to explain.

Thank you for all this, I hope we do more...

Pascal



> Thanks, --David
> 
> -----Original Message-----
> From: Balázs Varga A <balazs.a.varga@ericsson.com>
> Sent: Tuesday, July 26, 2022 8:45 AM
> To: Black, David; Pascal Thubert (pthubert); DetNet WG; raw@ietf.org
> Cc: Black, David
> Subject: RE: Role of the transport layer in the DetNet Architecture
> 
> 
> [EXTERNAL EMAIL]
> 
> Hi,
> 
> Agree with David. Adding just one more aspect: DetNet MPLS never
> touch L4 during the MPLS based forwarding.
> 
> Cheers
> Bala'zs
> 
> -----Original Message-----
> From: detnet <detnet-bounces@ietf.org> On Behalf Of Black, David
> Sent: Tuesday, July 19, 2022 3:20 PM
> To: Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org>; DetNet
> WG <detnet@ietf.org>; raw@ietf.org
> Cc: Black, David <David.Black@dell.com>
> Subject: Re: [Detnet] Role of the transport layer in the DetNet
> Architecture
> 
> Hi Pascal,
> 
> > So my question is: should we spin off work in TSVWG?
> How long an explanation of the word "no" would you like ... how many years
> ... :-)?
> 
> Seriously, a new L4 transport protocol for DetNet seems rather unlikely to
> be adopted, and the mention of TCP in the email below looks like an
> exercise in "strawman demolition," e.g., as RFC 8655 does not mention TCP.
> 
> I would suggest looking at RTP and perhaps the multi-stream support in QUIC
> (uses UDP) or SCTP (via SCTP/UDP)  to understand what sort of adaptations
> to DetNet would be both plausible and useful.
> 
> Thanks, --David
> 
> -----Original Message-----
> From: detnet <detnet-bounces@ietf.org> On Behalf Of Pascal Thubert
> (pthubert)
> Sent: Tuesday, July 19, 2022 3:18 AM
> To: DetNet WG; raw@ietf.org
> Subject: [Detnet] Role of the transport layer in the DetNet Architecture
> 
> 
> [EXTERNAL EMAIL]
> 
> Dear all,
> 
> At the RAW interim we discussed again the role of UNI and Transport layer,
> see in the architecture
> https://urldefense.com/v3/__https://protect2.fireeye.com/v1/url?k=31323334-
> 501d5122-313273af-454445555731-2b0c3973f1cab171&q=1&e=14c922c0-2015-4d1d-
> b68f-cb029ff5417a&u=https*3A*2F*2Fwww.rfc-
> editor.org*2Frfc*2Frfc8655.html*2Afig_DetNetservice__;JSUlJSUl!!LpKI!mLX9vm
> 8aqPY8KibxgO1XK4yIyPC-FgoEzzgUzLqKOw5oFZGMHkk5WEV3h_PArs-
> rK5G5ZqsQwObAEeQFVKsOz7VR2S8$ [protect2[.]fireeye[.]com].
> RAW typically operates within the DetNet Service subLayer.
> 
> The question is whether the DetNet Service sublayer is fully a L3 operation
> or if some of it is really L4. E.g., L3 unicast processing in a router is
> typically one packet in, same packet out. PREOF is certainly beyond that.
> 
> Also, a DetNet End System may not have TSN and/or Time Sync handy all the
> way to the app layer for the app to send the right volume of data at the
> right time. A transport that is not adapted may delay the transmission and
> interfere with the application process desires. Bottom line, we'd want the
> application to have to support the minimum and let the transport layer pack
> the data to fit the DetNet SLA and send it at the appropriate time, which
> could effectively be signaled over the UNI. The stream behavior of TCP is
> appropriate, but the dynamic windowing and the retries and undesirable. TCP
> has reordering but does not do PREOF along the path.
> 
> So we see the ideal transport is not available off the shelf. We could make
> it look like UDP to the network, but there's still a need for a particular
> functionality to suit DetNet. And if we agree to place PREOF at L4, then
> the packet should emerge to L4 at the relay nodes (see
> https://urldefense.com/v3/__https://protect2.fireeye.com/v1/url?k=31323334-
> 501d5122-313273af-454445555731-78e6c37e3d3533b3&q=1&e=14c922c0-2015-4d1d-
> b68f-cb029ff5417a&u=https*3A*2F*2Fwww.rfc-
> editor.org*2Frfc*2Frfc8655.html*2Afig_detnet__;JSUlJSUl!!LpKI!mLX9vm8aqPY8K
> ibxgO1XK4yIyPC-FgoEzzgUzLqKOw5oFZGMHkk5WEV3h_PArs-
> rK5G5ZqsQwObAEeQFVKsO8e_qJV8$ [protect2[.]fireeye[.]com]) and plunge again
> in L3. Which is fine, that's what L4 proxies do, remember DLSW anyone?
> 
> I wrote some basic of this in
> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/draft-
> thubert-tsvwg-detnet-transport-01__;!!LpKI!mLX9vm8aqPY8KibxgO1XK4yIyPC-
> FgoEzzgUzLqKOw5oFZGMHkk5WEV3h_PArs-rK5G5ZqsQwObAEeQFVKsOOh98TzQ$
> [datatracker[.]ietf[.]org]. The document was intended to introduce the need
> for next steps as DetNet becomes real, which is now on us. There was great
> feedback (e.g., Xuesong and Mach) but the focus was elsewhere.
> 
> So my question is: should we spin off work in TSVWG? If so, could we
> prepare a problem statement, e.g., with the doc above as starting point?
> 
> I will not be in person at IETF 114, sorry for that. But it would be nice
> that the topic shows on the agendas for open discussions.
> 
> Keep safe;
> 
> Pascal
> 
> _______________________________________________
> detnet mailing list
> detnet@ietf.org
> https://urldefense.com/v3/__https://protect2.fireeye.com/v1/url?k=31323334-
> 501d5122-313273af-454445555731-6a55b9dd3f9aedbf&q=1&e=14c922c0-2015-4d1d-
> b68f-
> cb029ff5417a&u=https*3A*2F*2Furldefense.com*2Fv3*2F__https*3A*2F*2Fwww.ietf
> .org*2Fmailman*2Flistinfo*2Fdetnet__*3B*21*21LpKI*21hG_2Ga7PoRVYUsVHjqhyX3p
> HQWG3nvwEu2xPrtdF95Yv_aq_c7VE43Y747tcgpwb9kjLhxTeRRwP1GJnog_3mYZqXxC9GR2D*2
> 4__;JSUlJSUlJSUlJSUlJSUlJQ!!LpKI!mLX9vm8aqPY8KibxgO1XK4yIyPC-
> FgoEzzgUzLqKOw5oFZGMHkk5WEV3h_PArs-rK5G5ZqsQwObAEeQFVKsOiKC_Z8M$
> [protect2[.]fireeye[.]com] [ietf[.]org]
> 
> _______________________________________________
> detnet mailing list
> detnet@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/detnet__;
> !!LpKI!mLX9vm8aqPY8KibxgO1XK4yIyPC-FgoEzzgUzLqKOw5oFZGMHkk5WEV3h_PArs-
> rK5G5ZqsQwObAEeQFVKsO-PzkXeY$ [ietf[.]org]
> 
> --
> RAW mailing list
> RAW@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/raw__;!!LpKI!jhsW7TcMxLJKEJFecxRk0SA3Vevo86u6QoIv7mUQgKCtZOq7Rk2Vpg_1N2a3ui_fOOvR59ATebbBG76A$ [ietf[.]org]