Re: [spring] Flat vs non-flat SIDs

Gyan Mishra <hayabusagsm@gmail.com> Sat, 25 September 2021 16:23 UTC

Return-Path: <hayabusagsm@gmail.com>
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 E9B0B3A08AF for <spring@ietfa.amsl.com>; Sat, 25 Sep 2021 09:23:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.087
X-Spam-Level:
X-Spam-Status: No, score=-2.087 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, 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=gmail.com
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 Yva_fniJbtAA for <spring@ietfa.amsl.com>; Sat, 25 Sep 2021 09:23:16 -0700 (PDT)
Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 360423A08A5 for <spring@ietf.org>; Sat, 25 Sep 2021 09:23:16 -0700 (PDT)
Received: by mail-pj1-x102f.google.com with SMTP id dw14so9149743pjb.1 for <spring@ietf.org>; Sat, 25 Sep 2021 09:23:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=817odSuN5pSyXMz3ofo4EhlUA9yxW2fAdOtmTdmekec=; b=BCwmDWIWWTSod7r+ZthDdCq5Hm0F8qG/SowzU9T1MMVfeWT8l5UQV8+AP3EXjOErIj AQSYOB63cEoywhsV9qk7lUj0zeOmTtrwUwubL3HAutBLUL2Tgj8y/G3V9dVEu5FWzJl1 uZOr6ARVymVcnb1CSQ//0Flb65sKe4+UHveseZ2Qr/I52ETXN0lEbqMZjDQY0g2J5No+ xQlyYLHJM77NjjlneJHohcAbNlrfOVKZi5kjOV6s4I5NwwW3U4/9h6XLM9mv572ZIm9j wI3iHSQGtsz949hbjLbj9WKBirbyq7k4A8U6klZzuyq2qGMQa1cf7eY4nusQzAIK5/Ob OiBQ==
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=817odSuN5pSyXMz3ofo4EhlUA9yxW2fAdOtmTdmekec=; b=BjDpbQhMabkIZYiTT71Czjf0iBzpoO10xH3CQhfUrOfIiyE3azXv1Xs5ehn9GZKPaX KhOh1XEbSr0GL7AMuX/4JNpINQWfJL3ZgXlNSayn3Kvz1AnubZaZ1pkPJkJnsM8NHpca OS7qkSkwNWWSuIJ2EOF5ndFB1ZEpcvxgiXMHNoByUQHwr1quW6yLgRdP7cM+AxBv9n+u 4FFxKqoQuPR2pvMaJMC5WhdI4R/sVi+NOd2zTfeUFo1yZAsAkw34rO5tS6B6mb0AVGsA wy/SRnirvhYyLbi3LWg1+o5yEQCUnhnacIHXpEs4yO8sQD7ZWnlijk0d89j87ApnF2bB QUoA==
X-Gm-Message-State: AOAM532+kj9wyq2CqbwcbUzB+WnYjAQyZDqUrbWXhaQSMb8VOjZ0E1e6 UhnoTB0mphE3NZJB/pH+6MV1AXKMjhjjSOXJzIOuX4IS
X-Google-Smtp-Source: ABdhPJwfeWxDgGoFgFEy64mIICAtgfM5rF3hsOZUs99ByqaD4RgvfPaz1P5b/QTV+zehOct3eR0A+M8/tY4TB6ll2Tg=
X-Received: by 2002:a17:902:c411:b0:13c:9748:badf with SMTP id k17-20020a170902c41100b0013c9748badfmr14326395plk.18.1632586995208; Sat, 25 Sep 2021 09:23:15 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MME+YJ9hNgbn6oiTmsoYTdcGjCWQo2qdNd_REybBVpfFqw@mail.gmail.com>
In-Reply-To: <CAOj+MME+YJ9hNgbn6oiTmsoYTdcGjCWQo2qdNd_REybBVpfFqw@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Sat, 25 Sep 2021 12:23:04 -0400
Message-ID: <CABNhwV1ERq8op_YLO24wminc_FqRy5vxGc0TB+wR_D-XXXnvOg@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ea156c05ccd4474d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/uvNQl2TI-kL9xfdykeKHR9WEnIo>
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 16:23:21 -0000

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*