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

Yaakov Stein <yaakov_s@rad.com> Fri, 26 February 2021 08:05 UTC

Return-Path: <yaakov_s@rad.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B84B83A0A3E; Fri, 26 Feb 2021 00:05:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.788
X-Spam-Level:
X-Spam-Status: No, score=-1.788 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, LOTS_OF_MONEY=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_MONEY_PERCENT=0.01, 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 wnIhqNTx-cbB; Fri, 26 Feb 2021 00:05:26 -0800 (PST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00087.outbound.protection.outlook.com [40.107.0.87]) (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 7B2F53A0A3D; Fri, 26 Feb 2021 00:05:25 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XsMiJvmm+BaxoS1da42wqLObQ+lQ1Z2TKUkFJcU99Q4o4K+zRzhCqz5+ox4T6UO1IaQU6RRsiuubF5lLOpN8CpUd9NJU6GPt47UVBidQWjiPZ4fTTunVAVwggnKdutGRAUqnUhgPMybPZfVDii+TwrXDVwn9t35JspG8gUFAasUu1RGwkgErA7hn0CgB6P1qRRCYeP8B7QviihLwO8Lfv9luAzrTagOD/tZapTyGIo/nQuQd+ZN+hU25/w5ZhdskdMIh1BA0GU+k70VQGKCfTGMYL+OebGAtpc6o3vJbdQWpGeb4xjTxh4bV5RO3jNbLwAX7VTdoeSFtrDAFdHTBqg==
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=l8dAbwe1+NuwxhbNbQ9y9p9iPIqZmq54xRdxVNsLa1o=; b=UKz+nrXeK6Idxs4NBNv6AT7lhJ/sFWBIsQ7cVflnlWGgC/o/bqNyNKm1vVm1dWxH98gVVBUy4m+DKXCmf2Iu6dXffEgZAdBp1MNIRXjMQWHxIO0GmvPj90Ga/yS/R1cYRmGHJCoWI0ucAtTCFVoA7MHgu6Tdz3B1bgGKImopEt/WjzgUO9LhkHDXPXRq0Hu0ktt++PvpeB2CPRQJlPBakyApIFekGR9EuTMwZCahijUO4uAev5oiQwtJM7S3teYnac5s8VwaBKNi7PkdL/gEWHM9PWSegDbRXH9vt3Yiwrb71a8tnkmn3+25CN7uptHLjvovkqLuVAh+QNtQygZyrg==
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=l8dAbwe1+NuwxhbNbQ9y9p9iPIqZmq54xRdxVNsLa1o=; b=Sr6r1WNnl9UkPsyUVR1bJgPaQXzkjES476LSLhBsu2i8SC3sQucg3uWo9rHV/Qg9uXGGM6tFQGrOQrgnc0ii6L4jPU2oRapx807OT7wgdsg+LHN84xf6VCgj6dRrmY6i2P83cpCatIak4kj4lVDTedpjrDI8fYl8QwETqpMYBqo=
Received: from AM0PR03MB3522.eurprd03.prod.outlook.com (2603:10a6:208:42::23) by AM9PR03MB7377.eurprd03.prod.outlook.com (2603:10a6:20b:26a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20; Fri, 26 Feb 2021 08:05:22 +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.3890.020; Fri, 26 Feb 2021 08:05:22 +0000
From: Yaakov Stein <yaakov_s@rad.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
CC: "Pascal Thubert (pthubert)" <pthubert=40cisco.com@dmarc.ietf.org>, "detnet@ietf.org" <detnet@ietf.org>, Tianran Zhou <zhoutianran@huawei.com>, "pce@ietf.org" <pce@ietf.org>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: new draft on segment routing approach to TSN
Thread-Index: AdcJ5AjgmuXpLt94R1Stsoh/vUDwUABaAaLAAAtVwoAADcpzUAADGHv+AARIBxAACpyWAAAASPaAAABFVeAAAFNZIAAAowYAAADReIAAAF+B4AAAWXUAAALqJPwAAWuY8A==
Date: Fri, 26 Feb 2021 08:05:22 +0000
Message-ID: <AM0PR03MB3522BB4D73388F185F0BC075E59D9@AM0PR03MB3522.eurprd03.prod.outlook.com>
References: <AM0PR03MB35228092287B38B95D7056F7E5809@AM0PR03MB3522.eurprd03.prod.outlook.com> <3c69571d0bcb4a6ea1d08bee53c0277d@huawei.com> <CO1PR11MB488181838180DBE6F5DB3B5BD89E9@CO1PR11MB4881.namprd11.prod.outlook.com>, <AM0PR03MB35227928249020BC6D0B6806E59E9@AM0PR03MB3522.eurprd03.prod.outlook.com> <89EBAF5C-558F-4723-BD05-65E87FD7CB16@cisco.com> <BYAPR11MB320760C5D86FD23B5C7C1F93C09E9@BYAPR11MB3207.namprd11.prod.outlook.com> <AM0PR03MB3522E8E84C45E176165BCB13E59D9@AM0PR03MB3522.eurprd03.prod.outlook.com> <BYAPR11MB3207B3ECD63523790C800FE4C09D9@BYAPR11MB3207.namprd11.prod.outlook.com> <AM0PR03MB3522AB552AA058008745E1D3E59D9@AM0PR03MB3522.eurprd03.prod.outlook.com> <BYAPR11MB32072751A210577A96DFE304C09D9@BYAPR11MB3207.namprd11.prod.outlook.com> <AM0PR03MB35225AD9981021F075C99532E59D9@AM0PR03MB3522.eurprd03.prod.outlook.com> <AM0PR03MB3522D42099A8D82D865E8459E59D9@AM0PR03MB3522.eurprd03.prod.outlook.com> <BYAPR11MB320781890FBBF1D2438A6791C09D9@BYAPR11MB3207.namprd11.prod.outlook.com>, <AM0PR03MB35223BA010B821E3E74E43A3E59D9@AM0PR03MB3522.eurprd03.prod.outlook.com> <E6DBA3FE-C22A-4B72-BFB7-CFBB07FFE5E1@cisco.com>
In-Reply-To: <E6DBA3FE-C22A-4B72-BFB7-CFBB07FFE5E1@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=rad.com;
x-originating-ip: [176.230.181.21]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 7fa24651-40bd-49ac-c295-08d8da2d4400
x-ms-traffictypediagnostic: AM9PR03MB7377:
x-ms-exchange-minimumurldomainage: google.com#8565
x-microsoft-antispam-prvs: <AM9PR03MB7377DD1EFE0AAEB844AADA66E59D9@AM9PR03MB7377.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:2512;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9/DLZO9pM4nldQHD2AZ7gnmSRS8eAstZ6FXuaFBSXMeN87RaAMLcUJiEuLUdhGUMCluUgDGfwfGZ3q6RKl96jSWbzORBpumBKhoFVmvc77LuzLcTOIjfzXcmb+8mrUxos9jZ+SaKULj917EKaD5QA07GMAPHyxSMZD6wpDE/g24H4LFjy9YvSSwgOaJujwQ+FUiwPf5pDE/7aCViBBCKNakb6bkL+jGYXNfsymg/L79yfuepj3DR6RhiFeMYV3pqj9qDAaOlHbqsykXWFEgo0tiDXfvr7JCTGccwQr4SfQcdOSkcNRHSR6D38XlD/PpKFyTYM2hALLoLqDMLAorUk1343PdlY8fLVhJILGzH63CAoKRjUEMTfXa4U9id/SR0Z8p2V0wf0GZr441xdumGmCKnEuxEgJ0GaEVk7Tb7pyMEXsIqF4UYXo6vIbsV2x7eXiusHe5eJl2xtvHZ2l5LUZ/Rv8knEtWj80XlExrinV0S02RjKEnEAgAjsUmcs8Km5A8+4aqC9/xL+pWux2KXY4fxZTjHqIV/EidtOe4wdIXMqB4IWZDykJE0O68oRWQa/bEPaJiVsnlWx4YtzFtjSp/9ZRR7kHNpdmN/wiQwqKU=
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)(396003)(39850400004)(366004)(346002)(136003)(53546011)(966005)(4326008)(6916009)(7696005)(2906002)(6506007)(8936002)(30864003)(66446008)(83380400001)(8676002)(33656002)(5660300002)(186003)(478600001)(55016002)(54906003)(71200400001)(66556008)(86362001)(64756008)(316002)(166002)(66476007)(52536014)(66946007)(76116006)(66574015)(26005)(9686003)(579004); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: 13LNMcKr9V1s9HpY2Kj/bbymMPhISsQ7RL9JawE5apy+yFgeFkAjF+fefhfDh5pC+n0EJoo75T3RSd1OSmWBbRSnauyp02NW1T5MTGB2mKzFiqIMuiwGy6Ao+M+9Auk2iT4VitVznRZLZY7ftSHSctLBUFEJzU7sKhL0/WIT9Vzj3ondSVKVuF6SG8Az0YMp6Cq5SSGFR2WJ+6J98VxmPCDuR7orIBvn/RjFO16yiYsfJRLxFNacvhATUHNIKeY+yGlvZmFIDbIV7FJGe6vX7bz8DYfJz8LNhPMY7DATB439lxPWQAQwvIkuPtzW6cOMdOuvjW/2xnfrymshh4aXsh1zcVu+t/pbK3J2RP3Edd4z1rwj4CzBXl/5BMTBrOlM3ISweeRYM5R+bUATwzq62dPoChLQX2dCMO9hx8oa2Q42Ct1a6H6AzIVwMejVMr0JApaz9wP1YIhH6zeLkMxtlhEP0rbp7jiuJ3bXqHBmSnnojGsgrSoMsMxLCJBzXGydS4DAU6n2iOsgsg8npCeQIUTkTBbGY+uotq1kE7YHeSVptcody/fTjWMEPrgguHTWtO42cXQ13VgKbDSYVQkvK7HP3DS5QJxHAdRV/OIlWnFSdJyorsJMjvHhArCo0VJOOmOO7qzNmlhU66mcwuKZVfG/2P5Sn77aiFxuyvyMqo76bEro8f0q5ajCPaKMZtzo2sTuqjW3yeOd9bprNOk5Eh8ljbwVQS0i9RJ0b3XhNU//YXybmpNa5Mfq592OlGr4VGJ9vYQJYlKVL2slc6iL2qNH/abf+PHq89OBYAu87ANpOKCALP69NqI0g8VHFrSaybTqraIGwt7iYib4xJdkTc0+mwrwHR9u+B7lqOO7zesk3ZojvGwBJ70RnT45AkBjPPEIHRkHGGtEC073nd1BjeJfZZ4l+coin5zyvnuIbm3TR+pfP7+SENzqdRHjI7lBZRI2qdei/VWI95l0C3AxxVNewT8FT4TpkW+IAiDLkexzCMHrLBZo2l3TdPSiap+DkOoZ6Wkh25JZRFAgT1mbypedQYcb7uSkPQwAYddiRH5gfnFdjXMCd7NFOrP0Vuq3XLB3L4xdVAnAPum+QNGRkMiXHAqMibXEjCI88w9qGeofmTUAdWIr7i/r+/KX99So2lzeyo8+qc9UsDO/OMWEz87i2XGyT16tZRZ5iq/mPzXskyyx9KXUq9/9wRcV3AH7gjJsyGH4r7x92MP3YtHVKzNe3or8AxRS6gFuzgBrAGfePSOY/+mwJn2TMi8uLP9FONcAgLkKmEIPNUv9kmRRMBd2X2lmWJNiwGevdrJ7IWofVv2kwGXO/8E+EE/RX8EZ
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR03MB3522BB4D73388F185F0BC075E59D9AM0PR03MB3522eurp_"
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: 7fa24651-40bd-49ac-c295-08d8da2d4400
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2021 08:05:22.1039 (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: bLT8mEeg3XZqW0EXsqcCShQTA+RR7N4lafSOwQcWJON56T60CeqzWMq59Ma4npAGsg0juTDGquo5+onY2WCz7w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR03MB7377
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/BXLhFZjGUuZ2oKt6zaHXXomiu_k>
Subject: Re: [Pce] new draft on segment routing approach to TSN
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Feb 2021 08:05:31 -0000

So was I.

Y(J)S

From: Jakob Heitz (jheitz) <jheitz@cisco.com>
Sent: 26/02/2021 09:24
To: Yaakov Stein <yaakov_s@rad.com>
Cc: Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org>; detnet@ietf.org; Tianran Zhou <zhoutianran@huawei.com>; pce@ietf.org; spring@ietf.org
Subject: Re: new draft on segment routing approach to TSN

i'm talking about point to point
Regards,
Jakob.



On Feb 25, 2021, at 10:08 PM, Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>> wrote:

And I forgot to mention the real way this is handled in sophisticated wireless systems.

There shouldn’t be any idle time!

If there are less bits to be transmitted then the modulation order is reduced
increasing the margin and reducing the probability of error!

Even for NRZ Ethernet transmitting random frames that happen to the next in a cyclic buffer
is in general not the best option.
Not only does it not guarantee retransmission of a bad packet (unless is really very little to transmit),
it wastes a lot of energy on transmitting packets that have already been received.
If there is so little to transmit you should be powering down your transmitter (802.3az).

Y(J)S

From: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>
Sent: 26/02/2021 07:56
To: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Lots of ways. Another:
Use a circular buffer. As you transmit a packet put it into the buffer.
As it is acknowledged, remove it.
Just keep transmitting the buffer circularly.
If one is NACKed, retransmit it immediately.
The receiver can keep track of received sequence numbers.
They should be in order. Ack the latest sequence whenever there is a chance.
If the receiver sees a hole in the received sequence, NACK it.

Regards,
Jakob.

From: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>
Sent: Thursday, February 25, 2021 9:48 PM
To: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Jakob

I forgot to address your first sentence.

Retransmission without NACK is an interesting idea, but I am not sure it really helps.

If there is nothing to be transmitted then you could go into a loop and retransmit packets over and over,
but I assume that this usually won’t happen.
So assume that you have a short idle window – which packet are you going to retransmit?
Without knowing which packet was not received correctly you have no idea.

So let’s assume that you reserve a full 50% of your BW and retransmit every packet.
Some packets received twice will differ – which one is correct? You can’t know without a FEC.
And if you are using a FEC it is more efficient to use a strong one then retransmit the whole packet!

So, let’s assume that you don’t use a FEC (maybe you don’t want the hassle of implementing one in hardware).
Then you need to send each packet at least 3 times to be able to do a majority decision.
So, you have reduced your BW efficiency to 33%.

I’m not saying that this is never justified. Lots of messages are sent 3 times for redundancy.
Going back to cellular, triple redundancy is used for critical control messages (in addition to other error correction means)/
But only for them. It is really suboptimal for everything else.

Y(J)S




From: Yaakov Stein
Sent: 26/02/2021 07:38
To: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

My point regarding HARQ was that this kind of retransmission can be more efficiently handled
at layers lower than where you see packets.
4G/5G has actually two mechanisms precisely of the type you suggest at two different layers,
but the magic happens on the physical signals (HARQ) or the SDUs (PDCP retransmission)
and is completely transparent to the user packets.

True, high speed Ethernet links are no longer physical broadcast domains
and one could insert sequence numbers into the frames and perform local retransmission.
This has been done in the past (I personally have a patent on such a method, although it also gives an alternative to numbering).
But if you are already numbering it might be even better to go all the way and use RFER.
(Or maybe even combine ACK/NACK retransmission and replication.)

Y(J)S


From: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>
Sent: 26/02/2021 07:00
To: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Suppose you're sending packets out an interface and all the queues are empty. You got nothing to send.
What are you going to do with the dead air? Send idle patterns?
No.
Retransmit your previous queues. Just in case something got lost the preemptive retransmission will fix it quicker.
Then put a link layer sequence number and ACK and NACK numbers so you can manage what you retransmit.
This will only work on point-to-point. Ethernet's not broadcast on the physical layer anymore, is it?

Regards,
Jakob.

From: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>
Sent: Thursday, February 25, 2021 8:56 PM
To: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Of course they are common in wireless.
Cellular HARQ works just like that – if the FEC fixes the problem then fine, if not then the information is retransmitted.
And HARQ not only causes timing problems when there are errors, the HARQ SAW (Stop and Wait) process adds delay to all information transmitted.

However, I was mostly thinking about wireline cases.
Pascal pointed to the work being done in RAW, which is where this question needs to be addressed.

Y(J)S

From: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>
Sent: 26/02/2021 06:47
To: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Are they rare in wireless transmission? I believe some wireless protocols have lower layers that retransmit to provide reliability, but I don't know much about them.
My point is if you are going to provide a guarantee of time for delivery, you need to consider all factors that influence that time.

Also, what happens if you can't meet the deadline? Do you drop the packet or deliver with best effort?

Regards,
Jakob.

From: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>
Sent: Thursday, February 25, 2021 8:40 PM
To: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>; Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Jakob

Yes, one always needs to consider bit errors (even if they are very rare in wireline nowadays).

I’m just not sure where you want to hang this on the present discussion.

A local retransmission mechanism such as the one you suggest
would obviously thwart any calendaring mechanism that attempts to coordinate scheduling based on traffic timing
(unless the detection, signaling, and retransmission takes place much faster than an opening time).
LIS could be made to work by retransmitting with the original timestamp, and EDF would work just fine.

Y(J)S

From: Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>>
Sent: 26/02/2021 01:36
To: Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>; Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: new draft on segment routing approach to TSN

Another thing to consider is packets dropped due to bit errors.
Possibilities: Link level acknowledgement and preemptive retransmission
if the link would otherwise be idle. I.e. "just in case" retransmission.

Regards,
Jakob.

From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> On Behalf Of Pascal Thubert (pthubert)
Sent: Thursday, February 25, 2021 1:27 PM
To: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>
Cc: detnet@ietf.org<mailto:detnet@ietf.org>; Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; pce@ietf.org<mailto:pce@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>
Subject: Re: [spring] new draft on segment routing approach to TSN

Hello Yaakov

Please see below:


Le 25 févr. 2021 à 21:33, Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>> a écrit :

Pascal,

Wow, there is a lot to respond to.

Thanks for the pointers. I was not aware of this work.
However, I believe this proposal is both different and can be complementary to the ones you mention.

Indeed; the questions that this raises are:

- which WG, so I added RAW to the candidate list in this thread

- how to package the complementary proposals in how many draft

Your excellent work focuses on SR signaling in the forwarding plane with strict intermediate latencies at each stage. It would be grand to neatly insert this in a SRv6 together with other information that the RAW PSE processes in its forwarding/scheduling decision.

There are multiple dimensions in which the scope of your work could be enlarged; one of them would be to use a similar signaling but with a best effort objective, which is what I discussed. This could easily be combined if we decide to, so the same signaling serves both use cases. And maybe more, to be discussed.


I was going to add a section on how to reproduce Qbv behavior using a stack of deadlines (the argument is a bit tricky, but straightforward).
I don’t necessarily think that is a good idea, but it should be there to counter claims that SRTSN only reduces the expectation
but can’t provide an absolute upper bound on latency (when based on EDF).

Very cool;


I like to use the term latency, but sometimes use delay to avoid overusing it.

Your decision, at least as long as it is personal submission ; but having a clear terminology is useful. Literature value is of lesser importance here I guess. Latency is what we use in DetNet and RAW. Delay often refers to extra, possibly unwanted time, like a queueing delay. At least you’d make my reader life easier by defining your terminology and sticking to it quite strictly : )


I thought that “green wave” would be understood by those who drive cars in cities where traffic light coordination is common.

Yes, and I think you were clear enough; but then only a few deterministic flows really operate like that. Another flow that use the same outgoing port will have to suffer some delay in a time-triggered queue till the port is free, the delay being taken from the end to end latency budget. My suggestion was to reconsider the text to avoid giving the impression that all flows benefit from that green wave.


I attempted to describe a data structure for EDF to be used instead of a queue,

Neat

but never implied that “queueing” (meaning packets waiting to be transmitted) doesn’t occur.
If that were the case there would not be a need for any data structure at all.

Cool

(Another thing I didn’t get into was the trade-offs among the different options,
 from worst case complexity and difficulty to implement in hardware PoVs.)

I’d love to read that too


I took a quick look at US 9602420 and will study it further.

It’s not as deep as an academic paper but a good hint at how you can turn schedule into QoS or another technique to reorder the set of packets that compete for the port.

However the purpose of this draft is not to mandate any specific scheduling mechanism,
rather to show how such mechanisms can be integrated and hopefully more readily distributed.

Usually you’re expected to provide the meaning of the signaling and the visible behavior of the node; the way the node implements the does not need to be spec but some hints on how that can be achieved are welcome, possibly in annex.

Incidentally I am working on a joint path+deadline optimization algorithm which only requires partial information.


I’d love to chat in this; missing the face to face meetings! Could it be that we do SF in summer?

Proofs of absolute upper bounds on latency are nice, but generally come at the price of either

This is exactly why we did what we did; it also comes at the cost of gathering very specific info on the flows and not all flows can do that, think CBR.



  1.  significantly reduced bandwidth efficiency (like TDM, or equivalently time gating as in Qbv or FlexE),
  2.  unscalable computation
  3.  relatively loose deadlines to being with (like Andrews Zhang)

I need to read it, sorry I was not aware enough of that line of work.


  1.
  2.  assumptions that aren’t necessarily obeyed in real life (like a lot of the network calculus proofs).
I would be happy to discuss your variant to see in which class it falls.


Same here!

Pascal

Y(J)S


From: Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>
Sent: 25/02/2021 19:40
To: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>; Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>; detnet@ietf.org<mailto:detnet@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; pce@ietf.org<mailto: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 and all:

Whereever Yaakov decides to place it I’ll be there supporting the work. The draft itself is incredibly well-written and information-rich.
Note that there’s also work in RAW that mentions SR operation DetNet related operations (draft-pthubert-raw-architecture<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-pthubert-raw-architecture-05&data=04%7C01%7Cyaakov_s%40rad.com%7C51b98cb39f0d45c099ca08d8da278fd3%7Cf9047108cc2c4e4897a343fad1b3bf9d%7C1%7C0%7C637499210756735148%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Z4SoRo8LWfQCn5vP1k%2FEfsA%2BXhVTR%2BMUx6VkKIJzU%2B4%3D&reserved=0>). RAW has vested interest in intelligent forwarding decision, that would be the trademark vs. DetNet. With this draft, the forwarding is not based on Qbv schedule but the forwarder has some latitude as long as it matches the hop deadline. So RAW may be a good place.
And then there’s draft-chen-detnet-sr-based-bounded-latency<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-chen-detnet-sr-based-bounded-latency-01&data=04%7C01%7Cyaakov_s%40rad.com%7C51b98cb39f0d45c099ca08d8da278fd3%7Cf9047108cc2c4e4897a343fad1b3bf9d%7C1%7C0%7C637499210756745135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=h%2BhqzPfNogXRWUleHqkGo7ouAapuh1Sh93IOvci6wuA%3D&reserved=0>. Ideally all these related items would progress in the same room.

Also a few notes on the draft itself:
- maybe use latency instead of delay; it would be nice to maybe define delay as something else, e.g., the delay representing the time the packet spends queued in one hop vs. the latency that is end to end?
- not sure the term green wave is well understood by the public here; the draft gives the impression that the TSN path is faster than the best effort and involves no queueing. For the most part that is untrue; the latency is bounded but for most flows it is longer than best effort. Best effort can be really fast with passthrough in an empty network. The problem is the long tail and possibly congestion loss. For TSN, there can be very special flows that will traverse the city with all the lights green, but usually there’ll be queuing. The difference is that the queueing latency is constant and the overall latency is withing bounds.
- Time triggered is not the only TSN operation. I wonder what the draft would become with asynchronous shaper in mind. We designed (and as I must announce, patented as US9602420<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatents.google.com%2Fpatent%2FUS9602420&data=04%7C01%7Cyaakov_s%40rad.com%7C51b98cb39f0d45c099ca08d8da278fd3%7Cf9047108cc2c4e4897a343fad1b3bf9d%7C1%7C0%7C637499210756745135%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hhaGeS%2FkTCDY7X2otyLrj3BTDRWRA1vR8Mw73CezMfc%3D&reserved=0>) a system very similar to the one proposed in the draft, but that is designed to adapt QoS depending on whether the packet is early or late vs. its schedule, and not tagging the schedule in the since the latency is considered end to end not hop by hop. The use case is slightly different since we apply this without a global controller and a provable guarantees all flows will meet the deadline – so not really detnet-, but more like a best effort that all flows meet their deadline in a stochastic environment. If Yaakov is interested, we can contribute on that aspect.

Good luck with the draft,

Pascal


From: detnet <detnet-bounces@ietf.org<mailto:detnet-bounces@ietf.org>> On Behalf Of Tianran Zhou
Sent: jeudi 25 février 2021 9:14
To: Yaakov Stein <yaakov_s@rad.com<mailto:yaakov_s@rad.com>>; detnet@ietf.org<mailto:detnet@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; pce@ietf.org<mailto:pce@ietf.org>
Subject: Re: [Detnet] new draft on segment routing approach to TSN

Hi Yaakov,

This is an interesting topic.
After a quick review, there are several questions as follows:
1. It’s clear to me to have a deadline for each packet. So that router can schedule the packet based on the urgency. But what’s the motivation to split the end to end deadline to several local ones?
2. How to divide an end to end deadline into several local deadlines? Is there any example algorithm that could be used by the controller?
3. As far as I know, most devices do not support edf. I am not sure whether your proposal based on edf could really be useful.

Cheers,
Tianran


From: Pce [mailto:pce-bounces@ietf.org] On Behalf Of Yaakov Stein
Sent: Tuesday, February 23, 2021 9:14 PM
To: detnet@ietf.org<mailto:detnet@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; pce@ietf.org<mailto:pce@ietf.org>
Subject: [Pce] 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%7C51b98cb39f0d45c099ca08d8da278fd3%7Cf9047108cc2c4e4897a343fad1b3bf9d%7C1%7C0%7C637499210756755131%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yOBPzTyNhM3qSrxcnr724wTYMjFvb0nduTpQO%2B5G4lM%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