[mpls] Re: [EXTERNAL] Re: Fwd: Fwd: Re: Discussion points for upcoming MPLS WG interim

Tianran Zhou <zhoutianran@huawei.com> Fri, 21 February 2025 05:45 UTC

Return-Path: <zhoutianran@huawei.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 2D441C169437 for <mpls@ietfa.amsl.com>; Thu, 20 Feb 2025 21:45:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.335
X-Spam-Level:
X-Spam-Status: No, score=-1.335 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, INVALID_MSGID=0.568, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pyRtjsCx7zWK for <mpls@ietfa.amsl.com>; Thu, 20 Feb 2025 21:45:12 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0758DC16942C for <mpls@ietf.org>; Thu, 20 Feb 2025 21:45:12 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4YzfBs3BFlz67Fyx for <mpls@ietf.org>; Fri, 21 Feb 2025 13:41:41 +0800 (CST)
Received: from lhrpeml500003.china.huawei.com (unknown [7.191.162.67]) by mail.maildlp.com (Postfix) with ESMTPS id 450811400D9 for <mpls@ietf.org>; Fri, 21 Feb 2025 13:45:09 +0800 (CST)
Received: from kwepemf500007.china.huawei.com (7.202.181.245) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 21 Feb 2025 05:45:08 +0000
Received: from kwepemf100007.china.huawei.com (7.202.181.221) by kwepemf500007.china.huawei.com (7.202.181.245) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 21 Feb 2025 13:45:06 +0800
Received: from kwepemf100007.china.huawei.com ([7.202.181.221]) by kwepemf100007.china.huawei.com ([7.202.181.221]) with mapi id 15.02.1544.011; Fri, 21 Feb 2025 13:45:06 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Joel Halpern <jmh@joelhalpern.com>
Thread-Topic: [mpls] Re: [EXTERNAL] Re: Fwd: Fwd: Re: Discussion points for upcoming MPLS WG interim
Thread-Index: AQHbg7Th929yd3akg0WD9b8cvHZkJrNP35AAgAAseoCAAC0CgIAAAymAgAAPT4CAAGvZgIAAiL5R
Date: Fri, 21 Feb 2025 05:45:06 +0000
Message-ID: 1E6F7871-C181-4AD2-90A4-0F86E9BC1611
References: <CANZnSTqzxirZ+n=a_h=xLVmNxeQ3yjD+EspgDYXghAQCA2MKyQ@mail.gmail.com> <e77c19a7-5452-4a36-8f04-5c0a8483a153@pi.nu> <ead0174f398d4d0cbf3c49adad108fb3@huawei.com> <f78ee268-e087-443d-baad-5d0af3bfb180@joelhalpern.com> <001e01db8201$26455de0$72d019a0$@olddog.co.uk> <Z7TIIPJVymEofH3I@faui48e.informatik.uni-erlangen.de> <29f40a57b5874ff2b412b809d812ff2a@huawei.com> <3edcd119-ee6c-42da-8e9d-a16fd6623a3f@joelhalpern.com> <PH0PR03MB63002387D817F87AB6026092F6C42@PH0PR03MB6300.namprd03.prod.outlook.com> <88B698EB-C934-40BD-BBCA-1D7CBF8EEA0D@tony.li> <BY3PR13MB478723093FC29C810028EABC9AC42@BY3PR13MB4787.namprd13.prod.outlook.com> <FA3D1E84-F25B-4453-B019-E5C875E885E1@tony.li> <BY3PR13MB4787E726775A146FEFB0F8479AC42@BY3PR13MB4787.namprd13.prod.outlook.com> <AF57BD2C-2B40-43E2-B110-7BF47E093AFF@tony.li>,<242d0657-b0ff-4d73-be79-43fc0018fb75@joelhalpern.com>
In-Reply-To: <242d0657-b0ff-4d73-be79-43fc0018fb75@joelhalpern.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_1E6F7871C1814AD290A40F86E9BC1611_"
MIME-Version: 1.0
Message-ID-Hash: E64B65MFN3BXPQFLEXLYYCPL4LD7HBJZ
X-Message-ID-Hash: E64B65MFN3BXPQFLEXLYYCPL4LD7HBJZ
X-MailFrom: zhoutianran@huawei.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-mpls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: mpls <mpls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [mpls] Re: [EXTERNAL] Re: Fwd: Fwd: Re: Discussion points for upcoming MPLS WG interim
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/U_SyMb4YwP2bMZetE8b3qCXHajU>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Owner: <mailto:mpls-owner@ietf.org>
List-Post: <mailto:mpls@ietf.org>
List-Subscribe: <mailto:mpls-join@ietf.org>
List-Unsubscribe: <mailto:mpls-leave@ietf.org>

So I think Haoyu’s argument is correct. How the hardware forms is tradeoff.
And so you agree both ISD and PSD are useful.

Tianran




________________________________

Sent from WeLink
发件人: Joel Halpern<jmh@joelhalpern.com<mailto:jmh@joelhalpern.com>>
收件人: Tianran Zhou<zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
抄送: mpls<mpls@ietf.org<mailto:mpls@ietf.org>>
主题: Re: [mpls] Re: [EXTERNAL] Re: Fwd: Fwd: Re: Discussion points for upcoming MPLS WG interim
时间: 2025-02-21 07:35:59


That depends upon your definition of "good".  It is quite reasonable to have capable hardware that still has readable label depth limits for efficient processing.  That may well still mean that PSD is the right answer for some problems.  And ISD seems to work well for some problems.  So be it.

Yours,

Joel

On 2/20/2025 11:57 PM, Tianran Zhou wrote:
I am confused. If we have a good hardware, why not to use a united and flexible PSD solution?
ISD+PSD looks like bizarre.

Tianran




________________________________

Sent from WeLink
发件人: Tony Li<tony.li@tony.li<mailto:tony.li@tony.li>>
收件人: Haoyu Song<haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
抄送: Alexander Vainshtein<Alexander.Vainshtein=40rbbn.com@dmarc.ietf.org<mailto:Alexander.Vainshtein=40rbbn.com@dmarc.ietf.org>>;mpls<mpls@ietf.org<mailto:mpls@ietf.org>>
主题: [mpls] Re: [EXTERNAL] Re: Fwd: Fwd: Re: Discussion points for upcoming MPLS WG interim
时间: 2025-02-21 01:11:44


Hi Haoyu,

You are most welcome to your own definition of ‘good’ hardware.

History has shown that the cost of microcoded hardware is far less than an order of magnitude, and that the architectural flexibility far exceeds any performance issue.

T


On Feb 20, 2025, at 2:14 PM, Haoyu Song - haoyu.song at futurewei.com <mailforwards@cloudmails.net><mailto:mailforwards@cloudmails.net> wrote:

Hi Tony,

The ASIC-based hardware is not “bad” hardware. It can offer an order of magnitude higher throughput than the NPU-based hardware at the cost of less flexibility. That’s why it’s gaining traction in the past few years. It’s all about the tradeoff and depends on the network requirements.

Best regards,
Haoyu

From: Tony Li <tony1athome@gmail.com<mailto:tony1athome@gmail.com>> On Behalf Of Tony Li
Sent: Thursday, February 20, 2025 2:04 PM
To: Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
Cc: Alexander Vainshtein <Alexander.Vainshtein=40rbbn.com@dmarc.ietf.org<mailto:Alexander.Vainshtein=40rbbn.com@dmarc.ietf.org>>; mpls <mpls@ietf.org<mailto:mpls@ietf.org>>
Subject: Re: [mpls] [EXTERNAL] Re: Fwd: Fwd: Re: Discussion points for upcoming MPLS WG interim

Hi Haoyu,


As you said, the microcode-based hardware has its limitation. Even if it supports the MNA function, it may not support the required forwarding performance.


That’s true, it may or may not.  Every box has some limitations.  An MNA action that requires you to compute Ackerman’s function of the input packet might take a really long time and you might not get wire rate performance as a result.

Supporting arbitrarily complex functionality in the data plane is always going to come at some cost.



There’s a reason why IP options and extension headers are often ignored, dropped, or punted to the slow path.


That reason is that no one cared.  Microcode requires careful development and investment. If no one cares to make that investment, it doesn’t happen.  That does not imply that it can’t happen, just that the market hasn’t provided a demand that motivates the supply.

Example: I once worked on a system that did not initially support IP fragmentation in microcode.  Almost no one cared. Then came along a media with a different default MTU (FDDI), and fragmentation became an important topic. A customer came along with a Really Big Check. We ended up adding microcode support for fragmentation.



Also, I see more and more service routers start to use ASIC as the forwarding chip for higher throughput performance. In this case a hardware re-spin may be needed to support MNA.


We have been building ASIC based forwarding since the mid 1990’s.  I have personal history with the Cisco GSR, Juniper M40, Procket 8812, and an Ericsson platform.  All of them were microcoded and Turing equivalent, generally employing a number of ALU’s on die.  None of them would have required an ASIC spin to support MNA.

The whole point here is clear: good hardware is very flexible. If there is a bug in ISD or PSD, then it is a microcode change, not a spin.

Yes, if you have bad hardware, you would need to spin.  The IETF does not make standards based on supporting the worst possible hardware.

Tony




_______________________________________________
mpls mailing list -- mpls@ietf.org<mailto:mpls@ietf.org>
To unsubscribe send an email to mpls-leave@ietf.org<mailto:mpls-leave@ietf.org>