Re: [spring] Flat vs non-flat SIDs

Robert Raszuk <robert@raszuk.net> Sat, 25 September 2021 22:50 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F3EE3A0A90 for <spring@ietfa.amsl.com>; Sat, 25 Sep 2021 15:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0a8d3j2dSrEY for <spring@ietfa.amsl.com>; Sat, 25 Sep 2021 15:50:51 -0700 (PDT)
Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CE3E3A0A8E for <spring@ietf.org>; Sat, 25 Sep 2021 15:50:50 -0700 (PDT)
Received: by mail-ua1-x929.google.com with SMTP id 2so9122141uav.1 for <spring@ietf.org>; Sat, 25 Sep 2021 15:50:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oK+/6KnHnTDgP3Du9aFhQ/Xya5DUGMMEhyLP5ndZFEM=; b=FaBXHX2jVYcp57p6BE9y7OtgdWP/N4MWt3ykmWjeG6ad0nPMlkJVGNqbvFPtNBiWoa NG7Fq0tfDLtX8+dqzO13mG4C6chwyeFPSo8gZTDqV3BuCTeiLSigISNBNuIG5q5HaGoS P5/pWLVsJzkT1RN3wNjsioWG481ZFSiGfKCkE79CP9NxOq6arZ4vSiONcmnx2PFwrnbB TqbopOrQJqICLvHXIiNGQ0ccD7AktyqsvCfDyM3/nbA8b4TmXZbLKgT09979aCJHpp5j YtzxqZ33P2zi92VMykKLFWUIl66psdC9UoK/oXhei7gaseJ5pQ66Qf3CWoLpkYosYDOH DLaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oK+/6KnHnTDgP3Du9aFhQ/Xya5DUGMMEhyLP5ndZFEM=; b=VxStas6OrfWsYw0MeoQAiB7F8HaBYrXbByZ/BeVE7uw8L03tMAcQHwULv7wFavNG5a YPzvIB3H+KUXr7XyR6vvH4uZ8GLfXQrz1PEZwAWm2+DoM6S9kUEM43G+k7+p0sR8I3hN CEGEEUJUrCoiEwb2j64/kPDgo4XdZiwkWXVIlE7ofA7l/QvlBLpg5xAQdevkH5eHvPiC 7TzJHQX268avZWLGl8lCDkg2RuqIZUFdAm6SrWCk1+20UTdQ3R3b+wb0UozOdSD9Xfoe IPsmGLXqNU/vBIpVvksAs3wxE8jLh6KVgIAqP5oNbfBNlCQVyiJhWIixSUeLsw8eHDef mD/Q==
X-Gm-Message-State: AOAM530MYUHiazNbpf2UwU3rtfdnfZQECp8JswukeWmN+d4OqpmJhVol nWP37M9dsgDq7HxAX+UyMNIzwrFpGYYQS0mu7Tm84Q==
X-Google-Smtp-Source: ABdhPJyJrzp8lyISguxVNytoKSLEDCEUSKBr5sjPkyhcYb+2gdXZ2MYZ7VCtcOLS+bbVn/sSeSessmdBEYsCNmyAPY4=
X-Received: by 2002:a9f:23d0:: with SMTP id 74mr15044092uao.69.1632610249521; Sat, 25 Sep 2021 15:50:49 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MME+YJ9hNgbn6oiTmsoYTdcGjCWQo2qdNd_REybBVpfFqw@mail.gmail.com> <CABNhwV1ERq8op_YLO24wminc_FqRy5vxGc0TB+wR_D-XXXnvOg@mail.gmail.com>
In-Reply-To: <CABNhwV1ERq8op_YLO24wminc_FqRy5vxGc0TB+wR_D-XXXnvOg@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sun, 26 Sep 2021 00:51:29 +0200
Message-ID: <CAOj+MME4eVBVY6HN8Fse+C56R=8pYt19mXfqft53n9smuEPNgQ@mail.gmail.com>
To: Gyan Mishra <hayabusagsm@gmail.com>
Cc: SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000facc4a05ccd9b173"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/xn-d6gLaxiMkZ08Tm6gt3e6gs8g>
Subject: Re: [spring] Flat vs non-flat SIDs
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Sep 2021 22:50:57 -0000

I do not see anything in CRH draft which would act as a hardware friendly
fixed size context/app/service id field which would direct any further SID
lookup to happen in separate SID tables.

Thx,
R.

On Sat, Sep 25, 2021 at 6:23 PM Gyan Mishra <hayabusagsm@gmail.com> wrote:

>
> Interesting you mention indexing as CRH in fact moves the forwarding state
> to the FIB, thereby eliminating the MSD issue & uses indexing bits serving
> as pointers  from the CRH FIB.
>
> Indexing and indirect address using pointers is definitely an interesting
> alternative way of tacking the compression issues.
>
> Kind Regards
>
> Gyan
>
> On Sat, Sep 25, 2021 at 11:11 AM Robert Raszuk <robert@raszuk.net> wrote:
>
>> All,
>>
>> Watching this discussion on how to compress SIDs (modulo what is the best
>> choice of compressed SID length) a question popped up which perhaps would
>> be very helpful to clarify.
>>
>> SR architecture RFC defines notion of global and local SIDs.
>> Compression analysis discusses state analysis in section 2.3 in respect to
>> global SIDs by listing few parameters N, I, A, D & V which are essentially
>> defining SID applications or types.
>>
>> In all cases the SID or cSID list remains globally flat across all
>> services. Well yes SIDs have some structure via appended function and
>> arguments needed in network programming but the question I am struggling
>> with is not about those.
>>
>> It seems to me that for data plane scaling instead of always constructing
>> huge flat lookup trie it may be quite beneficial to have in the front of
>> each SID a few bits fixed pointer actually directing the real lookup to a
>> proper service or application table.
>>
>> Yes, originally where SR started there was comparison with flat MPLS
>> label space (except that space was always locally significant). Now we are
>> talking globally (within a domain) significant space which does multiply
>> this N times.
>>
>> With that I just want to post this question or really a doubt if no
>> matter what compression is chosen should we not consider to define a fixed
>> demux space which can help to divide and conquer data plane with no worries
>> that if I add few more letters to "N, I, A, D & V chain ... (say S- for
>> slice, G- for 5G, G'-for 6G etc..." my routers are not going to collapse ?
>>
>> Again just to restate I am not talking here to come back to locally
>> significant SIDs. Not at all. Domain wide significant SIDs are cool. I am
>> talking about making the globally significant compressed SIDs to be
>> prepended with notion of service(s) they are constructing in a
>> given network.
>>
>> - - -
>>
>> As we have been via MPLS deployments in the past one of the often
>> requested features was application/services prioritization. If we have one
>> flat SID space this may not be easy.
>>
>> Thx,
>> Robert
>>
>> _______________________________________________
>> spring mailing list
>> spring@ietf.org
>> https://www.ietf.org/mailman/listinfo/spring
>>
> --
>
> <http://www.verizon.com/>
>
> *Gyan Mishra*
>
> *Network Solutions A**rchitect *
>
> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>
>
>
> *M 301 502-1347*
>
>