[mpls] Re: Working Group Adoption Poll on draft-mb-mpls-ioam-dex

Loa Andersson <loa.pi.nu@gmail.com> Sun, 27 October 2024 13:37 UTC

Return-Path: <loa.pi.nu@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 70E0AC14F617 for <mpls@ietfa.amsl.com>; Sun, 27 Oct 2024 06:37:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.211
X-Spam-Level:
X-Spam-Status: No, score=-1.211 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, MIME_HTML_ONLY=0.1, MIME_HTML_ONLY_MULTI=0.001, MIME_QP_LONG_LINE=0.001, MPART_ALT_DIFF=0.79, RCVD_IN_DNSWL_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
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 TNF-QcNcl39V for <mpls@ietfa.amsl.com>; Sun, 27 Oct 2024 06:37:06 -0700 (PDT)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A224CC14F60B for <mpls@ietf.org>; Sun, 27 Oct 2024 06:37:06 -0700 (PDT)
Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2fabb837ddbso50799521fa.1 for <mpls@ietf.org>; Sun, 27 Oct 2024 06:37:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730036225; x=1730641025; darn=ietf.org; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:content-transfer-encoding:from:to:cc:subject:date :message-id:reply-to; bh=r+ISbdCfLZLgu9XGUADqy+3GY/64Sqbh2UDcnUXYUBA=; b=Tbx08F/C0YgsOfVGLmA792fH2p3pvf5Kr//nB4fiR1DdNkJow4X1muVLL1T9l58pJv d7sKBbr/7H+lHbDHBdYsLHoaLLmMNhvKkFG0kOrrKWBw1vIvJbls4yv3btUz6fz3cJIm jIImWmuzKrpI/gFTsIoopJknwN1lgT9jK/lk7kEV8ccYKQlADAw8IspywlHBTrYrzCln GX1dZ3Nm8nrwTbSCfr7ZYe+V4txwJX4DdGlaMOXA4h8KD6hEsj86I5a6vYhIYnL9eZRU PeRVB+KkYDKXSvTHTJkCtcxIC5kliVqBTu6vX6Y9CZcu6MVpRwhHf5SoYnwNXW9k8KP6 jmtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730036225; x=1730641025; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=r+ISbdCfLZLgu9XGUADqy+3GY/64Sqbh2UDcnUXYUBA=; b=KRahvlxVPIruxGYAHDT023f8fEX/J7j+kRo2VomOwGv3gjLJHwczjdJ5ObADr41H/E 2x8QMSxZpT/RQadwjSM1rSe7gH6rB19W3gSkii9GOivz+Ej29r4jjb4Erkfwe/nUiLpt rM/hgGqWjrp4C9VTSepohBD3eliA3zgym7K7FJM7PVys1eTgdVEO51UTwQ5ZqIFcz7x2 kUTCLqsLPW9IPDCKMUfL7vwGc9vP40M1d+9CZa0tHxTF90znQwBiOf5Ai6r9KqZibM0J 1JVOKak3fH4dSDvotvTAM0DwIdFD02lnBdLwnC9hstouPE/YDa3riz4ZRcD5yX1skvTx mpOg==
X-Forwarded-Encrypted: i=1; AJvYcCXuEMFKlD/PcLySVjhXC2D/4V4eReyakFMKJVRuGOLWNVGM1AbTbvTHdd/JGdEIFZP1KFkD@ietf.org
X-Gm-Message-State: AOJu0Yz24id1ZgO1ZxF60zn7oDDs8RTnJLn8dECYUYzjLLX+gSBxGEwX 1JqcEJIy8dOVrwssH+X3PTT7yJKP0asTc9rujTwOnGITmrSBhvCp
X-Google-Smtp-Source: AGHT+IFgXr2Rr/s0Z4xp8+pj+deAb59VTxRUP8vWbx1fVmgicZ2t4g1dskufRFCN69r6VFuOltTYUA==
X-Received: by 2002:a2e:a4b9:0:b0:2fb:510c:7237 with SMTP id 38308e7fff4ca-2fcbe08f849mr22644511fa.41.1730036224317; Sun, 27 Oct 2024 06:37:04 -0700 (PDT)
Received: from smtpclient.apple (2.70.164.158.mobile.tre.se. [2.70.164.158]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fcb451caa2sm8517491fa.36.2024.10.27.06.37.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Oct 2024 06:37:02 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-B02CA8E9-3412-47D1-986A-37420A56F828"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
From: Loa Andersson <loa.pi.nu@gmail.com>
In-Reply-To: <CA+RyBmXLQ=Q9nqYJXNLSibsf-BNvERWQjx1MuyvnW2p3oXKuDw@mail.gmail.com>
Date: Sun, 27 Oct 2024 14:36:51 +0100
Message-Id: <2B0855FA-3266-4660-9AAB-FC85FFAAC0CB@gmail.com>
References: <CA+RyBmXLQ=Q9nqYJXNLSibsf-BNvERWQjx1MuyvnW2p3oXKuDw@mail.gmail.com>
To: Greg Mirsky <gregimirsky@gmail.com>
X-Mailer: iPhone Mail (21G93)
Message-ID-Hash: VSF4TTIPTJJJWPKTFYZBQCA4CK27EJMK
X-Message-ID-Hash: VSF4TTIPTJJJWPKTFYZBQCA4CK27EJMK
X-MailFrom: loa.pi.nu@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>, Michael Menth <michael.menth@uni-tuebingen.de>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [mpls] Re: Working Group Adoption Poll on draft-mb-mpls-ioam-dex
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/YmQNoEkdCRot-q9hR9aH6W8Piec>
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>

Greg, 

I’m just saying that adding e.g 4 octets of ancillary data to a MPLS packet, will impact the RLD the same regardless if you do it as ISD or PSD. 

/Loa

Sent from my iPhone

On 26 Oct 2024, at 18:13, Greg Mirsky <gregimirsky@gmail.com> wrote:


Hi Loa,
it seems that you misinterpreted RLD for LSE overhead introduced by ISD or PSD. I think that in regard to RLD, PSD will always demonstrate worse than ISD for HbH and Select modes because there highly likely be a number of LSEs and probably other Post-stack headers between NAS and PSD block.

Regards,
Greg

On Sat, Oct 26, 2024 at 4:09 AM Loa Andersson <loa@pi.nu> wrote:
Fabian,

We are very much on the same page. Though in addition to what you say,
compatibility with RFC 9326 is important for me.

Inline please.

Den 25/10/2024 kl. 15:50, skrev Fabian Ihle:
> Stewart and Loa,
>
> the "a bit trickier" part of PSD is:
>
>  1. The presence of PSD needs to be indicated efficiently. With a single
>     bit for indication (the "P-bit" from the jags draft), we still need
>     8 bytes (Format A for in-stack NAS indication and Format B for a
>     flag-based opcode with the P-bit set). If select-scoped PSD
>     indication is to be a thing, even more overhead is added.
>  2. In P4, the MPLS stack and the PSD must be within RLD. We cannot skip
>     parts of the MPLS stack that are not relevant to the current node
>     but have to parse the entire stack. While these irrelevant LSEs do
>     not need to be processed, we still have to allocate resources to
>     parse them. However, with an RLD of 51 LSEs, this constraint is not
>     a showstopper and PSD is definitely doable. But it does emphasize
>     the importance of the first point. Other hardware may work
>     differently and not have this limitation, or may be even more
>     constrained. In the latter case, PSD might be difficult.

Thought experiment:

Assume we need to transport 4 octets or mutable or variable ancillary data.

For ISD you would need

- the MNA label
- a format B LSE, for the OpCode to tell what NA the AD belongs too.
- a Format C LSE that can carry 7 bit mutable/varaiable AD
- three Format D LSEs to carry 25 bits (11+11+3 bits) mutable or
   varaiable AD

= 6 MNA LSEs.

For PSD you would need

- the MNA label
- a format B LSE, for the -p-bit or an OpCode to tell what NA the AD
   belongs to

After the stack you would need

- 1 LSE carrying the type
- 1 LSE carrying the OpCOde + 16 bit of AD
- 1 LSE carrying 16 bits of data

= 5 MNA LSEs

It seems that RLD-wise in this case PSD will be more efficient.


/Loa

>
> Our intention with a P4 implementation is not to deploy commercial MNA
> solutions but rather to show that a protocol extension such as the MNA
> framework can be implemented on constrained hardware. If it works on
> constrained P4 hardware, hardware engineers will most likely also be
> able to implement it. However, the reverse assumption, i.e., "if it does
> not work on P4 hardware, it will also not work on other hardware" does
> not apply.
>
> We have mainly focused on an ISD implementation for now, the next step
> will be an extensive evaluation of the PSD version.
>
> Best,
>
> Fabian
>
>
> On 25.10.24 14:34, Loa Andersson wrote:
>> Stewart and Fabian,
>>
>> I think all implementation experiences are useful, also if the they
>> are done using the commercially non-deployed P4, you can always draw
>> some conclusions.
>>
>> What I would like is why PSD is trickier, and if "a bit trickier" is
>> significant enough to not go with PSD. Especially since we agree that
>> draft-mb-mpls-ioam-dex is not compliant with RFC 9326.
>>
>> Is "a bit trickier" the prize we pay for compliance with RFC 9326?
>>
>> /Loa
>>
>> Den 25/10/2024 kl. 13:13, skrev Stewart Bryant:
>>>
>>>
>>>> On 14 Oct 2024, at 10:34, Fabian Ihle <fabian.ihle@uni-tuebingen.de>
>>>> wrote:
>>>>
>>>> I think that ISD is the way to go for the DEX option as an PSD
>>>> implementation has proven to be a bit trickier in our P4 version.
>>>
>>> Is this an issue with the protocol or an indication of deficiencies
>>> in P4?
>>>
>>> Is P4 deployed or likely to be deployed in a production environment,
>>> i.e. is this a consideration for protocol standardisation?
>>>
>>> Best regards
>>>
>>> Stewart
>>>
>>>
>>>
>>> _______________________________________________
>>> mpls mailing list -- mpls@ietf.org
>>> To unsubscribe send an email to mpls-leave@ietf.org
>>
> --
> Fabian Ihle
> Universität Tübingen
> Fachbereich Informatik Lehrstuhl Kommunikationsnetze
> Wilhelm-Schickard-Institut für Informatik
> Sand 13, 72076 Tübingen
>
> Raum: B303
> Telefonnr.: +49 7071 29-70545
> E-Mail:fabian.ihle@uni-tuebingen.de
> Internet: http://uni-tuebingen.de" rel="noreferrer nofollow" target="_blank">uni-tuebingen.de
>

--
Loa Andersson
Senior MPLS Expert
Bronze Dragon Consulting
loa@pi.nu
loa.pi.nu.@gmail.com

_______________________________________________
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