[mpls] Re: Fwd: New Version Notification for draft-li-mpls-mna-entropy-03.txt

Loa Andersson <loa@pi.nu> Tue, 03 September 2024 14:22 UTC

Return-Path: <loa@pi.nu>
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 C6ECBC18DB9A for <mpls@ietfa.amsl.com>; Tue, 3 Sep 2024 07:22:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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
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 lmUajOVwWYL4 for <mpls@ietfa.amsl.com>; Tue, 3 Sep 2024 07:22:14 -0700 (PDT)
Received: from srv.pi.nu (srv.pi.nu [IPv6:2a00:1a28:1410:5::1348]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 573EEC18DB91 for <mpls@ietf.org>; Tue, 3 Sep 2024 07:22:14 -0700 (PDT)
Message-ID: <93acdbb1-a3b4-447b-8a42-8f0477da4203@pi.nu>
Date: Tue, 03 Sep 2024 22:22:09 +0800
MIME-Version: 1.0
To: Stewart Bryant <stewart.bryant@gmail.com>
References: <85b392b8-8968-4ebd-ad37-af09a3ee3b8b@pi.nu> <9853DE1C-E8FB-4C98-A041-9F7CE46F335F@gmail.com>
Content-Language: sv, en-GB
From: Loa Andersson <loa@pi.nu>
In-Reply-To: <9853DE1C-E8FB-4C98-A041-9F7CE46F335F@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: TOSGZRUTD3SOCWDMGZR6XAXEAK2OXAD2
X-Message-ID-Hash: TOSGZRUTD3SOCWDMGZR6XAXEAK2OXAD2
X-MailFrom: loa@pi.nu
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: Fwd: New Version Notification for draft-li-mpls-mna-entropy-03.txt
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/lJqFDhekgjFMJU81HLNKlN398Dg>
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>

+------------------------------------------------------------+
|                                         |
                   +---+                                       |
            +------| D |                                       |
            |      +---+                                       |
            |        |                                         |
          +---+      +---------------------------------------+ |
    +-----| B |                                              | |
    |     +---+      +-------------------------------------+ | |
    |       |        |                                     | | |
    |       |      +---+                                   | | |
    |       +------| E |                                   | | |
    |              +---+                                   | | |
    |                |                                     | | |
    |                +-----------------------------------+ | | |
    |                                                    | | | |
  +---+                                                 +-------+
-| A |                                                 |   Z   |
  +---+ +-------+
    |                                                    | | | |
    | +-----------------------------------+ | | |
    |                |                                     | | |
    |              +---+                                   | | |
    |       +------| F |                                   | | |
    |       |      +---+                                   | | |
    |       |        |                                     | | |
    |     +---+ +-------------------------------------+ | |
    +-----|C |                                              | |
          +---+      +---------------------------------------+ |
            |        |                                         |
            |      +---+                                       |
            +------| G |                                       |
                   +---+                                       |
                     |                                         |
+------------------------------------------------------------+


Not a network model, but a description of load-sharing option. You say that
we need the number of paths that a packet may take through the network. 
In the figure above a packet coming into node from the can be sent 
either "north" or "south". If it sent "north" it will enter node B and 
again go north or south. Once a packet reach node D, E, F, or G, it 
traverses a part of the network that does not do load-sharing. (Yes, I'm 
lazy!) To me the load-sharing decision seem to a local matter, what is 
the impact of the fact that there are 8 routes through the network? What 
seem to have a bigger impact is the number of out going load-sharing 
interface, but again that is local.
/Loa



Den 03/09/2024 kl. 04:02, skrev Stewart Bryant:
> @Loa:
>
> As part of determining the number of entropy bits we need, we need to consider the number of paths that a packet may take through the network.
>
> What normally happens is that the entropy is reduced to a much smaller number of bits at each path split point to pick - from n possible next hops for the packet.
>
> So prior question: for any given communicating pair, how many end to end paths do we need to design for?
>
> Best regards
>
> Stewart
>
>> On 2 Sep 2024, at 9:56 AM, Loa Andersson <loa@pi.nu> wrote:
>>
>> Adrian,
>>
>> inlline.
>>
>>> Den 02/09/2024 kl. 16:20, skrev Adrian Farrel:
>>> How do you measure?
>>> Size : 2^20 bits available in EL and LSE-C
>>> Place in stack : No restriction on either
>>> Repetition in stack : No restriction on either
>>>
>>> A
>> OK, I was struggling  before, this does not make it better :(.
>>
>> If all our methods are "equal", why do we struggle to develop
>> new methods?
>>
>> One question I really can't keep from asking. Hope someone can
>> lay it to rest.
>>
>> In hashing the stack a stack with 6 non-SPL labels gives me entropy
>> based on 6 x 2^20 bits, to give me entropy based on the same number of bit with EL/ELI I need 12 LSEs, right?
>>
>> AS for an MNA based method you can use 20 bits in the LSE Format C and
>> another 30 in an LSE Format D, right
>>
>> /Loa
>>> -----Original Message-----
>>> From: Loa Andersson <loa@pi.nu>
>>> Sent: 02 September 2024 09:11
>>> To: Stewart Bryant <stewart.bryant@gmail.com>; Tony Li <tony.li@tony.li>
>>> Cc: mpls <mpls@ietf.org>
>>> Subject: [mpls] Re: Fwd: New Version Notification for draft-li-mpls-mna-entropy-03.txt
>>>
>>> Stewart and Tony,
>>>
>>> This might be classified as naive questions :).
>>>
>>>> Den 02/09/2024 kl. 15:15, skrev Stewart Bryant:
>>>> Hi Tony
>>>>
>>>> I am struggling to see whether this has a sufficient advantage over
>>>> the existing EL/ELI mechanism to justify us recommending it existence.
>>>>
>>>> It is obvious that this can be done, and it saves an LSE, but is that
>>>> sufficient justification for the complexity introduced by having two
>>>> mechanisms that of necessity need to co-exist?
>>>>
>>>> We also need to understand what happens in a legacy routers that are
>>>> looking for EL/ELI and older routers that just hash the stack. I think
>>>> they just provide less (no?) entropy.
>>> Is there a scientific way of calculating "how much" entropy the
>>> different  generate?
>>>
>>> Is more entropy always better?
>>>
>>> What are the factors that determine how much entropy you need?
>>>
>>> /Loa
>>>
>>>
>>>> I imagine this ends with routers needing to parse for both types of
>>>> entropy which is not a great position to be in.
>>>>
>>>> Best regards
>>>>
>>>> Stewart
>>>>
>>>>> On 30 Aug 2024, at 5:26 PM, Tony Li <tony.li@tony.li> wrote:
>>>>>
>>>>>  [WG chair hat: off]
>>>>>
>>>>> Hi,
>>>>>
>>>>> This update addresses comments from Adrian Farrel as part of the WG
>>>>> adoption process.
>>>>>
>>>>> Comments and corrections are most welcome.
>>>>>
>>>>> Thanks,
>>>>> Tony
>>>>>
>>>>>
>>>>>> Begin forwarded message:
>>>>>>
>>>>>> *From: *"internet-drafts at ietf.org" <mailforwards@cloudmails.net>
>>>>>> *Subject: **New Version Notification for
>>>>>> draft-li-mpls-mna-entropy-03.txt*
>>>>>> *Date: *August 30, 2024 at 9:24:05 AM PDT
>>>>>> *To: *"John Drake" <je_drake@yahoo.com>, "Tony Li" <tony.li@tony.li>
>>>>>> *Reply-To: *internet-drafts@ietf.org
>>>>>>
>>>>>> A new version of Internet-Draft draft-li-mpls-mna-entropy-03.txt has
>>>>>> been
>>>>>> successfully submitted by Tony Li and posted to the
>>>>>> IETF repository.
>>>>>>
>>>>>> Name:     draft-li-mpls-mna-entropy
>>>>>> Revision: 03
>>>>>> Title:    MPLS Network Action for Entropy
>>>>>> Date:     2024-08-28
>>>>>> Group:    Individual Submission
>>>>>> Pages:    5
>>>>>> URL:
>>>>>>       https://www.ietf.org/archive/id/draft-li-mpls-mna-entropy-03.txt
>>>>>> Status:   https://datatracker.ietf.org/doc/draft-li-mpls-mna-entropy/
>>>>>> HTMLized:
>>>>>> https://datatracker.ietf.org/doc/html/draft-li-mpls-mna-entropy
>>>>>> Diff:
>>>>>>      https://author-tools.ietf.org/iddiff?url2=draft-li-mpls-mna-entropy-03
>>>>>>
>>>>>> Abstract:
>>>>>>
>>>>>>    Load balancing is a powerful tool for engineering traffic across a
>>>>>>    network and has been successfully used in MPLS as described in RFC
>>>>>>    6790, "The Use of Entropy Labels in MPLS Forwarding".  With the
>>>>>>    emergence of MPLS Network Actions (MNA), there is signficant benefit
>>>>>>    in being able to invoke the same load balancing capabilities within
>>>>>>    the more general MNA infrastructure.
>>>>>>
>>>>>>    This document describes a network action for entropy to be used in
>>>>>>    conjunction with "MPLS Network Action (MNA) Sub-Stack Solution".
>>>>>>
>>>>>>
>>>>>>
>>>>>> The IETF Secretariat
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> 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
>> --
>> Loa Andersson
>> Senior MPLS Expert
>> Bronze Dragon Consulting
>> loa@pi.nu
>> loa.pi.nu.@gmail.com
>>

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