Re: [Roll] Compressing the PDAO natively

Michael Richardson <mcr+ietf@sandelman.ca> Mon, 29 July 2019 20:23 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C06C612006A for <roll@ietfa.amsl.com>; Mon, 29 Jul 2019 13:23:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-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 ApvZZRpt-Ciy for <roll@ietfa.amsl.com>; Mon, 29 Jul 2019 13:23:09 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ECEB3120045 for <roll@ietf.org>; Mon, 29 Jul 2019 13:23:08 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 8B38D3808A for <roll@ietf.org>; Mon, 29 Jul 2019 16:22:44 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 9B0F0BDF for <roll@ietf.org>; Mon, 29 Jul 2019 16:23:07 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
In-Reply-To: <23943737-12B0-4DAF-B6CC-8F4DB8978177@tzi.org>
References: <MN2PR11MB3565E133DA12559F333A78B8D8C00@MN2PR11MB3565.namprd11.prod.outlook.com> <22182.1564174683@dooku.sandelman.ca> <982B626E107E334DBE601D979F31785C5DF6514B@BLREML503-MBS.china.huawei.com> <4102.1564239380@localhost> <23943737-12B0-4DAF-B6CC-8F4DB8978177@tzi.org>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.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: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Mon, 29 Jul 2019 16:23:07 -0400
Message-ID: <25667.1564431787@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/X98rwR2ZKa98LbJepTA0EUqECAo>
Subject: Re: [Roll] Compressing the PDAO natively
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jul 2019 20:23:11 -0000

Carsten Bormann <cabo@tzi.org> wrote:
    > On Jul 27, 2019, at 16:56, Michael Richardson <mcr@sandelman.ca> wrote:
    >> 
    >> https://github.com/mcr/roll-ghc

    > Nice — 82 LOC :-) (No decompressor included, but that should be even
    > smaller.)

This went back to when some people wanted to produce "compressed" (abridged,
really) versions of RPL control messages.  I knew that would result in
devices that did not accept uncompressed messages, and major features would
be lost. 

I think that this stupid 82LOC did better on the sample packets than the
abridged version did, and the discussion stopped.  And I didn't use the
compression contexts at all.

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [