Re: [mpls] Concerns about ISD

Haoyu Song <haoyu.song@futurewei.com> Sat, 16 April 2022 00:26 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 D36353A1A50 for <mpls@ietfa.amsl.com>; Fri, 15 Apr 2022 17:26:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.008
X-Spam-Level:
X-Spam-Status: No, score=-2.008 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, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_BLOCKED=0.001, 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 jPSnbvRwGRFq for <mpls@ietfa.amsl.com>; Fri, 15 Apr 2022 17:26:46 -0700 (PDT)
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on20729.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8d::729]) (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 06D9D3A1A51 for <mpls@ietf.org>; Fri, 15 Apr 2022 17:26:45 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gmQVa+FkhwCswAeTSn9ARJdOinRInqOxSzMeztJCaT1D2GHC0ZkdFtH33dM91Kv8VgGHzWsUZrw58tqtKCQt0oHJF5bjEaoy7DAe5E3VUVD4A/kO+HkLikbbc9SfDgua8FU7FsYiubW1vPadi3Xc2wHmTZjVpsQ4hQFxEv+m/pDwaVHAoYrj6xmKrY7SbSP56PxEQHNnQWtJCRLFBHmC4fCjQ85QCZVYPOoPxIDx2yLFolsipdczMOPVcaSuM5ydD1cisktv56paAq47GYY01JVGuCbsoplN1LKpnDEXkXcD/dPfw6TDn8L8q5pfDDNAqa9/irrgxsH6wSOcABkiTA==
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=RoagG6ivCBTgk/JhmVeGb0wQBcm+Za80O2nSI3+EQiI=; b=d7KnJbPBD4x0lPuZWaCHZJXtn5Zg8UcwV2849E24+r5NJys7BQX0B60DHjGuFBgaUFYR8Ff0FrfAiwhe47bCfNf0/M7MJ3o7EB0HXeaE2xRJtwHgmv/nSIrfScM6TY99eadWx7+K1H1+c8OfAlvYzK6wE47HcF5C/0NWip3l1pu03hQbj0f2U1KGOxbNgp5r4LZIHvMzVVbBhbrxRUmX6HJQrb+SYpkmChvDc+n3hq8wfria3C20xCrxtUlIQtOjrjtRm2k/rXYqO1CKpIwR77lcv+Tb3PAs0b3119WJpWeTOoOCArFPGQ1Vlv5DtWXixKLtb+4BeErI3KWzazn+UQ==
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=RoagG6ivCBTgk/JhmVeGb0wQBcm+Za80O2nSI3+EQiI=; b=OrczR3tBRjnVVwNKQAnQE9LfWHXfpuRJauU2VbDuAPgpgaCSvThfM8PRehi2bYmWkTQzUIkXhrPa1CGRSPGOAE5Vvxm0lSv9g4M/Br2adFqBTu1rxpC6fk7HW8Dmaa9irTM5146ft2UcJaWnMbaghW18POuhYuin7BZGOgw0bVQ=
Received: from BY3PR13MB4787.namprd13.prod.outlook.com (2603:10b6:a03:357::13) by DM5PR13MB1563.namprd13.prod.outlook.com (2603:10b6:3:126::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.6; Sat, 16 Apr 2022 00:26:41 +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; Sat, 16 Apr 2022 00:26:41 +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+cAAAowwAAAAxoxAAAXaagAAAGigAAAJG2gAABnV2AA==
Date: Sat, 16 Apr 2022 00:26:40 +0000
Message-ID: <BY3PR13MB4787468DAA96610B9933E1659AF19@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> <BY3PR13MB47876188B5927A51BD4F4E739AEE9@BY3PR13MB4787.namprd13.prod.outlook.com> <BCB99042-ECA3-40C6-8581-FA1656DDF987@tony.li>
In-Reply-To: <BCB99042-ECA3-40C6-8581-FA1656DDF987@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: ead6957e-5a80-4fdc-2b03-08da1f3fc71d
x-ms-traffictypediagnostic: DM5PR13MB1563:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <DM5PR13MB1563923B197E2D49111595C39AF19@DM5PR13MB1563.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: gI/tDNmY8AVD5CrAmTuM+IgZcqm1LvPfzXacUFh/w4KHxBgvrIJ3GIhtgF7UAW+P9yPaDarN5bqODLMLokrK0OY9RYV+KwW/OW1aQXVpLCh4uyOnEG0GJNZedn+phvlXFM5rGZr9tVMqvNvO7oXk2iyHikzMMxXOGUinhS3w+A2Cz37YKLvZi64kKWV+MLfP+Ez3mLukE1bUm6Re6jy4ac8CuBLWvQjTW4X4w5bnXOzjAL7LuxVPtC/yKQ2NrWQ4d2+5sgQtaodPz3T3g8U+Ob7oZenckkE6QzRiIg+zmTooor+VHcaG3Sr6ExLNleBp3GK81bINKPywnmasIIFFrvJW+AWiOhX1dsRqBv9/RLNHArrx9VPDYN7LXvkEX3qsBCOk/chmvyI3zCi2beq2WXj8Wqsnfl3S9WvAEJI8m3bK/i1hgsoWpGEsA5VVveKlBSgc0RWegTXCXknDIKUDjjZAaxfq0PvyhdXcsJoSlGpWBJuk1HHJj1mu1LjlkarGz7xHezvrI84iLTmCTiUINkT8UCxD8IVslFvdosKRdDFi97F+u7SL/XrRIM0feovCZub5cHlJjjY1EHqAh/5OSZ05PpDmsckHdiV6lr0CBH/mAcCRzah9JEcis4jBg2oonLP2J6fa4n3jy9wgA2Q1SXWukfAi/UEdmQIQ+3Qdbimh6j7gqDP7HzWUgO8HQcNz1qnFJ4bk+ToSrFsjiuoCCDJJRa2ZYnI+ZVmMMyAeuY07LQwfWRmKTEOiVmPFhdnIzj+FNx7wItnlrvg6oILxjw+WoLgB74sTbCfHtB07OSQ=
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)(2906002)(6506007)(53546011)(7696005)(8936002)(33656002)(44832011)(52536014)(5660300002)(966005)(66556008)(64756008)(86362001)(9686003)(186003)(8676002)(66476007)(76116006)(66946007)(4326008)(66446008)(508600001)(316002)(54906003)(71200400001)(6916009)(166002)(38100700002)(55016003)(122000001)(38070700005)(83380400001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 2
x-ms-exchange-antispam-messagedata-0: 1XVvHvAcX+p5Wy9yFBm/V4HW2pokHFOSkP1HOQjPdwMxjhqXmJCSuy1ME55Mn24Fu9CgPcxme4baRPLGuKvKQ8fnRS957PsyqD5Ou6j6tLyTICwHiLumVCC7xxuh1pYnkYnQF/61to0iR4BdDWxBkFOQMPUnhWu7AN34kBjT3EBRlnncJcbVgQXH2VTofgkEdIyYDPlyaKKZGJCTZH90Qg+SzHxq+MqZx03PBZjtaa0d0k+oriuCMURdioSiBfxSmoGhw6Hi+zcOHqmjeS0g6Xa3JJz0SFkkkBr4tNr1wp0VXWyJPcV4+17cGEeigM+HtIrm0KJPHcjSt7FD4BksbDEesNEcIzDlFIW1hQ+CivFhaRhueUvMvWAeRMqtBcr5kmYBv1hJLUjgc2fN0M5sqLWZ5NlXjSDPyEpoOmuDmXe2yYxtn5lZ5Pzuu7Fw2t/iLjcH3XMq0STj+vkUJ6BG6zJXD3db+ieMdWKSWbrxl24+VeG/meGGoIevmUK7eYxpi8AoxF30E3dnysJ1u8dnncdXAT5pRW9BDl2F/0FZzLcTohAcQcjc3bQhOWkEMEVxsdcrnCGINjHbxk6XU+UvRg7GdB4AZfCAFsaR7DcdVq9vuKdozXogqXRlcWzAi7NCdl1wm/zbc8z/1V4AWB63imkTt3EguJQbLqS95g6j3FhPeqHkyIIQvKDizqJ8gcThXnwX8LtKMaBgOdPu4kQszGizQmm/QmeovnQZ8b+Zgeutw/enFD1IovH8uGN+nCekLPCB9N15gfwsbbgFQIgA07AsPOKbnBCbdFCOLahpJjI1Odo4dxnkNq1Q47ps+bzPu/GxDCDxpSi1XzicTQgNXWhn5Gtbf/jGM1VvzcHk3f1KIZ0+F657MO2yEjzbgr+SFWauFye+t3Lj2eVJ8Ds/j4Hz0hCbWPk8nJI1FRAfSfJKYydx6p3Dw7S8j57Y1SgABY/lGDx4vcjEyoVuZLiDPe0F1R1PS7L/wNqD3eL2IeKjbttG8bU1BV29Lj9t1c01em9nTZg4Ef73DYlh+SBBptUuk+r0zADqg7UZjhv0QRncgGS6w52XXOuh2gZlxdP+r281viWlqPlrLyz1dKq08/qcSJIopd1CJMvqsHXtcaS+yii7niKD5JEgxsl5r1cu7enpG+l/8+WY4J6S3B8nyrFAl7+Z9Ep3pnAObk7z6QseJIz5l2aJYmmTmuDnTOA6GrglDLmCayCtbngeAKyFWO0T6kjSMKBxZseA14tAXy1aNL54JZZEied4HW3XYHrYOxjMCKd3uOlB3fMpsCIDj9NcIZ73mXYImgeqBvZieWgz2Qn+0/YOXgLhU+CK3R2Ie9f9x2Eoxw0Q6c4GzuzPO3QYFhhKgZY2FDx/VaW74RGSOyH0jQGSEOKzAOdvfj9+oWbFAcX4kwry8jhX5tbs6VqJNWKvTnhpNaQIgA+ltUniGJh8n0exw8U0+Wq2SZZf8vDu8udzAYnOEYj0o65FwQMG8ER75h49UPQYjM3WbD9AxVVmO/BV+jvHPiBF7KgbjEf8+GdieM6PdgcVB0IB9nep/6HsO6769DXHFVupOvA9bi8AaElOVsTIkWwKp3P+la5r85w9xTuMbhJbyAnwkVpf/gPiLdDPVSVkxnsnPXu8Ay009GEjYNKz89bEhyTeLvRCdEu1AslKEFE+Z2Cc5AEJ8hYeBwS+Ey82m15s9++ItCWFHrYloYrHQqOPsg01NyQXmNFmyG23Nebwat6Tc9wWYBdx1fX8b8uqlg5RgirnJSSE/UkP9TmWadrqC6FVM4q3TwkW
x-ms-exchange-antispam-messagedata-1: XzEXPgfQutTq/w==
Content-Type: multipart/alternative; boundary="_000_BY3PR13MB4787468DAA96610B9933E1659AF19BY3PR13MB4787namp_"
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: ead6957e-5a80-4fdc-2b03-08da1f3fc71d
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2022 00:26:41.0011 (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: V7MgvNJfWgJBTcQpZoHH67EGCA75/x6MkFeKXwWG59piVIQl3zxnEZBZvnRUvitkJBe00qSsZEZvnyGRc45Fcw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR13MB1563
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/1AFLJ5Lg8s2T6sK249CI2XV5WPY>
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: Sat, 16 Apr 2022 00:26:52 -0000

Hi Tony,  please see inline comments with [HS2]

Best regards,
Haoyu

From: Tony Li <tony1athome@gmail.com> On Behalf Of Tony Li
Sent: Friday, April 15, 2022 1:04 PM
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,



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<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftrac.ietf.org%2Ftrac%2Fmpls%2Fwiki%2F2022-01-27-agenda%23no1&data=05%7C01%7Chaoyu.song%40futurewei.com%7C0f1c419a6fba45b48e2908da1f1b1ff2%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637856498622812126%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=n9vdFVxMQS2gVOBgD9DMhSO5%2FKLAgSv2L%2FHINECufaw%3D&reserved=0>


You're assuming a TCAM and your only metric here seems to be the storage cost.  Many folks don't do parsing using a TCAM and the performance cost is in the reads, not in the storage.

[HS2] TCAM is actually the better choice to store states involving bitmaps. Otherwise, parsing bitmap requires extra calculations in addition to storage, making it even less favorable.

Moreover, in another draft https://www.potaroo.net/ietf/all-ids/draft-andersson-mpls-eh-label-stack-operations-03.txt<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.potaroo.net%2Fietf%2Fall-ids%2Fdraft-andersson-mpls-eh-label-stack-operations-03.txt&data=05%7C01%7Chaoyu.song%40futurewei.com%7C0f1c419a6fba45b48e2908da1f1b1ff2%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637856498622812126%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GKad3KmRVlaZmhNeDXCxKth5FfKlgYDkfK%2FqtYFI%2BIo%3D&reserved=0> we describe a way to avoid unnecessary scan of the label stack with the help from the control plane.


If you're going to involve the control plane, then it would seem like Robert's proposal (or what I understand of it), would imply that you push EVERYTHING into the control plane.  Why bother with data plane encodings at all?

[HS2] We propose to use explicit FEC to tell there's no EHs in the packet to avoid the label stack scanning in such cases. This doesn't nullify the need to carry extra metadata for some user packets to support some in-network functions.

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


If I understand your proposal, and we want >8 bits for both of these fields, then each would require 3 octets of overhead. Storing the EL/GIS value might take 2 or 3 octets.  Alignment would take you to 8.

If I look at the same thing with the FAI draft, I get:

FAI: 4 octets
NFFRR: included in the above, so 0 octets
Entropy: 4 octets (30 bits, plus overhead)
GISS: 4 octets (30 bits, plus overhead)

Total: 12 octets

[HS2] Header overhead is an important dimension for comparison.  To make it apple to apple, let's first clarify several points.

  1.  If an action doesn't need any extra data, there's no point to allocate an EH for it. A flag in EHI is sufficient (this applies to the NFFRR case).
  2.  You are using the bitmap encoding since you mention FAI. Bitmap is more compact than Type/Length for sure. Here the implication is that each ISD must be 4 octets long, otherwise it will need every node to understand the size of every data item, further complicating the design.
  3.  For extensibility, how many ISD data items is planned to be supported? If it exceeds the one label capacity, you will need to extend it. So the actual overhead of FAI could be 8 octets instead of 4.
Let's temporarily put all these details aside and assume the minimum sized FAI. Basically, EH has a fixed 4 byte overhead for HEH. For each use case that does need metadata, EH will add 4 more byte overhead. This is the header overhead comparison. (In your example, it's 24 bytes PSD vs. 12 bytes ISD)
Now let's look at the other dimensions.

  1.  We know some use cases requiring data too big to fit in stack, so PSD is needed anyway. PSD can be used for the use cases with smaller metadata size, although it's relatively inefficient as discussed above. So essentially we can have just one mechanism all everything but to support ISD we end up with two.
  2.  Bitmap, albeit succinct, is inflexible and less extensible. The semantics and order are fixed at the design time; the total size of each data item must be equal to a label size to make bitmap useful in finding the corresponding data item. Use cases identified in the future can only use unused bitmap bits, regardless of its importance. If a use case requires to extend its data size, it's out of luck; if some common use cases also apply to the other types of networks (especially for those still under investigation), the use cases can be seriously limited by such size constraint which hampers design sharing and interoperability.
  3.  Parsing based on bitmap significantly bloats either the parser size or the parsing latency or both (as shown in my analysis). People can write pseudocode by themselves to verify. This is bad for both software and hardware data plane implementation. No wonder bitmap is never used for header encoding before (it's sometimes used in a header for its sub-structure, which is related to the header processing but not the header parsing).
  4.  The encoding of each ISD item itself is awkward. You have 30 bits and only 30 bits at your disposal with a BoS bit in between. It creates a hole in data, which is bad for both software and hardware.

(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 ).


It's true that we have a standard for it. It's fairly common, so then the interesting question is what happens when it is present in the label stack along with MNA?  If we do not incorporate EL into MNA, then an implementation has to deal with both MNA and EL independently.  What order are they in? How do they interact? If we use the standard ELI/EL encoding, that's 8 octets just for entropy.  OTOH, if we incorporate EL into MNA, then when using both, we can collapse the encoding.  For example, in the example above, entropy is 4 octets, resulting in a savings of 4 octets.  Half price! And that's assuming that you don't use the smaller entropy/GISS encodings which would give an even greater savings.

[HS2] I think the new design won't nullify the EL/ELI standard so they need to coexist in an incremental deployment scenario given EL/ELI might have been realized (It's possible to provide yet another entropy solution using the new mechanism but the necessity is subject to further discussion IMO). But they don't need to interact with each other because each has its clear function and operational procedure.

Tony