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

Balázs Varga A <balazs.a.varga@ericsson.com> Fri, 26 February 2021 14:03 UTC

Return-Path: <balazs.a.varga@ericsson.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAFF33A0B91; Fri, 26 Feb 2021 06:03:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.67
X-Spam-Level:
X-Spam-Status: No, score=-2.67 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_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 jJpoitK-F_7t; Fri, 26 Feb 2021 06:03:08 -0800 (PST)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2085.outbound.protection.outlook.com [40.107.22.85]) (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 F3BEC3A0B62; Fri, 26 Feb 2021 06:03:07 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CyY3Kj6ZUleneQEktUQhs9iUXx4YhG8WxygaIdKNx9uc+csJAbg2KY/LgLI1y5pzv/cKZiPjGZhghQgKnp8J5SHz9NydTcoheF8YHw9mS3WeSGF2aEoCXgog5FeFA5XvDqMDfq6DQxavcSVRDbZSAkViixhzn9yIt/wt/7WhIVbyirTjNNuGr0HYUW9OyUBPDe1vlAVrCTiatPaszeXpTnMFFOxKQ225IyHuRHOp9LsuWMCmkvdLHusY7+EYFVo4hTYbw8nwfdIXw9dwjFW0VS9R2YNXl49vjyPoh3fJeMqG+rpa0En6dlXn850i3+iqqr6Ri3VkxOIRLk6oklHl6w==
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=bRbzy2AP5VTiIc/35jgkiYSLneLtGWrTa/v3hfTCtFg=; b=dDcwh5v64kmS5cYYHKh8s2ehRttVR82qHhpjB2YUTWN/je/b0TokVmJs69TSiltMdy4Cyrz3uc3lMIpQHaeaiH+9gYv5XAUR1ZMDK2eBGNedrZmj3+oJMvvWe7RVUIIiJtmOL1n3SsmX8sH0qE7av3nryLRMEO39RmLZkzET7XcqqnNZCJ3o6R8c4SkFlBf0yG/GoTXfFuojB+3RSVzTlvPAa8Wa8uzCHj8q0iXFOfTp8WgGxw56/b2ZSDmd2RAkap0NaoqcpV7uyR3b+jp3VXwvJjYeCSRB3BtU9xV6MqCau79zzDQ3/MWZ+R5IXS33Rbyx2t+3gc/NSU5MnjuKAA==
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=bRbzy2AP5VTiIc/35jgkiYSLneLtGWrTa/v3hfTCtFg=; b=OthyEEiq2Oid41WEqv3LtBoxuRRiASPz8zdEILM8UE3Bp+whgVpTukPKut22cJnbTEHzBYTTNNCl9VfK/8l844RTr5AqqAjgBBreCv5Gn3ksVh5FLPp69cHcYkEUheRVDeQ055B+ITeliYTdMnpcpuHamsj8ePQ+4Pe+xE46aAs=
Received: from AM0PR0702MB3603.eurprd07.prod.outlook.com (2603:10a6:208:22::25) by AM0PR07MB4626.eurprd07.prod.outlook.com (2603:10a6:208:6a::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.11; Fri, 26 Feb 2021 14:03:05 +0000
Received: from AM0PR0702MB3603.eurprd07.prod.outlook.com ([fe80::8d2d:fd78:9fa:5f92]) by AM0PR0702MB3603.eurprd07.prod.outlook.com ([fe80::8d2d:fd78:9fa:5f92%4]) with mapi id 15.20.3890.016; Fri, 26 Feb 2021 14:03:05 +0000
From: Balázs Varga A <balazs.a.varga@ericsson.com>
To: Yaakov Stein <yaakov_s@rad.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/vUDwUACYqgyA
Date: Fri, 26 Feb 2021 14:03:05 +0000
Message-ID: <AM0PR0702MB3603D0F358046B8F75BD6001AC9D9@AM0PR0702MB3603.eurprd07.prod.outlook.com>
References: <AM0PR03MB35228092287B38B95D7056F7E5809@AM0PR03MB3522.eurprd03.prod.outlook.com>
In-Reply-To: <AM0PR03MB35228092287B38B95D7056F7E5809@AM0PR03MB3522.eurprd03.prod.outlook.com>
Accept-Language: hu-HU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: rad.com; dkim=none (message not signed) header.d=none;rad.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [80.95.83.33]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 40d52650-ef60-4887-f58e-08d8da5f3d40
x-ms-traffictypediagnostic: AM0PR07MB4626:
x-ms-exchange-minimumurldomainage: ietf.org#9484
x-microsoft-antispam-prvs: <AM0PR07MB46262070C03869FB7FA3D0A5AC9D9@AM0PR07MB4626.eurprd07.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: Vqm3PV8XLevfC5Nw4CsLPU0LbAtvhCRbCEZ3o/rf38WEzX8px561gqUtM0uOlQwxDsTB4Vu+1Gh00qAh3p1lkb1g7wHrz1r4wcgt2Z9hSU3UbbgYUU9QWMGMK650pVVb8KaGsVtJxmjSGxiDhyQ4n+AKBpOCaBDvnwoz/ZrbHTOt0+hudT8HwNiz2fsqOUacJSNkTfQevL6xZaQjPBD2qojG8HmotjEhq8GpVjmrppTFbOC11MXL5uuRTbhlqMrhEOfiMH3cfdgsiIaIGnAowucgxRFIoiNPc0YJtNSfOzTwghwRvjJEL5WFTxkkhuKrTwYzM0XiXPuTfGCirD9jRH+MuSEPhnesawR+Ma1JJThttyHC34tbnTO8G+9g02tZIyg2AM+0ZLvJSYvp+NdhwY0xBePUMYZkqJTITEGNG++7979sjmkQlOtNseu3PjfN2Z0/Lj/zxTxy5ltZuXZn4bCqFVGyymXKyjtVV0NhjanAZd1Ny5Gx1m19Ez9AAOGfOOl6/JPCeGX2tw++l3OrwFBZ3Yvptb6plSRDBp1fa4aKleiLF/6KEWmWlWqudzNTdO58GhASCUR/RiYbKOWBWj+hsX4v6eki4N1J5kmAAhA=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0702MB3603.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(346002)(396003)(136003)(376002)(76116006)(6506007)(110136005)(7696005)(53546011)(9686003)(316002)(166002)(66574015)(33656002)(66476007)(966005)(52536014)(83380400001)(478600001)(66946007)(66446008)(64756008)(66556008)(55016002)(26005)(71200400001)(186003)(86362001)(2906002)(8936002)(8676002)(9326002)(5660300002); DIR:OUT; SFP:1101;
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zD5iarpTvVa8IvnO3kKWpuGtOQ3kgCJOtQ7t2xmRPMQ63LInrc80r5Er15pJTNMlw4blzHAjezB8rNcAjXKwYCCB6dEApf5cq2CH6Fh6Dr02PRR2sOqJHzUud2KmrTIP3+iehREh+GokZwZzzNZFfVmPylpmzgVoZeG9ZqCYTTXdQBiqBpr8K8kqZd4xueimMQM16jX6Ciq+mDwdDpKvVwMGuFhlZl/j54ugmQNeCMTCbo9vXWkQuNIEuOc6UAkv7YHTJ0m7OYD13g=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR0702MB3603D0F358046B8F75BD6001AC9D9AM0PR0702MB3603_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0702MB3603.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 40d52650-ef60-4887-f58e-08d8da5f3d40
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2021 14:03:05.6521 (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: MeqxvVMF61v0uTcl4GNKaln/ThhhbELVC9qLgoQ2/MP7ZU/OpI5enaVNGBKurCz2jcTZK5kNZnUMRf02LmCVaOdjd9UHp9M8VZcbyuS09i0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4626
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/4WZocfGZOYy5Gq4jaZdSLM0uTuY>
Subject: Re: [spring] new draft on segment routing approach to TSN
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Feb 2021 14:03:11 -0000

Hi Yaakov,

many thanks for this well-written and information-rich draft.
I have enjoyed to read it (and also the discussions on the lists). :--)))


Conceptual (clarification) questions:
1, What is the node behavior if deadtime expires? Drop? That requires a quite good design/allocation of the latency budget. Otherwise it may result in unnecessary loss of a packet being relative late at a hop, however that might be compensated by the remaining hops. (E.g., see your Figure 2, getting 35 microsecond at R1 instead of the designed 25, but R2,R3,R4 adds only 10-10-10 extra microseconds). You may consider to add a "late flag" to the packet instead of a drop ...

2, Do I understand it correctly that the described solution is practically a new per-hop-behavior? Does it have no tools to "influence" the arrival time at the next hops? In end-to-end latency design the DetNet/TSN functions are often used to "adapt" the arrival of packets belonging to a DetNet flow/TSN stream at given network points. If "latency design" requires such a "time shift" then the described method has to be combined with other DetNet/TSN tools.

3, Design of a guaranteed upper bound usually requires deterministic arrival at each node along the path. In this solution the flow becomes less-an-less deterministic as it reaches the destination. I mean e.g., as per Figure 2, arrival time range at R1 is 2-2 usec, at R2 is 26-51 usec, at R3 is 70-120 usec and at R4 is 92-167 usec. So, the flow is getting less-and-less deterministic at each hop. That can make deterministic design of other flows passing R4 more difficult or even impossible in some scenarios. Have I missed something here?

4, Wire-speed timestamping and calculation: I would be interested in your view regarding how realistic are (1) the wire speed timestamping capability and (2) adding multiple calculated deadline to packets. Both are required for this solution. DetNet flows can have high bandwidth, not like 1588 packets.


Specific comments (Section 2-3):
5, Time gated Queuing [802.1Qbv] allows multiple gates to be open simultaneously. Furthermore preemption [802.1Qbu] can be combined with Qbv. So I cannot fully agree with your evaluation of time-aware scheduling. (Section 2, "However, time-aware scheduling suffers from two major disadvantages.") Of course with a bad design one may shoot in his/her own leg, but in well-designed scenarios efficiency loss can be eliminated without expensive computation.

6, Deadtime calculation is also complex if impact of other DetNet flows must be considered. The pre-calculation of individual "local" deadlines may need to be re-calculated when flows added to the network and they are using some common links. So I cannot agree with your statement. (Section 3, "... Since the ingress router inserts the deadline stack into the packet headers, no other router needs to be aware of the requirements of the time sensitive flows.  Hence admitting a new flow only requires updating the information base of the ingress router."). Adding a flow may result in updating many ingress routers' configuration.


Some topics for further discussions/considerations:
7, Impact of some DetNet functions (e.g., PREOF [RFC8655]) needs further discussions. The usage of replication/elimination impacts the deadline calculation. Disjoint paths used by member flows requires different label stack and deadlines. Furthermore, these path specific labels+deadlines must be added by the replication node (PRF). So at least, a combination of PRF with B-SID and computing/adding deadlines (ingress SRTSN function) seems to be necessary in your solution.

8, The ever-green topic ( and not the green-wave :--))) ): label stack size. You need multiple labels per hop and the label stack contains them for each hop. Could result in a quite big label stack to be pushed at the ingress (nx10s of labels).


I am happy to have further discussions on this interesting idea

Thanks & Cheers
Bala'zs

From: detnet <detnet-bounces@ietf.org> On Behalf Of Yaakov Stein
Sent: Tuesday, February 23, 2021 2:14 PM
To: detnet@ietf.org; spring@ietf.org; pce@ietf.org
Subject: [Detnet] 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
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