Re: [Detnet] new draft on segment routing approach to TSN

Yaakov Stein <yaakov_s@rad.com> Sun, 07 March 2021 04:35 UTC

Return-Path: <yaakov_s@rad.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 1A40C3A1E11; Sat, 6 Mar 2021 20:35:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.8
X-Spam-Level:
X-Spam-Status: No, score=-1.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rad365.onmicrosoft.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 XA1UsI70LTP0; Sat, 6 Mar 2021 20:35:34 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70057.outbound.protection.outlook.com [40.107.7.57]) (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 BEA4C3A1E10; Sat, 6 Mar 2021 20:35:33 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X+u/SCsk5NlRlcQDUyZzdy2nc5MbnlVBDP8ji4lMuNzKnTmqm502mSWaY7K5v/+YR2igsEaH51lpaMXKYJVThGnoXfAJ0F+5UZqtUv4a/RLtcZUFIBti1qJbnKtM6YEKggbb8EL9zLa7Nawmz+xKxz5GOdMO4nYMCTaJQsDSPQ+jJ2FmsnqO+rbBXWLScUSEXrNZ/vcYMoFq+wwPaKMeaTLNIe3GoE2ZDNr+xrVVjgCUIUgTqwL77LytKGlQsMsF6oKwLjWz898OgK2c5OCAzJNlwbDkaip8pSoLar6CoIhOd6XOC3MRHB1iVTqmq5ElUhk35OydovnWPtVrR+H0ag==
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=F/tdBiRJ2wpMl0uOtJQvmORb10M5ZgDTgp5dBAyAotc=; b=YjGXwn1enEk8dgknD7GXjjOI2lNhg6LJ4A7Bfg4t59SEzsRUSFiyjZ1u/R7VBJkd1iDLRzYA6RQxECe+ghqRi3Ooa9DQPhXFX6u3NhBPfBPqCOiZcQqFbctbnSM6hsQ7mcwYi7PV/H2TSjNzGgwINk1qaM4f5THMqTF60vzmoOZIGeKduLh9guB33RUd6I0OxfpJCv33hJZ3vJPMfVeg5koJr8cQHHz0xsnsRbYP+STMjgq8/i84Bj1xK6TosGltUxpEge9ar0lfICi7cm539O1qWHhuxRYkbzIabJWbrWaYPalJpkCuWJr39r6czOU2ng6QjsMBxna3Q0Mx2Rj+RQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rad.com; dmarc=pass action=none header.from=rad.com; dkim=pass header.d=rad.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rad365.onmicrosoft.com; s=selector1-rad365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F/tdBiRJ2wpMl0uOtJQvmORb10M5ZgDTgp5dBAyAotc=; b=Du3VY2tfsE0aZS8xDgsWoaVbZZZnlCVHTMEWGowIsYRhOcyXH5f3oWTlYbYvqcF7taWGjOZQi+f0WtxOMQi7y8H7ChgkjRieCO2YReC8XAC6UmMGjFOThfXWVdM13n5uVtDeb6XCpfHb5hagu76P8gzn6XFmnzUHd+iCpsqBlgE=
Received: from AM0PR03MB3522.eurprd03.prod.outlook.com (2603:10a6:208:42::23) by AM9PR03MB7171.eurprd03.prod.outlook.com (2603:10a6:20b:263::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Sun, 7 Mar 2021 04:35:31 +0000
Received: from AM0PR03MB3522.eurprd03.prod.outlook.com ([fe80::10eb:24f4:1a5e:bc0a]) by AM0PR03MB3522.eurprd03.prod.outlook.com ([fe80::10eb:24f4:1a5e:bc0a%4]) with mapi id 15.20.3912.022; Sun, 7 Mar 2021 04:35:30 +0000
From: Yaakov Stein <yaakov_s@rad.com>
To: Haoyu Song <haoyu.song@futurewei.com>, "detnet@ietf.org" <detnet@ietf.org>, "spring@ietf.org" <spring@ietf.org>, "pce@ietf.org" <pce@ietf.org>
Thread-Topic: new draft on segment routing approach to TSN
Thread-Index: AdcJ5AjgmuXpLt94R1Stsoh/vUDwUAIGpPHgAEKRNTA=
Date: Sun, 07 Mar 2021 04:35:30 +0000
Message-ID: <AM0PR03MB3522BD9D4D0A3134FE16B49FE5949@AM0PR03MB3522.eurprd03.prod.outlook.com>
References: <AM0PR03MB35228092287B38B95D7056F7E5809@AM0PR03MB3522.eurprd03.prod.outlook.com> <DM6PR13MB2762033C6ACECC4A816830AC9A969@DM6PR13MB2762.namprd13.prod.outlook.com>
In-Reply-To: <DM6PR13MB2762033C6ACECC4A816830AC9A969@DM6PR13MB2762.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: futurewei.com; dkim=none (message not signed) header.d=none;futurewei.com; dmarc=none action=none header.from=rad.com;
x-originating-ip: [176.230.181.29]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: f463696a-fea4-4e43-bc07-08d8e12270b8
x-ms-traffictypediagnostic: AM9PR03MB7171:
x-microsoft-antispam-prvs: <AM9PR03MB7171084AE8A947A19B25DAD2E5949@AM9PR03MB7171.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3qAszMY9fUA8ZCctC3QRi7b/nz4WenSCoh132gQ+3XPwgmC2ltb49nQhWGcoyJbjnYduPOmQBpx+V8BbIeUf5kxDld1UscVZqYlydNCNPvrYg3ntaqmVG1H5PoBaO5NtX63sX6jXvS81+vqn7O7gvI/mBiydjmuQ/7uhKmPCfe90wQSM3NpGEu8lgEOV1kstX7Vl74ifS2BQ9VOnd7yc3DG4AsLfHY//l9y6VDTmiJ7J7fej/4HikUnN5qQ3La6P9aVPjAun9TKONwnqVH2ZoKOrWy9NhflhJzXtKWLpCOHPm1ncgsC+I/67IN7w9n8UzdAAPiWlgbn9yNmZNT0AOsr7MOeYGa94R6YyMmSZcSZ3Hz7pkmR+yU9OceshFrFAPq9k1OjEdT7HcPsVOTnOomPX/7gsxXZ48YGE1JajKumEAWpddil5QrQxrvtgjjxwJ5/h2du2OVP/hBg9ZjOPu8lXcktSkBisBikE1cPFUo7IlftPJ2aaTYgVl6DTx9BCMs6lP4JGR7J1DCGUN1Zp8PRUg80eCnYtQGO+sdvu6NxiobdnihN4eOvzKiAYOek9qXVD6CYZPaIcW9XbTmdRMhj9s7CRWrdYvV28JSARvJg=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR03MB3522.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(39850400004)(346002)(396003)(136003)(7696005)(26005)(33656002)(2906002)(55016002)(9686003)(110136005)(186003)(66574015)(8676002)(66946007)(316002)(5660300002)(966005)(66476007)(52536014)(86362001)(66446008)(66556008)(64756008)(6506007)(53546011)(71200400001)(8936002)(478600001)(166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X7pl3x2+y6FWb7gqY7FfdsDXo+F1yNoFI/lDky1B/ag5wnfScEEmwVQ2wS646M9HYujvYkADpbOizymjSDFR7dRcxeRDTNOt+ugyfQfXkKO+RXT8j88DoIrh7wEhmr/4iQLjgBc3/vsZIl5qG35HRu4qVnXypee4InOm12MRQ/0iLOuDNDJOAdeYULt5afSHIBqDjDFbAJrXkL545rgQ/+AgA04V/SHJd1xm1uPH1rRinJumVAftQ2lE1dkDYJEesSzGx+u/4/UtWg74n4eAj2It9xDykLOQO+PgshRVKAkaQv5XdmxN66S2
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR03MB3522BD9D4D0A3134FE16B49FE5949AM0PR03MB3522eurp_"
MIME-Version: 1.0
X-OriginatorOrg: rad.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR03MB3522.eurprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f463696a-fea4-4e43-bc07-08d8e12270b8
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2021 04:35:30.8438 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f9047108-cc2c-4e48-97a3-43fad1b3bf9d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 4kbgzVSASN01+R24/yMsIz1vvJ/4FvhZ6ak+CnppRmAxaBwhLsC92VlfezugFhHay6Ovb/WFZqka5y/BjxSJKA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR03MB7171
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/5RpgS2UBsPgCHgdmyX86BUI2ssc>
Subject: Re: [Detnet] new draft on segment routing approach to TSN
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 07 Mar 2021 04:35:37 -0000

Haoyu,

I'll address your points:

> The use of clock time as deadline requires network synchronization
That is a basic assumption of TSN networks (IMO the defining assumption).
However, the sync needn't be highly accurate - it depends on the tightness of the delay budgets.

> accurate measurement of per-link propagation time
Yes, I am assuming that once an for all someone does a TDR or at least OWAMP/TWAMP/Y.1731-1wD delay measurement of the links, and these are stored in some database.
Once again, the required accuracy depends on the delay budgets.

> which can somehow limit the application scope of this work
If the delay budget only above the physically minimal delay by say less than 100 microseconds,
I agree that the previous two issues MUST be carried out. But in such cases there is no alternative.
If the delay budget is much higher than that, then one could use an RSVP-like mechanism,
sending a packet (or several packets) from source to destination collecting a stack of timestamps,
and then using that stack for the following packets.

> Mechanism should be provisioned to track where the timing requirement is violated and by how much
I'll leave the OAM for later. However there are already many high accuracy performance measurement techniques and protocols for this.

> Recently programmable scheduler research has proposed several primitives
Yes, I tried to stress that this ID is not limited to EDF (although sometimes that is a good strategy).
One can even reproduce Qbv behavior using a stack of deadlines (although why would one wish to do so?).

> such as PIPO and PIEO
I've heard of PIFO (Push In First out) but not PIPO. Is this a typo or something new?
I agree that there are mechanisms that are optimized for hardware, but I have come up with a very nice hardware implementation for PEDF
and prefer to find hardware implementations for optimal schedulers, rather than to determine schedulers based on optimal hardware.

Y(J)S

From: Haoyu Song <haoyu.song@futurewei.com>
Sent: 05/03/2021 22:46
To: Yaakov Stein <yaakov_s@rad.com>; detnet@ietf.org; spring@ietf.org; pce@ietf.org
Subject: RE: new draft on segment routing approach to TSN


CAUTION: External sender. Do not click links or open attachments unless you know the content is safe.
Hi Yaakov,

Just got a chance to read your draft. I agree with the comments of the others that this is a very interesting work. I'll just add a few points.


  1.  The use of clock time as deadline requires network synchronization, and accurate measurement of per-link propagation time, which can somehow limit the application scope of this work. Alternatively, one can simply budget a device latency which require a router/switch to obey. In case the overall budget is evenly divided by the hops, a single parameter is enough. Of course, if one wants to customize the budget on each hop (which might be necessary considering the different capability/capacity of each hop), a stack is still needed.
  2.  Mechanism should be provisioned to track where the timing requirement is violated and by how much (e.g., using timestamp or flag). This would be very useful for troubleshooting.
  3.  Recently programmable scheduler research has proposed several primitives such as PIPO and PIEO and provided feasible hardware implementations. The scheme proposed in this draft can easily fit into these primitives.

Best regards,
Haoyu
From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> On Behalf Of Yaakov Stein
Sent: Tuesday, February 23, 2021 5:14 AM
To: detnet@ietf.org<mailto:detnet@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; pce@ietf.org<mailto:pce@ietf.org>
Subject: [spring] new draft on segment routing approach to TSN

All,

I would like to call your attention to a new ID https://www.ietf.org/archive/id/draft-stein-srtsn-00.txt<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-stein-srtsn-00.txt&data=04%7C01%7Cyaakov_s%40rad.com%7C29e393d86da94a8c90b908d8e017a95d%7Cf9047108cc2c4e4897a343fad1b3bf9d%7C1%7C0%7C637505739530106136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Is%2F58aDPKY6V%2FBEVAF5getSEUvLgyDjInxJNT%2BmpnWM%3D&reserved=0>
which describes using a stack-based approach (similar to segment routing) to time sensitive networking.
It furthermore proposes combining segment routing with this approach to TSN
resulting in a unified approach to forwarding and scheduling.

The draft is information at this point, since it discusses the concepts and does not yet pin down the precise formats.

Apologies for simultaneously sending to 3 lists,
but I am not sure which WG is the most appropriate for discussions of this topic.

  *   DetNet is most relevant since the whole point is to control end-to-end latency of a time-sensitive flow.
  *   Spring is also directly relevant due to the use of a stack in the header and the combined approach just mentioned.
  *   PCE is relevant to the case of a central server jointly computing an optimal path and local deadline stack.
I'll let the chairs decide where discussions should be held.

Y(J)S