[mpls] Re: Example of MPLS RLD with IOAM Trace in PSD
Greg Mirsky <gregimirsky@gmail.com> Thu, 27 June 2024 18:50 UTC
Return-Path: <gregimirsky@gmail.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 7E46BC14F603 for <mpls@ietfa.amsl.com>; Thu, 27 Jun 2024 11:50:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 bIDGZbVQb2J8 for <mpls@ietfa.amsl.com>; Thu, 27 Jun 2024 11:50:27 -0700 (PDT)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F529C14F600 for <mpls@ietf.org>; Thu, 27 Jun 2024 11:50:27 -0700 (PDT)
Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-e0355928eb3so11227276.2 for <mpls@ietf.org>; Thu, 27 Jun 2024 11:50:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719514226; x=1720119026; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Dvpej9jDjHqXRSgiiAy4g0UaiHrCDdUzxcy5HeIQ660=; b=CxfUzuJwP4oclMLeM2zWsMRDSCt6zCNZsxmtOVrNxElcPosDgUQsNq9grXPb4i9mFA Wm+jKne01z0IZYiJyw8+hS53lmn/HOCg9f0lp4i3irpDAnTvvJ15kv5oBsZucBGzUW6E xGXa6cOAcmxJ56xk/dqmniPQ/ZXZArVZLQ/TSYTCmF7idj33+3+BQkqgaWyfBNuj52Q4 DkMN2pnaRNtjdMS+H63RiL63tseLdNW9M8fAHlhTZlGjqzEjW4+2johfTbh3xRjI1Y+F YNY3dtgAkdGvv/v+mrZVmfOx4hyQ42kf/msJtCx5vrzm4E7+V4QgPaHGxL0Ol9J8aGTt N6IQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719514226; x=1720119026; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Dvpej9jDjHqXRSgiiAy4g0UaiHrCDdUzxcy5HeIQ660=; b=cJyVxqlRoXovJimX47ReETjdA0CEENPkhG87+a4RD/iiJis7yImlzZOXnTMjm07Ybk gZvca1xvAGI3pk/1T0h13HN+EcM2nEIjWkHJJK2PXpWsw+231BO0aw+AYO2tOQWE96So Rj8hbLmYbosfhu7KYwO2+x9pLmWXTfOvfRuc9KOhq/MQKZOihVdZDdKR6t9a7TVBKlj7 tdVQRbV5xTk5AoSLkbrw39XT6wsF9XEE9shaQY53OQ6zuqXSJwawrAGnFDQrDFgqIz2A ghC87QNwgneO9Y0+RSEZapqYyarbNPiWLV9H6JBJmp352o6IEG/F4F6jMHOptkOvLnP7 doVA==
X-Forwarded-Encrypted: i=1; AJvYcCXZtNmeH8VarTmH4gFOnSMRWnWkteQ6eCKzebayWKTg6Dj+rAiEsi1/pLp2KTKdLPFi42tHXGNb1c1ViZbf
X-Gm-Message-State: AOJu0Yw341mz+Zuf/MzlaETgnc7F1IQyc5ATA72e3Ezcn/3D2tGeYqxp Gjvq25Wyjm8pGvfOZyPZkm61BeMK04ngw5r6IMlqMKgCxXSoVi8Oe0oy48dLqvihtLZbxDEMHYD /G75kAxOZCfwZD4Td/5VzisIazdNd7f/y
X-Google-Smtp-Source: AGHT+IGTK3e8nwk0ghUMCoc3HgpNHa2vM7DzalLTcMNZ5lfBjLCcRH2uoNXNQeRLtt4wtxrzVsPe/m3F9BsiwDqKFn4=
X-Received: by 2002:a25:6b41:0:b0:e02:c4aa:bfca with SMTP id 3f1490d57ef6-e02fc264a3fmr16309229276.6.1719514226180; Thu, 27 Jun 2024 11:50:26 -0700 (PDT)
MIME-Version: 1.0
References: <CAMZsk6cT-AZ8Dswd37Owu+Bhte=jR-3BmaA6JA7ftQmLgUQ5RQ@mail.gmail.com> <554BBF53-649A-4DB3-876A-8BC772813646@tony.li> <CAMZsk6esOb38twqWNAtLhtOoRSufqadhiYtGBLUFPC-dd-zrvg@mail.gmail.com> <E80AE688-87C3-423F-97E0-0832EB96275F@tony.li> <BY3PR13MB47871DDF8C9E53AA5F782AC59AD72@BY3PR13MB4787.namprd13.prod.outlook.com>
In-Reply-To: <BY3PR13MB47871DDF8C9E53AA5F782AC59AD72@BY3PR13MB4787.namprd13.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 27 Jun 2024 11:50:16 -0700
Message-ID: <CA+RyBmV-NgXhQrnL52rsiXZHhJfk2tazzFRNdt5_owxPoms5kQ@mail.gmail.com>
To: Haoyu Song <haoyu.song@futurewei.com>
Content-Type: multipart/alternative; boundary="000000000000a3488c061be39a26"
Message-ID-Hash: 7MDLJQVIVJ7667VWAPKIDITENLUWL2QZ
X-Message-ID-Hash: 7MDLJQVIVJ7667VWAPKIDITENLUWL2QZ
X-MailFrom: gregimirsky@gmail.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.9rc4
Precedence: list
Subject: [mpls] Re: Example of MPLS RLD with IOAM Trace in PSD
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/ccUSQX_if7lMhz5KiZnK7-1RDWA>
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>
I think that what Tony points out is that the case when ISD with the indication of PSD AD is within RLD boundary while that PSD AD is not (whether all or only partially). Such situation is even more likely with IOAM Preallocated Trace Option-Type. As a result, packets equipped with PSD-based IOAM may cause forwarding delays and, possibly, re-ordering. Hence a question How PSD solution mitigates that scenario? I've read draft-jags-mpls-ps-mna-hdr but couldn't find any recommendation to that matter. Regards, Greg On Thu, Jun 27, 2024 at 11:15 AM Haoyu Song <haoyu.song@futurewei.com> wrote: > When an MNA action is applied on a data path, whether it’s ISD or PSD, the > operator needs to ensure the network will not run into the RLD issue > through control plane mechanisms. That is, all the nodes that participate > in the MNA processing will have RLD large enough to cover the ISD/PSD, and > some nodes that won’t participate in the MNA processing, if there’s any, > can safely forward the packet. In case all nodes must support an action to > work, there’ll be a Yes or No decision on applying the action. With such > provision, there’ll be no performance issue since no slow path processing > is allowed and possible. > > > > The bottom line is: we can’t guarantee that every node on an existing > network can support a PSD action (this applies to ISD action as well). One > can argue the likelihood, but still there’s no guarantee, so the control > plane discovery and negotiation are needed to ensure the performance. > > > > Best, > > Haoyu > > > > *From:* Tony Li <tony1athome@gmail.com> *On Behalf Of *Tony Li > *Sent:* Thursday, June 27, 2024 10:37 AM > *To:* Rakesh Gandhi <rgandhi.ietf@gmail.com> > *Cc:* mpls <mpls@ietf.org> > *Subject:* [mpls] Re: Example of MPLS RLD with IOAM Trace in PSD > > > > > > [WG chair hat: off] > > > > Hi Rakesh, > > > > We know that MNA can contain actions that affect the forwarding of the > packet. If a node finds a packet that has MNA actions (ISD or PSD) that are > not wholly inside of RLD, then full forwarding information would not be > available to the fast path. I see no alternative but to punt the packet to > the slow path. This will result in a performance issue. As long as the > packet is on the slow path already, you might as well perform the > associated functions. Note that this is not IOAM specific. > > > > For a given IOAM request and a given set of RLDs on the path, things will > either have this performance issue or they will not. This seems binary. And > it seems like one can always construct examples that will have the problem > (just make the IOAM request larger). And there are also cases where things > will work just fine (just make RLD larger). > > > > So I’m still missing your point here. There are cases that work, there are > cases that don’t. Are you trying to say something more? > > > > We can’t change the RLD in a brownfield network, so the best that we can > do in our designs is to try to ensure that MNA information fits within the > existing RLDs. > > > > Regards, > > Tony > > > > > > > > On Jun 27, 2024, at 9:16 AM, Rakesh Gandhi <rgandhi.ietf@gmail.com> wrote: > > > > Hi Tony, > > > > In your example, that midpoint would not have updated the IOAM data > (timestamp in this case) due to the RLD reachability. This just means, IOAM > data is missing from the node that it is not capable of. > > > > P.S. RLD would be much higher than 64-byte in reality, but ok for the sake > of discussion. > > P.S. Nodes (or operators) enabling the IOAM encapsulation would have some > knowledge of RLDs and could enable IOAM accordingly. > > > > thanks, > > Rakesh > > > > > > > > On Thu, Jun 27, 2024 at 11:54 AM Tony Li <tony.li@tony.li> wrote: > > [WG chair hat: off] > > > > Hi Rakesh, > > > > I’m missing some point that I think you’re trying to make. > > > > Suppose that a node in this network only has an RLD of 64 octets (i.e., 16 > LSE equivalents). Won’t there be a perfomance issue? > > > > It seems to me that the further down we push data, the more likely we are > to run into issues. > > > > T > > > > > > On Jun 27, 2024, at 8:35 AM, Rakesh Gandhi <rgandhi.ietf@gmail.com> wrote: > > > > Hi WG, > > > > There were some comments regarding how MPLS Readable Label Depth (RLD) can > affect pre-allocated IOAM trace data carried in MNA PSD. > > > > Using an example: > > For 10 hops with 10 LSEs (sub-total 40 bytes) > > + 2 LSEs for MNA in MPLS header (sub-total 48 bytes) > > + 2 words for PSD Headers (sub-total 56 bytes) > > + 10 words of pre-allocated IOAM space for recording 4-byte timestamp > fraction (sub-total 96 bytes) > > + adding 4-byte IOAM Namespace (sub-total 100 bytes or 25 words) > > > > This means the *first midpoint* will *need 100-byte (or 25-word) RLD* to > record 32-bit timestamp fraction in MNA IOAM PSD for 10-hop SR path, right? > > > > If a midpoint node supports *RLD of 128-byte*, MPLS can support per-hop > delay measurement use-case for 10-hop SR-path using IOAM trace option > (pre-allocated). > > > > Are we missing anything? > > > > Thanks, > > Rakesh > > > > P.S. > > > > Following MNA use-case draft lists IOAM Pre-allocated trace option > use-case. > > - > https://www.ietf.org/archive/id/draft-ietf-mpls-mna-usecases-10.html#name-in-situ-oam > > > > Following MNA draft defines a PSD solution for this use-case. > > - > https://datatracker.ietf.org/doc/html/draft-gandhi-mpls-mna-ioam-dex-01 > > > > > > _______________________________________________ > mpls mailing list -- mpls@ietf.org > To unsubscribe send an email to mpls-leave@ietf.org > > > > > _______________________________________________ > mpls mailing list -- mpls@ietf.org > To unsubscribe send an email to mpls-leave@ietf.org >
- [mpls] Example of MPLS RLD with IOAM Trace in PSD Rakesh Gandhi
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Rakesh Gandhi
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Haoyu Song
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Haoyu Song
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Joel Halpern
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Greg Mirsky
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Rakesh Gandhi
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Joel Halpern
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Haoyu Song
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Loa Andersson
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Rakesh Gandhi
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Joel Halpern
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Jaganbabu Rajamanickam
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Joel Halpern
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Joel Halpern
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Greg Mirsky
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Greg Mirsky
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Haoyu Song
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Greg Mirsky
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Haoyu Song
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Joel Halpern
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Haoyu Song
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Greg Mirsky
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Tony Li
- [mpls] Re: Example of MPLS RLD with IOAM Trace in… Greg Mirsky