[mpls] Example of MPLS RLD with IOAM Trace in PSD

Rakesh Gandhi <rgandhi.ietf@gmail.com> Thu, 27 June 2024 15:35 UTC

Return-Path: <rgandhi.ietf@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 D973EC14F61E for <mpls@ietfa.amsl.com>; Thu, 27 Jun 2024 08:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 mORZxNXTO9Tw for <mpls@ietfa.amsl.com>; Thu, 27 Jun 2024 08:35:51 -0700 (PDT)
Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 0C84FC14F610 for <mpls@ietf.org>; Thu, 27 Jun 2024 08:35:51 -0700 (PDT)
Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-57d06101d76so2004823a12.3 for <mpls@ietf.org>; Thu, 27 Jun 2024 08:35:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719502549; x=1720107349; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JGVkf5kyy9Yai+2E9UpFkupgkrNrChr9oZS9b+y/QEc=; b=lfKKsv7+XEKfujTGO4H2UTi8WcX5C4hYwSQrhUCW2c8fwZacegdwJCQCnr3198SjU9 T0TxenlvymbYPvNAo/nlpkAzhb8jZRBQuWMMhyM/KV6eylSORFZBgbH8tV+Ry5VnY+UE WeR7xPA0yixiV9GFwtxodojaTXcRl9G6KoSx+5fmyUo86I8G82KEbArqinygwTCce2XS gy702aiAII3fJQ1HZ0nPwQO5Ky1CHgXTHZcdzxiKTVfAbR/jHmrel4ewzOUmSE840pCX 1QTIpYrB8gQ7n5MoUiHCBKW9wU8GcHOXDF9XtwBjw8t/svd6NNJ8cdR9h6Fdiu2g82Dt dLQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719502549; x=1720107349; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JGVkf5kyy9Yai+2E9UpFkupgkrNrChr9oZS9b+y/QEc=; b=pJuSdZXq/bFWnriRXZn3fMunAh4QfGLryYw90DFBDZiUXyAqrljoanwwM+MKaZLF48 u2i5LmuvVyApcEiiUiRavGPUpcB1dYbSUPV4Zed57HnJ1ry18v0Q2G6pwH2nKL/E6LYX NeE95Zhbt2jJ5+lxLC9+gtiNa+CvmAwTwKp3Q/GvKh3/iiB89sMr7xO7cUQAj5xPcdfW YrZoCMhLoPm6K9wpaov1yofGclDS4gZ/DmQ8cSoZORExPKlxJXlARsawdVmBIE7XAdSs ZNNBlW12wskm0Dph+Sqn0aBczJFSIPp6KA8gvmuUGjEGd9eqLE/FXHftIsbej9Xk215V s6WQ==
X-Gm-Message-State: AOJu0YzCvx3LO4LA6SCgYYPvveTHnfAQCvJ4cxx84uRBDF4Y3ce5mNW5 PQANBnmN32uGZXvm7gO2AlJX7uWEuCTpFhLXjUPEoa8g6VzoMdW8oJa9UeBwTOEDGehAYN/tbpT tyZkjMVr2mpZEkWguqZstotWa/Ud/siX1jw==
X-Google-Smtp-Source: AGHT+IGbt32m49P6py5qFvpRnL5XgfwpmTLsuxb3R6Ey6dSRHiGnra3msw+5B/tAmq3HVagnLLzCPyUhaJ80ZwBn7zg=
X-Received: by 2002:a05:6402:13c3:b0:585:437c:d7f8 with SMTP id 4fb4d7f45d1cf-585437cd8bcmr1316106a12.42.1719502549035; Thu, 27 Jun 2024 08:35:49 -0700 (PDT)
MIME-Version: 1.0
From: Rakesh Gandhi <rgandhi.ietf@gmail.com>
Date: Thu, 27 Jun 2024 11:35:37 -0400
Message-ID: <CAMZsk6cT-AZ8Dswd37Owu+Bhte=jR-3BmaA6JA7ftQmLgUQ5RQ@mail.gmail.com>
To: mpls <mpls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a0339a061be0e237"
Message-ID-Hash: VKAIXXTKG3OZ7DRZ6HIV4HEVZIREJQFY
X-Message-ID-Hash: VKAIXXTKG3OZ7DRZ6HIV4HEVZIREJQFY
X-MailFrom: rgandhi.ietf@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
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [mpls] 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/pE9MFRMOQ36fC_aCmw8XGpV9Eik>
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>

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