Re: [mpls] Concerns about ISD

Haoyu Song <haoyu.song@futurewei.com> Wed, 20 April 2022 18:07 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 510CC3A08B0 for <mpls@ietfa.amsl.com>; Wed, 20 Apr 2022 11:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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_BLOCKED=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 NQCuJl0vOoXB for <mpls@ietfa.amsl.com>; Wed, 20 Apr 2022 11:07:09 -0700 (PDT)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on20723.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e89::723]) (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 405E53A08BE for <mpls@ietf.org>; Wed, 20 Apr 2022 11:07:09 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QOV7CcMp7OqJR5tdqNcNk1FmFqo4y2cvoAZNefO2SIWTPT4re8trsAqrDWOzfWOwXpkUgYx5/Ge8LwBtm9MCrL2QJRHmExFUussRRohE90jDt9vCIsaH4Uh0f93RP4TC6TjzSqt0O1y+xvrucYw+S5hvdajQXOaMZuOTGq09fXKB/KfzBYJnAYxDr5jDKfNyOUg2kwWptJRbju7CkaYm/tozeC8afy+bRg5wYQtB4gGRM5lN3pvYAZPEDLfTJ9uSJmnx3Uk9IlWrxvta5s5VJHH71YkYeUj+pOi+Ji85HyewQgYeRgi0uMDPAebai3y2OYYarDjahuKWClBHy3nWQQ==
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=3ehlsrHgilyp04p4sm50ivJWxTyJmKuZCTDGzdu/2JE=; b=QkQ+7GPlmoYTzKkPhgaMl9QAe+ppAayj9qmtnkhRIrtUeFHr7lxiC4xxwy295mAqi9xZ1T8hLTECTpQbC15a6g66k1mo/AVnYtoOzpN0nTCmeuv4gX8VioJ1EMScJLkddCmbnZK1S8jvyyjGjSwnznt4DcPAZvanhZLmGXdFR83NmannBIPb7y6GxVyUzt8H90875ZG3EpkxTafVGLbi7h599J+DyeNmVmy2OzoN+aPwHpxLhAv+1tQae13LxGG4GSrGJTXg/4Jin/jJpvxuleOLvdhOgfvuNDkxw4l52Kgvh2GVCfecAa7zqaiugqZRwb+DtnOoX8gT79KYsQON9Q==
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=3ehlsrHgilyp04p4sm50ivJWxTyJmKuZCTDGzdu/2JE=; b=OBzg/KNEm766rpuc6aW0TnWM17hIZHgvWkXvzM2v8r0zlFKiySY1qfp5yq5IaoEBiyP+zqeEBlNRiYGwg/3FdGmkyyQX70dJe6zxNmopuMNyyzFpxPCqfejbZlG3+/ymFaEK4ovsycUr3br0dBrjCWZQpHKh7wuW2azduw8xiWA=
Received: from PH0PR13MB4795.namprd13.prod.outlook.com (2603:10b6:510:92::15) by DM6PR13MB4526.namprd13.prod.outlook.com (2603:10b6:5:1b9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.6; Wed, 20 Apr 2022 18:07:04 +0000
Received: from PH0PR13MB4795.namprd13.prod.outlook.com ([fe80::ec9d:c410:4b7c:d88f]) by PH0PR13MB4795.namprd13.prod.outlook.com ([fe80::ec9d:c410:4b7c:d88f%6]) with mapi id 15.20.5186.014; Wed, 20 Apr 2022 18:07:04 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: Robert Raszuk <rraszuk@gmail.com>, "Dongjie (Jimmy)" <jie.dong@huawei.com>
CC: Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>, "mpls@ietf.org" <mpls@ietf.org>, John E Drake <jdrake=40juniper.net@dmarc.ietf.org>
Thread-Topic: [mpls] Concerns about ISD
Thread-Index: AdhKc4fdvDv9lzMNTfy5c++8iNI9iwAFlCaAACI+zQAAElacgACACe8AAAMwSQAAA2mogAAQuiYAABYeS4AACDOSgAABJpkAAAwjTIAAGwXoAAAX3NOgAE5MNAAAFZNHwAAI4aFAAAJwyYAAADi+cAAAowwAAAAxoxAAAXaagAAAGigAAAJG2gAABnV2AAAEn7kAAIOJKRAAAxCVAAACz7wgAAE1MYAADP6rIAAJeviAAAZmPIAACrzRAAAAiiKAAAPsV4AAB1yzgAAARLEAAAAxB4AAGHoWAAAAZviAAAPdvIAAAunNAAAMjL5w
Date: Wed, 20 Apr 2022 18:07:04 +0000
Message-ID: <PH0PR13MB479561489D025147271E18C29AF59@PH0PR13MB4795.namprd13.prod.outlook.com>
References: <1B54CB37-7C2F-438B-AB9C-03C1B3A644A1@tony.li> <CA+b+ERk8NJrj0eV63-ppEEj3KVYEuptJdXg6e2WEoRCj4ROdbQ@mail.gmail.com> <0de2adb00c17405cbaccf065cf3bc1e2@huawei.com> <CA+b+ERnxEBkxCtuBe_kQ80uboCpzeOsTXhW9TnkYTFsSuOD2RA@mail.gmail.com> <193cc34dd5ec43de858c4cbfd8134cd1@huawei.com> <CA+b+ERng-E9ZAy1jUaELu1m9+Y=s+rjLjFMDi7QRw8y3eN44Lg@mail.gmail.com>
In-Reply-To: <CA+b+ERng-E9ZAy1jUaELu1m9+Y=s+rjLjFMDi7QRw8y3eN44Lg@mail.gmail.com>
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: 0f9cf77b-910a-427b-c2c8-08da22f89328
x-ms-traffictypediagnostic: DM6PR13MB4526:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <DM6PR13MB4526859D60C475BC035A9FA79AF59@DM6PR13MB4526.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: nWCQonTntBZlm3wNQZO8iKRBO3rVMGMN9n7RdtJAM5smDrrA8w/s1bNrbH93XPtiidGpgSWAw0NUp7McQk4FtN57mpSttwqEFWlVZ6KfUjf1ce6HrdLDyPDFrCUIswIyjaazmHXlnCITNKminLQB+xFmqWi/zAAvdhx2ZhxOdOq7oXxV3xUjE7YlmvlF1NOyVPX7Ux5w5AxMCQIvbluKBIIWIHCkULQb5/feKhTlITJUBRWMfc4DHfHlhxJz5XHv1gcIQw7d1L3yCiL9yW6wyXYCNYJjM+2+HQiAk2+XuMtKI6I3txc6zyU5DvKhdnO7F/BfQC23/dHztI1PVY3v9fEJN3mw6Tm5UrfWp9Fu362P3vK/MDiIFP4bGDAOREr9CqoAkvmUXlmy6DfAuz4nbVOhOQz/OADbYdXD4CVt8s+r6mx5OrRnHeShvLOccoGLM3ogMiBNRXRcW+k5GX/kIBtbC9+ktDsB1v4238yziwosBlwhfHsHip7T/QMxXPwKUhyzaO9C+ZFrP7UGeu5rCXo8vLT+4XvahTYoJqKTwKRXePpWcNQs/5DhG4RBZXTCa9GFWq3kRRZWmpZ67NElDa6vVuj0eNX9CpAh1blsG05WQDORPLI3ZnoV6L0hBah+j1QPqZIH3pYfbCUZRG/HafxWzj3kXmNl+RXImqhqzSUhDqfCMV1eKibAG3wKnX95iyI3c2mBXhXb3eoWXalsQlWG9CyrWbV3tKxk8HdT/JNvcRW4vWy4dStoFsK6CzUbu2EHDXF442ydf7TzgPufnqc714P1xGJyltQ1Qia96Bs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR13MB4795.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(9686003)(122000001)(55016003)(166002)(66946007)(66476007)(54906003)(110136005)(4326008)(66556008)(8676002)(316002)(186003)(64756008)(76116006)(66446008)(86362001)(7696005)(6506007)(52536014)(38070700005)(966005)(26005)(71200400001)(38100700002)(8936002)(83380400001)(9326002)(508600001)(5660300002)(53546011)(2906002)(44832011)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: BFgfMXzy3STcR3YcTaA7nAH80ES2IbQ7tc/wawQGb0kEuoy3aNHP+VBKl5uYqCvebuNA83rHM4FvpGXrRdhWdf1VTDD1S+XOZgELIfQU/pGZ/U2m1NBuQpycJz2MiUgLzPFIV3fDYBVlG4ufd80Ekc4+78g0DHgKwK4dSDrAfl6RKBq9vZSAYH8iFD985Hp8wHt1/gz901PyanxVE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kCoFpED7odIwYqhyxGEo/4W1xh0uQ6MMW3dhMRIvK9dWME+62VJf8+lhJ20W4EEqHqY7WFEmmfKoTjWTkjFiY8TSm4Z9hE8LVjFWUU6bRmQwss9EE7n4zY1JTn6lvtvJj1xwS/7MtLAC6eQugv+0CTnIZihY6rDFggtgz/gKPEtTZXVC9Hapwhx3/RhxiHTyqDaBMuFMJRHxCe/AO1qJ1FiNOlC0H1vVnZKtqJzPeU0LVW8hGTQ2YznpjxNXncOBl5Y8DhHMuk1YSrF+NpfgfLNZbjgRjdFzdE13YS1vsP5XyI/3pre5BNcJxGk49gAIKJFWcfoGpiERRSoTcerEbxwmFHN5s49Ol0ywySPx/W8x0RFrfkjsfYtxVnjm1ufV1wBRUA2Y26llBkpjBWbPHB8hhqQgLhNZHimDJRMmXs8B2Pl2+q6yrl7FXpefogc1vKiKVeNV0oF5TGg==
Content-Type: multipart/alternative; boundary="_000_PH0PR13MB479561489D025147271E18C29AF59PH0PR13MB4795namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4795.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0f9cf77b-910a-427b-c2c8-08da22f89328
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2022 18:07:04.2346 (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: gY2HuQddas0mtErsjAMjkN0c1YtdFyzjQ7iwxtpr3E43/mM5vt+umFqlyzqatCnMiOYEEEPsi71YAuKJZ/M1pw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB4526
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/jsZYLHs6f7iyJ3ZE774gIegxXt0>
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: Wed, 20 Apr 2022 18:07:15 -0000

Hi Robert,

FEC labels can be used to indicate the existence of AD. In https://datatracker.ietf.org/doc/draft-andersson-mpls-eh-label-stack-operations/03/ we describe such a method to avoid unnecessary label stack scans in some cases.  However, this does need involving control plane and it reduces the label number space as well.

On the other hand, if we assume the indicator and AD are both at BoS, the time to reach it is linear to the number of labels in the stack. Parsing a normal label just needs a few clock cycles, so we need to know a reasonable max label depth expected. If it is around a dozen, only a few tens of cycles are needed. The cost is still acceptable.

Best regards,
Haoyu

From: mpls <mpls-bounces@ietf.org> On Behalf Of Robert Raszuk
Sent: Wednesday, April 20, 2022 4:23 AM
To: Dongjie (Jimmy) <jie.dong@huawei.com>
Cc: Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org>; mpls@ietf.org; John E Drake <jdrake=40juniper.net@dmarc.ietf.org>
Subject: Re: [mpls] Concerns about ISD


That is correct.

That is why I have suggested to contain the information in the top label in respect to requirement for further processing of the stack or not.

While it is true that forwarding hardware can read say 200-300 bytes of packer header it does not mean that it does something with every single octet of it as part of forwarding decision.

Thx,
R.

On Wed, 20 Apr 2022 at 11:59, Dongjie (Jimmy) <jie.dong@huawei.com<mailto:jie.dong@huawei.com>> wrote:
Hi Robert,

Agreed, and this applies not only the ELI, but any label which are not the at the top of stack. As specified in section 3.9 of RFC 3031, the classic MPLS forwarding operation is based on the top label only:

   Although, as we shall see, MPLS supports a hierarchy, the processing
   of a labeled packet is completely independent of the level of
   hierarchy.  The processing is always based on the top label, without
   regard for the possibility that some number of other labels may have
   been "above it" in the past, or that some number of other labels may
   be below it at present.

We need to assume this is the default behavior of the legacy LSRs.

Best regards,
Jie

From: mpls [mailto:mpls-bounces@ietf.org<mailto:mpls-bounces@ietf.org>] On Behalf Of Robert Raszuk
Sent: Wednesday, April 20, 2022 4:09 PM
To: Dongjie (Jimmy) <jie.dong@huawei.com<mailto:jie.dong@huawei.com>>
Cc: Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org<mailto:40huawei.com@dmarc.ietf.org>>; mpls@ietf.org<mailto:mpls@ietf.org>; John E Drake <jdrake=40juniper.net@dmarc.ietf.org<mailto:40juniper.net@dmarc.ietf.org>>
Subject: Re: [mpls] Concerns about ISD

Jie,

I think we have the same understanding. Not every LSR parses the entire label stack in search for ELI. And for hashing what I recall most implementations just take multiple LSEs not specific EL. EL just happens to be part of it making it more random.

My understanding is that ELI marker is primarily used for handling (apply special operations like insertion or removal) of EL tuple.

Thx,
Robert.



On Wed, 20 Apr 2022 at 09:57, Dongjie (Jimmy) <jie.dong@huawei.com<mailto:jie.dong@huawei.com>> wrote:
Hi Robert,

This is also the point I raised on the DT meetings.  Neither RFC 3031 nor RFC 6790 mandate the lookup of a bSPL down in the label stack.

RFC 6790 mentions an optional mechanisms based on the lookup of ELI in the label stack so that only EL is used for load balancing. And RFC 8662 (Entropy label for SR) says:

“Then, this entropy label can be used as part of the hash keys used by an LSR.  Using the entropy label as part of the hash keys reduces the need for deep packet inspection in the LSR while keeping a good level of entropy in the load-balancing.  When the entropy label is used, the keys used in the hashing functions are still a local configuration matter, and an LSR may use solely the entropy label or a combination of multiple fields from the incoming packet.”

As long as entropy label is part of the hash key, the expected load balancing result could be achieved.

Best regards,
Jie

From: mpls [mailto:mpls-bounces@ietf.org<mailto:mpls-bounces@ietf.org>] On Behalf Of Robert Raszuk
Sent: Wednesday, April 20, 2022 4:17 AM
To: Tony Li <tony.li@tony.li<mailto:tony.li@tony.li>>
Cc: Tianran Zhou <zhoutianran=40huawei.com@dmarc.ietf.org<mailto:40huawei.com@dmarc.ietf.org>>; John E Drake <jdrake=40juniper.net@dmarc.ietf.org<mailto:40juniper.net@dmarc.ietf.org>>; mpls@ietf.org<mailto:mpls@ietf.org>
Subject: Re: [mpls] Concerns about ISD


> That died a long time ago, when the Entropy Label came out.

I don't see it that way. And perhaps that was also Haoyu's point.

There is a significant functional and performance difference from using N labels for hashing vs checking (doing lookup) if you recognize value of specific labels embedded down deep in the label stack.

Thx,
R.


On Tue, 19 Apr 2022 at 22:11, Tony Li <tony.li@tony.li<mailto:tony.li@tony.li>> wrote:

Hi Robert,

If those 9 are not MNA capable, then they would see a label (bSPL) that they don’t recognize and should drop the packet.

The whole idea is to avoid having them to even look beyond their own transport label.


That died a long time ago, when the Entropy Label came out.

Tony