Re: [Cbor] CBOR tag range IANA allocation policy

Sean Leonard <dev+ietf@seantek.com> Thu, 25 July 2019 22:19 UTC

Return-Path: <dev+ietf@seantek.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7B991201DB for <cbor@ietfa.amsl.com>; Thu, 25 Jul 2019 15:19:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ZF3txMAxSrkk for <cbor@ietfa.amsl.com>; Thu, 25 Jul 2019 15:19:15 -0700 (PDT)
Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7973F1201D1 for <cbor@ietf.org>; Thu, 25 Jul 2019 15:19:14 -0700 (PDT)
X-Originating-IP: 31.133.157.10
Received: from dhcp-9d0a.meeting.ietf.org (dhcp-9d0a.meeting.ietf.org [31.133.157.10]) (Authenticated sender: sean@seantek.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 1DBB460005; Thu, 25 Jul 2019 22:19:10 +0000 (UTC)
From: Sean Leonard <dev+ietf@seantek.com>
Message-Id: <584C141B-9704-4BA2-BD30-21E2FE4D6F90@seantek.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A2EF3D5B-C9B3-47CE-823F-BD81EB5F79A8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Date: Thu, 25 Jul 2019 18:19:09 -0400
In-Reply-To: <CAN40gSt-h+HGLJuTUFMHn3jjOqMJyJjetdSiW1e-o3uZcZ8a3A@mail.gmail.com>
Cc: Thiago Macieira <thiago.macieira@intel.com>, cbor@ietf.org
To: Ira McDonald <blueroofmusic@gmail.com>
References: <07D48905-77B6-447B-8CEB-971CD0568FB9@seantek.com> <10096467.9kdZcmANtY@tjmaciei-mobl1> <CAN40gSt-h+HGLJuTUFMHn3jjOqMJyJjetdSiW1e-o3uZcZ8a3A@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.104.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/wN4575xjI4FP8LNSd0sBHs5RvHM>
Subject: Re: [Cbor] CBOR tag range IANA allocation policy
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jul 2019 22:19:18 -0000

Okay so it sounds like there are more than crickets on the topic, so we can discuss it…

My intuition is as follows:

0-23 = standards action = no change
24-255 = RFC Required
256-65535 OR 256-32767 = specification required
65536+ OR 32767+ = FCFS = no change

This was my intuition based on tags being proposed, and the relative value of smaller tag numbers. However, I would want to make it more rigorous than just a feeling.

RFC 8126 “Guidelines for Writing an IANA Considerations Section in RFCs” defines the levels of review. RFC Required is one notch higher than Specification Required. Hence it is the smallest incremental bump. It would provide no difference in outcome to *most* stuff in 32-255 at present, but I checked and there are about 10 allocations in 24-255 (including about 5 in the low range, 24-29) that would have been excluded because the specs are not RFCs. The space 32-255 is already nearly half exhausted.

Specification required should be in place for the 1+2 byte range, since, well, we want public specs. In my mind, it is hard to justify restricting anything in the 1+4 byte space (32 bits) since they have equal performance characteristics.

There has been a good amount of discussion about constrained CBOR platforms that do not natively do 64-bit integers. However, is it fair to say that even the most resource-constrained devices these days are 32-bit capable without a lot of hassle?

Splitting the baby in half at the 16th bit allows half of the space to have more review, while the upper half can still be FCFS and get the same performance. “32,768 numbers is enough for everybody!” — or is it?

I wonder if we should bump 256-4095 or so to a higher level of review than specification required. It still leaves 28,000 values that have the same performance characteristics.

Sean

> On Jul 25, 2019, at 5:25 PM, Ira McDonald <blueroofmusic@gmail.com>; wrote:
> 
> Hi,
> 
> (possibly putting foot in mouth)
> 
> I think it's a bad practice to lower a previous IANA requirement for any number
> range in a registry (especially from specification required to one instance of
> Internet-Draft and two weeks of silent approval).
> 
> Cheers,
> - Ira
> 
> Ira McDonald (Musician / Software Architect)
> Co-Chair - TCG Trusted Mobility Solutions WG
> Co-Chair - TCG Metadata Access Protocol SG
> Chair - Linux Foundation Open Printing WG
> Secretary - IEEE-ISTO Printer Working Group
> Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG
> IETF Designated Expert - IPP & Printer MIB
> Blue Roof Music / High North Inc
> http://sites.google.com/site/blueroofmusic <http://sites.google.com/site/blueroofmusic>
> http://sites.google.com/site/highnorthinc <http://sites.google.com/site/highnorthinc>
> mailto: blueroofmusic@gmail.com <mailto:blueroofmusic@gmail.com>
> PO Box 221  Grand Marais, MI 49839  906-494-2434
> 
> 
> 
> On Thu, Jul 25, 2019 at 5:19 PM Thiago Macieira <thiago.macieira@intel.com <mailto:thiago.macieira@intel.com>> wrote:
> On Thursday, 25 July 2019 13:38:41 PDT Sean Leonard wrote:
> > Hi WG, what is the current stance on changing the IANA Considerations for
> > tag registration?
> > 
> > I find the RFC 7049 tag registration scheme (0-31 = standards action, 32-255
> > = specification required, 256+ = FCFS) to be acceptable.
> > 
> > However, I think that maybe we want to encourage more tag registration,
> > while also having a bigger space for more review and publication. I read
> > the minutes and am not sure if there is a current stance or a group sense
> > on the matter, at least within the past 12 months.
> 
> Could we get 32-255 to be slightly stricter but not to the level of standards 
> action? I was thinking of publication of a draft to this WG and allow for a 2-
> week comment period. This could both spur ideas from other passive watchers 
> and ensure high quality of the ones that do get published.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com <http://intel.com/>
>   Software Architect - Intel System Software Products
> 
> 
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org <mailto:CBOR@ietf.org>
> https://www.ietf.org/mailman/listinfo/cbor <https://www.ietf.org/mailman/listinfo/cbor>
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor