Re: Fibonaccing CID lengths

David Schinazi <dschinazi.ietf@gmail.com> Thu, 23 May 2019 15:08 UTC

Return-Path: <dschinazi.ietf@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABCEB1200A2 for <quic@ietfa.amsl.com>; Thu, 23 May 2019 08:08:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 8mxRg32yEGzZ for <quic@ietfa.amsl.com>; Thu, 23 May 2019 08:08:30 -0700 (PDT)
Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 C22B812004A for <quic@ietf.org>; Thu, 23 May 2019 08:08:29 -0700 (PDT)
Received: by mail-lj1-x22e.google.com with SMTP id z5so5797387lji.10 for <quic@ietf.org>; Thu, 23 May 2019 08:08:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5HArPIOzzW2F1iVRtYqQQUYktXBJLRIbWJt5rjXTL/4=; b=HAa5Fvhd0EnsLHFtW8ftrWT2K14rYhGCJerMiJlH5jMRS4yMbKxafZycqUZwJtAgfi PWRB8fpm78/eRsaHqx3OAiG2qhJJloKLWggRwXB6yU2vQJwF+MclUtP47X3+Qdcf4DNq mlBZ8fdZHhZqS0qhqnlD0eG+UMnQp/F7mk7hhjhy8+/kxJEwp/4Wd24XEnFiwE70bjj7 s1JZs2L/4M4Syqr0XB3HSVM/xwfX779MgSVLmUvPZd6Y9hWpjp3YBqaFfflMKKJc2YRf Hu92s54LvzigojxyTOP9PojHf6N6665+vhjUz0Ytk4UnprHuJ4CDBqB/TiXaFBF7gF6w n8VQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5HArPIOzzW2F1iVRtYqQQUYktXBJLRIbWJt5rjXTL/4=; b=DgcczLrrXrS+xE6gyFuntthItksUrgpd5pwTThrdE8pv8NlxR7R7d8OB5hLfDU6kLb K32yArOAOko2pnvcWLjAeEbCyVBbrzPVAGOCWEHLrfO0m/o4JwTLAI6wjasvxfEPOdNr rmYIL41BiolfftKETV6M73NqM/NxmoshInbTlVzXxNdJzUQzpDaeOaHjJpbKMHT/rKZg VnXcDCxRtkZ35SSnVXeFs7bWXOVNVVtRgjea72IdotNlhJvqynlmumVEx5F1o9O/piqz 17/nduKV6zPu1kYqxRdD5HS3nfMq4bSzsiBK7vvRWq6yFRXwFj6fnYnb1UVkJJd9fW8C ovJA==
X-Gm-Message-State: APjAAAXXXnCNhv1e9MdGA+xvTcdXud62wdEDQNxHGvJQVfv0LD7HhZeM GZj8kwrvmms3ouyaaGauIyIVl9e5R4iCeHtMnik=
X-Google-Smtp-Source: APXvYqw/E4GLTVig1qwvZ8BAC+i4389dQOjOkzA5rOD8Uk1pmYK1BKNXM0TaVMXw8Ulz8YuJWqB46+K3XnAfM6PEqI0=
X-Received: by 2002:a2e:9ac8:: with SMTP id p8mr39529381ljj.154.1558624107763; Thu, 23 May 2019 08:08:27 -0700 (PDT)
MIME-Version: 1.0
References: <20190522141238.GA23472@ubuntu-dmitri> <CAN1APdfBMeKGzsdLR__OLUHQ7pg=YM76C2Qxn6VDCXu680JQyA@mail.gmail.com> <ab64bdc2-805b-a86d-c525-41d076deac40@huitema.net> <20190522200406.GA28789@ubuntu-dmitri> <CANatvzx4rxk6UU48omk-EfpoYzfg_zWR+N49zMWi_5rv722uQg@mail.gmail.com> <20190523082129.GA6712@ubuntu-dmitri>
In-Reply-To: <20190523082129.GA6712@ubuntu-dmitri>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 23 May 2019 16:08:16 +0100
Message-ID: <CAPDSy+6SpSjSeiMOjZWbC2x4mnpmsPf3PQq08s6KBru3aSRt0w@mail.gmail.com>
Subject: Re: Fibonaccing CID lengths
To: Kazuho Oku <kazuhooku@gmail.com>, Christian Huitema <huitema@huitema.net>, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000481e1605898f741b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/sJd5UvFjqwKn3FBXS8Z78KzxFG0>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 May 2019 15:08:33 -0000

This encoding would be harder to deploy on our servers than having two
8-bit lengths. The only benefit of this is saving 8 bits on long headers,
and that's not worth the complexity.

On Thu, May 23, 2019 at 9:21 AM Dmitri Tikhonov <dtikhonov@litespeedtech.com>
wrote:

> On Thu, May 23, 2019 at 04:36:54AM +0100, Kazuho Oku wrote:
> > 2019年5月22日(水) 21:04 Dmitri Tikhonov <dtikhonov@litespeedtech.com>:
> > > While the example is lighthearted, the proposal is serious: that is,
> > > remap 0 - 15 values of the nybble to a different set.  Do we need to
> > > represent every intermediate number between 0 and 48 (the maximum of
> > > the current PR)?
> >
> > The question is what you gain by compressing the length to 4 bits.
> >
> ----- 8< --- 8< --- 8< ---
> >
> > So, what's the benefit?
>
> Smaller change to the drafts -- and existing code.
>
>   - Dmitri.
>
>