Re: [mpls] Concerns about ISD

Haoyu Song <haoyu.song@futurewei.com> Fri, 15 April 2022 19:30 UTC

Return-Path: <haoyu.song@futurewei.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E97143A10CE for <mpls@ietfa.amsl.com>; Fri, 15 Apr 2022 12:30:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.109
X-Spam-Level:
X-Spam-Status: No, score=-7.109 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, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.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 nSzF4dfh33s1 for <mpls@ietfa.amsl.com>; Fri, 15 Apr 2022 12:30:04 -0700 (PDT)
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2070b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::70b]) (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 2D0503A10A4 for <mpls@ietf.org>; Fri, 15 Apr 2022 12:30:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SGMdJvFtmPd7EcIV807wbxDs10qZEK9e2lgtsj/K1VyLiwYRLLR70lVNiUsnG0NXD7GpTiZ5dImQxVsUbo+e3nIHZBI4ellLotqWJ1PAIMdeDr2r6cbYvZu8+MXK0vB4ypviaSCjrKhIztjojyvitKg6a3Pf1PsVbMWaXdLMkkm5GmalPSxIXtMCLJNAzdToiLSrCXXi5ibuM0RlcpaVKe2mmfEcP2xaVj5HSeJ9jG/Oey3YA7G4f4Cv9nS2zuL6iBLNWAcc/2KqpzWUoCVXbgZSFSK4nMzRFIthzBPNJSdptp7jER+7yFrypUWkMieHZ3T9YZxRGCqvA2P2yYlRPg==
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=UHaEKtgUsua4+StmcqsFNbvVonMt8/91FiY5sHaLSSY=; b=JBHgtw3EwWmg6SdrF7TyMt4oDoRFeJGX9envY8CLw3iq+/YgErcnRD/ubhEhho/mZMLbJ+DV8qIosKJR9nqxRjWzFo+CbTYjstmJOrl/GVdqpj4mzPJW28XVz7u+sth07yEtE1qZz5nPOERn+WWPOfPzieeVq7Y8U6OjcMOZzjnk+1VwO5DV9rXwJOzOFP89+iM4xX8Ufx+4GmSTiCUjL4OCkXFpaXSah0fGsx5Rko0EWs1Kxb8s3+jwl1vRSDUw7lYubyBXnEFCF4eIYZlfo/X7BnegjzDqogwFiRCsT0ln2EOeuhigXB1Ujs3aD4NTRPjUYhB7/S76yyrHhngySg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UHaEKtgUsua4+StmcqsFNbvVonMt8/91FiY5sHaLSSY=; b=i+a+9quU7DExLIFVhRnxeX5N5Gmotp5eXzZ0ETXjRY7enVdSSQAVPjZlI39GbPQZbiH2NirEfzE+z+tDSCzVXOZSjQB67i1haGVz+EdWh7VsVtjrKioxLVsFFlnvF3Sf8/jZgrXdcey7Fm9rbBQltDlELLsmUSTkHtpDpV0tl3s=
Received: from BY3PR13MB4787.namprd13.prod.outlook.com (2603:10b6:a03:357::13) by PH0PR13MB6019.namprd13.prod.outlook.com (2603:10b6:510:fc::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.6; Fri, 15 Apr 2022 19:29:58 +0000
Received: from BY3PR13MB4787.namprd13.prod.outlook.com ([fe80::e8d4:7243:fc90:1ccb]) by BY3PR13MB4787.namprd13.prod.outlook.com ([fe80::e8d4:7243:fc90:1ccb%6]) with mapi id 15.20.5186.006; Fri, 15 Apr 2022 19:29:58 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: Tony Li <tony.li@tony.li>
CC: John E Drake <jdrake=40juniper.net@dmarc.ietf.org>, Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>, "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: [mpls] Concerns about ISD
Thread-Index: AdhKc4fdvDv9lzMNTfy5c++8iNI9iwAFlCaAACI+zQAAElacgACACe8AAAMwSQAAA2mogAAQuiYAABYeS4AACDOSgAABJpkAAAwjTIAAGwXoAAAX3NOgAE5MNAAAFZNHwAAI4aFAAAJwyYAAADi+cAAAowwAAAAxoxAAAXaagAAAGigA
Date: Fri, 15 Apr 2022 19:29:57 +0000
Message-ID: <BY3PR13MB47876188B5927A51BD4F4E739AEE9@BY3PR13MB4787.namprd13.prod.outlook.com>
References: <6cc272447d2f4c779e85d5c42d3b3c6c@huawei.com> <8623637D-A32E-47A4-B5FC-4D2CF40BEDD1@tony.li> <6199e0e886f9437c95ef9b70719b00ec@huawei.com> <BCFD3F4A-36D6-47C2-B907-FC40B402F97C@tony.li> <3fb1f261ddff48deb0c2ea083cdbd16f@huawei.com> <6B96F21B-9331-4FA8-AD7B-84A4CA8B6FAB@tony.li> <903c57a48280454091495673ec2fe275@huawei.com> <BD5C1BE7-4633-4B51-BAC1-B2AE1C537F36@tony.li> <ad6b8c42b0aa4880b9dee02516f5e46f@huawei.com> <F5BB2CEB-CC8C-4E71-A2E7-B4212878C3B1@tony.li> <aa9c4b913d844410b2af90c8db78c194@huawei.com> <BY3PR05MB8081937B52E657713E8293BFC7ED9@BY3PR05MB8081.namprd05.prod.outlook.com> <a29c96be774845e582a66700d2264f7b@huawei.com> <BY3PR05MB8081870EF67C551727BBE2CFC7EC9@BY3PR05MB8081.namprd05.prod.outlook.com> <d5521b3972dd43e38276afbbdc7c2bda@huawei.com> <BY3PR05MB80813C7CAD7F2C12C36FB513C7EE9@BY3PR05MB8081.namprd05.prod.outlook.com> <BY3PR13MB47879EB8A582437DE936688C9AEE9@BY3PR13MB4787.namprd13.prod.outlook.com> <C493D0B8-4B57-4D19-BC27-70ABD7F50356@tony.li> <BY3PR13MB47878B227A37AAA06625194B9AEE9@BY3PR13MB4787.namprd13.prod.outlook.com> <0318B3A3-2884-4FD6-B5EF-377481D2657B@tony.li> <BY3PR13MB4787752FB6D147281A7150789AEE9@BY3PR13MB4787.namprd13.prod.outlook.com> <602D6128-3BE3-4A2D-B5C2-019AE0FADF09@tony.li>
In-Reply-To: <602D6128-3BE3-4A2D-B5C2-019AE0FADF09@tony.li>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=futurewei.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 282e29f5-6fff-44c4-ae3f-08da1f1653a9
x-ms-traffictypediagnostic: PH0PR13MB6019:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <PH0PR13MB6019D8843AF6568338DF6BC69AEE9@PH0PR13MB6019.namprd13.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /MqgoMwKpEETuTS5pp+8BUUBMjRudMjNtFrvdssV5F3DjJP2K9JVYtMNnqgRt72DSmkpsAY2HttuKUKT7AlZqDDASyhhiw+4k/jj4bAbnT9wG0pTDX8Sywf7LKYKcyeRZta2cN4QZAL34LnBgfLXwK89FllniZfGNqzzV3r/BM6VdX/zslOGNFxqOqbeWyErTQOsuLTeUpwBYc9LAfPD6Nd9Ye9AlvWZLJP1V1Tz7YY8e5fvDYxHNHxG5rTOSiEo9l0iPTbt7eDwuIkjUMl0AM7KcoNcqjCoAPGtu4vCzt5vmDGr2on6ljFq+EyGSqruii42tPSX/bqgh59tYEHVRoO7rmsY8Sb1tb/uc9VJMd8wUf75JMpTHmGGx1QDeVk7xE4RxcfLQ23xtSlDeEkoLG0vFltNV/QZpIytgdEdsaa+7M9YVD5q0IJU2Mx/av8m86eHAa1Dek7JlJ+ZVGRrLzqhfXcTaSypuOnxQYpx8NfL8peASv650BCjchkr05fkDSZaGAo+yNZCHsEgiBrwC3xK5tk2KsNHLir/NZFVY069to2ebnEmb2jfGHkMgk3fu/qfi5EwNOVG0piDL/U1bvO40kjIQJRX5YUYL0ocfWI9GdbJiX1sXmOw+znqo1moaF5mZor+M7v4cvnL5+hiDN6IOUzm+W8+Ar0hJmgd4QeapPOOOYjsq25khOPh16iwumO9qF3sq39jRgFr5vzZupGHp8z/R9PaW3/x2otDUw1b0+wAYUQbEhRNWPsit+RELAuUSi9eAT0PooZbQkdAtvuK8UsmV6cCTQPF0vB8WH25Wp/wl4cZfF7JULJS/fXkMBycU/Sl6N/E3fupCgB5oA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR13MB4787.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(86362001)(53546011)(166002)(5660300002)(52536014)(8936002)(44832011)(33656002)(2906002)(966005)(6506007)(9686003)(8676002)(38070700005)(64756008)(66556008)(71200400001)(66946007)(76116006)(55016003)(122000001)(4326008)(7696005)(38100700002)(186003)(316002)(83380400001)(26005)(66446008)(54906003)(6916009)(508600001)(66476007); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: H65sAHhK0KBVazFFAK85IfahaLgaijusba3yYhIyH1AgTTRyAVA+vCsyuJ2lh0Sd8W/1FG0tFeKUONgUaOlCWyFp8v5c5r3f1o1qtWlhB4B9J6doVCWXGuKplFTQf4xpsVtDxpGX9SO8tqdFCTag48s5KFVJucIA+YuzGoukuolJ/gSsD1SKOReBIdKAEeTgBu3JWQfzUN8Jd0FdOlsedF+n4MUHX02S8G7dL2xpQ+EBaJfHn/JGUJ/OFmBNGAClUZ6xOWzpyg1bVVbdyqZHx5O8ux/kITKdJjNOlSsTtZ9MvZLhRK+0oPnBvCkOe8VDVRFq2ODAgrOcKtz6B2CCGpYoLzu+pPZgIssxnukty3VbI26ZqNcrNg9LvxxnY2MkD8ipo48NeJctcYlsOkh4CxC0/xiuhr7W6eCAceWLbMhVlXU3Tisjwquor7Bgw8cytWGd+WkAZUPBzXi63ZKiQ8Q+CY9HkvAEx8L3VYgI8gsyF4rO2faT6TMmQe2ZjJCkHADod0kuMQRAkX1cCFpwQqyP1SF31fF8/g78qgGpyJ+TnWYtSx3xDxnAc5FPhVWYQetsaBLHJnPVcvX1TDueoRG4AAk/8jjnqm8RsaMHx83CeT/a1uOJvAvvRi35ys/Yepw7L9C7rDLEgT+7jJaLjF7j54M373bH90soj2ebQ755UjLqtaEpU+UA44SxJX2hXPmtg/aTmgQV1t2TlpY6v0JpFDaaCyPb18Kr+sURAH+3vJTJQ54brJDjvtf9rYlTfCMkt0+GLfGVwMQ4G2p53r7WOsVGz477St784sWx18gBZee2qLs1rAWeueiokYL1BrkCDN+XMpSKMJ4Dps0gyQva7X3bsh/M/XKcn94vmUeeHWckW+OQi3OR9NbIZoyEvHKtbkW9c70n0JEolcwvlKf+w+WxL2pgKyalVxHJoDgeByR4ZzNksHEaq+Tt0fQV1g1bBqifVC5FZA9cRiK+R+Vsh8U69y5ZrXJdMJLzL8UrgAJDccien1cmPRlcBNM1J9Hegj1n7eh7IYwS4yynS7PcQ5gAZDfOwfVU6/5E6Xl02zz9sgA8qxtibdEuSOyXHny8RGF6XitZHgEkQ69BbNqKcPg800gdOBQi5me6HgxE6g3YDhl+bH89nR/MAT34Urp/CQ3PWf1JklRcKYM47rj58JU9WwQF8avDmQ623oXdllmkuk6CkLib209SVWonkJmXy6Rqtqs9LDzGLAXCckx0NtTBkF4mZH6Rls0bvBWcTzZv4+pDBPclhz3hfvnJimTxYT9Pp8Z+4G8QU7jWGkZuk33AfgKkR0cnzJvoXf103RJhRok1UK1QLPikNmVcGJnEzNN/NA04qKmyXIOgBDN5ZcQmyzLXrKpD1mo7kH9b/GtUo0RzoEjLOsEn0ulph1uCXukCfHBXDBRoN7bh/w1vAqkfcE+dhsg4ji3GxHevl8unegMa8y8bSxq8O+TYlj0uOtjigtCp4X+Cw2ROQOmaSEyfGY4ZJtghNjt5EG2wCelmDJVvOfAKZGalWm9mhS+BxZKFUobZqz8oxhwSp/6PcKy0JFZ4fu7DlJWp39H3WaLmZDo6mkVAs3mDEbjvIAilt5VRp8M8XNYQVRzwCNB9byYUUf+Uh5pcb0lKqH4xDypAyVqFgFsx0ozUXDQVy0G5aVp7+xv5Lq3AVAOGpZKMuAJIYJpkNr4jRpVFzsmustBVGP4o24LpeBr6x2wYDEhKqo1+wp5ILz66KcuPCg==
Content-Type: multipart/alternative; boundary="_000_BY3PR13MB47876188B5927A51BD4F4E739AEE9BY3PR13MB4787namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY3PR13MB4787.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 282e29f5-6fff-44c4-ae3f-08da1f1653a9
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2022 19:29:57.9560 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: JqtkQv8bsM0l9db+WEBVdi19iceE3GzAwAZsoJLpzhUc8wHpxLBoyIPy+WovIBofienYjetn9MOoW8Ddd+7TFQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR13MB6019
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/I4Wd7C23Wz9rM9n56dEroYWSTjo>
Subject: Re: [mpls] Concerns about ISD
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2022 19:30:12 -0000

Hi Tony, please see my inline response. Thanks.

Haoyu

From: Tony Li <tony1athome@gmail.com> On Behalf Of Tony Li
Sent: Friday, April 15, 2022 11:56 AM
To: Haoyu Song <haoyu.song@futurewei.com>
Cc: John E Drake <jdrake=40juniper.net@dmarc.ietf.org>; Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>; mpls@ietf.org
Subject: Re: [mpls] Concerns about ISD


Hi Haoyu,

If you continue to read the indicator draft, you’ll find it may be possible to reach the EHs faster.


I’m sorry, I’m not sure which document you’re referring to.

Yes, I realize that you could store a length of the label stack in the EHI LSE.  That would allow you to index directly to PSD rather than linear parsing for the bottom of stack.  However, that’s not the established MPLS mechanism. :-)  Moreover, it causes a redundancy and inconsistency problem: both the length and the bottom of stack must been coordinated.  What happens if they are inconsistent? Is an implementation supposed to cross-check them? If so, we’re back to linear search for the S bit. And the redundancy seems wasteful of bits.

[HS] Sorry, I forget to include the link. Here it is https://datatracker.ietf.org/doc/html/draft-song-mpls-eh-indicator-04.   Yes, this is some special processing limited only to the SPL. We include such possibility in the document for community discussion. It doesn’t mean we fully support it.

Even we don’t use that mechanism, the parsing latency is indeed linear to the label stack depth.


Thank you.



But if you check the cost of parsing ISD, this can still be a better choice.


Please explain that.  As previously discussed, parsing the full stack to find the bottom of the stack requires more read/load operations. That would seem to mandate poorer performance.

[HS] Assuming the label stack depth is L,  it needs L steps to reach the EH.  The question here is: what’s the reasonable value of L?   The total parsing cost and latency also need to include the parsing of the AD items. If we include this into consideration, we would see PSD would still win overall. Please see pg. 7 of the slides for the analysis https://trac.ietf.org/trac/mpls/wiki/2022-01-27-agenda#no1
Moreover, in another draft https://www.potaroo.net/ietf/all-ids/draft-andersson-mpls-eh-label-stack-operations-03.txt we describe a way to avoid unnecessary scan of the label stack with the help from the control plane.


Moreover, the stack of stack can help to reduce the label stack depth to reach the EHs.


I’m not following that.  It seems to me that if there is a hierarchical stack, then for an implementation to support all of the network actions, it has to parse all of the hierarchy plus all of the extension headers.

[HS] Yes you are right. Then this optimization works for the case where label stack sections can be spliced (e.g., in normal processing, one never needs to scan the entire label stack). For the hierarchical case, such arrangement may help to scope the EHs, but it doesn’t help the reachability.

For the EH encoding efficiency, I appreciate your input. Currently it follows the IPv6 EH type (i.e., using NH + LENGTH to delineate every EH). There could certainly be room for improvement.


Ok.  If I understand your proposal correctly, there are 4 octets of overhead (HEH) at the start. Then, for each network action, there would seem to be at least 3 octets of overhead, plus any associated data, plus alignment.

Let’s suppose that we want to encode NFFRR, entropy, and GISS in one packet.  By my math, the cost is:

EHI: 4 octets
HEH: 4 octets
NFFRR: 4 octets
Entropy: 8 octets
GISS: 8 octets

Total: 28 octets

Do I have that right?

[HS] It’s right if you think 8 octets are needed for Entropy and GISS (BTW, I wonder why we want to redefine entropy. We have already have a standard for it and we don’t need to do anything more about it ).

Tony