Re: [core] Lars Eggert's Discuss on draft-ietf-core-sid-22: (with DISCUSS and COMMENT)

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 26 October 2023 21:57 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9F5EC14CE5D; Thu, 26 Oct 2023 14:57:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, 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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 KIbSV2plrX_Q; Thu, 26 Oct 2023 14:57:38 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55C06C180DDA; Thu, 26 Oct 2023 14:57:38 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 75BB71800F; Thu, 26 Oct 2023 17:57:37 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ukg9s-PSkKQD; Thu, 26 Oct 2023 17:57:36 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 1B4C71800C; Thu, 26 Oct 2023 17:57:36 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1698357456; bh=jgNIeY6i1AV7k11l9N4KdDHqophPgdbxwlx5NMqxKok=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=IGhkAVp5RM+klFepMt0DVt2nN59FsBvHfxlBbE89hsNoXVeKtJ2IufkwEX1MuD6Py vc5dDNqND9cvn6yfzmkeZEivMIvUlP2R+k7rO9FyicIzj88Ti55R7RinsNCYbRc8vo clZ6oiF/4gDiTY2CmdgH5Dli6XobaHVpd1eNCca6W7jCLGaWN73b80r1heH3fD09wL STHxj6Kvwcz7/mHqQbN4uRFhsgDwfAHRhfzV5b6leRwuwO1RdN/5xshGMjNmJMMl+m w3juRmip6/0rq/MFjLscf47q9qUGybKpyep3HVddhHMAWzMC8s8lU/yyYONbTLlza5 kMtcAMRncF4Ew==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 17220C7; Thu, 26 Oct 2023 17:57:36 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Lars Eggert <lars@eggert.org>
cc: The IESG <iesg@ietf.org>, draft-ietf-core-sid@ietf.org, core-chairs@ietf.org, core@ietf.org
In-Reply-To: <169832632311.59761.11389369756506251047@ietfa.amsl.com>
References: <169832632311.59761.11389369756506251047@ietfa.amsl.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 26 Oct 2023 17:57:36 -0400
Message-ID: <19859.1698357456@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/loZz0yTwG4AYWkrTyoCaRLIQGPk>
Subject: Re: [core] Lars Eggert's Discuss on draft-ietf-core-sid-22: (with DISCUSS and COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Oct 2023 21:57:42 -0000

<#secure method=pgpmime mode=sign>

Lars Eggert via Datatracker <noreply@ietf.org> wrote:
    > ### Section 6.3.3, paragraph 3
    > ```
    > The initial entry in this registry is allocated to IANA:

    > +=============+=========+============+===================+==========+
    > | Entry Point | Size    | Allocation | Organization      | URL      |
    > |             |         |            | name              |          |
    > +=============+=========+============+===================+==========+
    > | 0           | 1000000 | Public     | IANA              | iana.org |
    > +-------------+---------+------------+-------------------+----------+
    > ```
    > I would have expected the initial allocation to IANA (and the regions
    > defined within) to be MUCH larger, given the overall size of the
    > namespace.

IANA can ask itself for more space.
There are some advantages to everyone to keep everyone below 2^32.
Although it's not large, since most entries are delta-encoded.

    > ### Section 6.4.2, paragraph 11
    > ```
    > +=============+=========+==========================+
    > | Entry Point | Size    | IANA policy              |
    > +=============+=========+==========================+
    > | 0           | 1,000   | IESG Approval            |
    > +-------------+---------+--------------------------+
    > | 1,000       | 59,000  | RFC Required             |
    > +-------------+---------+--------------------------+
    > | 60,000      | 40,000  | Experimental/Private use |
    > +-------------+---------+--------------------------+
    > | 100,000     | 900,000 | Reserved                 |
    > +-------------+---------+--------------------------+
    > ```
    > These seem very small as well, given the overall size of the namespace.

And noting that 59,000 is < 2^16, it also encodes smaller.
We kept the best parts for ourselves.

A typical YANG module uses one SID per leaf.
Most YANG modules have less than 50 leaves.

We have 270 modules, I read elsewhere, so maybe we'll eat 13,500 out of the
"RFC Required" space in the first "year" (during bootstrap), and then I'll
bet it goes down to about 200 SIDs/year.
Of course, there are some big hairy YANG modules that probably need way more
than 50, but not many of them.

    > ### Section 6.5.3, paragraph 9
    > ```
    > Early Allocations are made with a one-year period, after which they
    > need to be renewed or will expire.
    > ```
    > In practice, that one year is too short and is already creating
    > frequent IESG management items for extension approvals. Given the
    > many more early allocations, this process will require, this will be
    > disruptive for the IESG.

So is the one-year time going to change?

    > ## Notes

    > This review is in the ["IETF Comments" Markdown format][ICMF], You can use the
    > [`ietf-comments` tool][ICT] to automatically convert this review into
    > individual GitHub issues. Review generated by the [`ietf-reviewtool`][IRT].

I should try this again, it didn't work for me last time :-)


--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide