Re: [Roll] Adoption of draft-goyal-roll-rpl-compression as a new ROLL WG document

"Angelo P. Castellani" <angelo@castellani.net> Fri, 02 September 2011 14:07 UTC

Return-Path: <angelo.castellani@gmail.com>
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 7635721F8B35 for <roll@ietfa.amsl.com>; Fri, 2 Sep 2011 07:07:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4xWDnAtMC392 for <roll@ietfa.amsl.com>; Fri, 2 Sep 2011 07:07:34 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 5324021F8B06 for <roll@ietf.org>; Fri, 2 Sep 2011 07:07:34 -0700 (PDT)
Received: by wyg8 with SMTP id 8so2640105wyg.31 for <roll@ietf.org>; Fri, 02 Sep 2011 07:09:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=CJQ6rjNxm0BJsmEc+8tqBP5ci0iA3TqlnLap7uTzpXA=; b=o3UGAngSKDBymbt0xE9R5YY+bDtmcLsgjamsgbZkWDyy8iUbn60IsrX+ToUiheUSHD mrbely7/gWmfnbdQ2r7wmB6lIo3zV74IeWoSzhGkKMA031nx5jowEs4O8Emv/vaJACE0 FclHJBQsaVg1rC++nKVAUl1cE/D71uzO2nIOA=
Received: by 10.216.210.231 with SMTP id u81mr1450934weo.6.1314972549703; Fri, 02 Sep 2011 07:09:09 -0700 (PDT)
MIME-Version: 1.0
Sender: angelo.castellani@gmail.com
Received: by 10.216.11.211 with HTTP; Fri, 2 Sep 2011 07:08:49 -0700 (PDT)
In-Reply-To: <6A2A459175DABE4BB11DE2026AA50A5D0565D17A@XMB-AMS-107.cisco.com>
References: <1483809161.144962.1314763722334.JavaMail.root@mail05.pantherlink.uwm.edu> <4884.1314797912@marajade.sandelman.ca> <AFA379AA-7AB8-4106-BDEF-030AAEC984E6@thomasclausen.org> <8CA251EF-2842-453A-964A-E3F30713917A@cisco.com> <2507C27F-0589-488C-902F-52B55A0FCE49@thomasclausen.org> <24100.1314827183@marajade.sandelman.ca> <CAPxkH3hoQnt=Ks6ccAqwR5KPaRSanPmhh3py4dTL2qU35Z7vQw@mail.gmail.com> <CAPxkH3gMNdKR_mC9jqvyNJQK3B1fEVFv8x9rGJpm+n7KJeJ+dg@mail.gmail.com> <7748.1314884694@marajade.sandelman.ca> <CAPxkH3ifOU_TkkwwjKQvcrEBw9fP7ZXO8dQ18QaX41G=iFhJ-A@mail.gmail.com> <6A2A459175DABE4BB11DE2026AA50A5D055AE57F@XMB-AMS-107.cisco.com> <CAPxkH3j++BySF4ivhg0SWggOzSX4Zj8J08GoNO2ZoGM3ZoJnQA@mail.gmail.com> <6A2A459175DABE4BB11DE2026AA50A5D0565D17A@XMB-AMS-107.cisco.com>
From: "Angelo P. Castellani" <angelo@castellani.net>
Date: Fri, 02 Sep 2011 16:08:49 +0200
X-Google-Sender-Auth: iqtKB6kS5FBRdJFizEx2vt4P63I
Message-ID: <CAPxkH3hbEf7hpEi5m_kX2DB7YGVEhjVjfQFw8m8oYYz8QuFXHw@mail.gmail.com>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: roll WG <roll@ietf.org>
Subject: Re: [Roll] Adoption of draft-goyal-roll-rpl-compression as a new ROLL WG document
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Fri, 02 Sep 2011 14:07:35 -0000

> And we have kept reserved fields. They are set to 0 and easy to
> compress, and at the same time the protocol is open to future
> extensions.

Do you believe that avoiding having defaults, bit-flagged header
parsing and in-line fields is useful for some implementations?

It's not that complex to be handled and typically is handled
successfully in very constrained devices (see 6lowpan
implementations).

I still don't get why:

a) having lots 0s in some implementations and the optional requirement
for a separate generic compression layer.
b) or in some implementation with strict power constraints, the
requirement for a separate (!!) RPL adaptation layer

could simplify, in general, RPL systems.

> Still, we have refrained to optimize for one specific type of LLN; as
> you know, LP 802.11 and recent variations of 802.15.4 support IPv6 min
> MTU.
> [...]
> Many sorts of them actually. In one extreme there can be a really
> optimized adaption layer for each type of LLN and for each given
> protocol in which case it probably makes sense to leave the work to the
> IPv6-over-foo WG. GHC is the other end of that spectrum, where we can
> get a reasonable benefit independent of the MAC and for all sorts of
> packets.

I want to clarify better my point: I am NOT advocating to have an
optimization for a specific LL.

I will prefer having in RPL something like the following text:

<<If the lower link layer has the following characteristics:

MAX_FRAME_SIZE < K

then you MUST use the shorter format X for DIO, Y for DAO, Z for Option N>>

In this way we are not bounded to a specific link layer

> Yes, that's the discussion I had hoped we'd have with this thread, and
> the reason why I support this work.

I support this work too, as long as we are not introducing the added
complexity of handling both formats for interoperability.

I would prefer that given a link layer technology having some
high-level characteristics, only one message format is permitted.

> You'll note that GHC reuses the
> 6LoWPAN context and can probably compress efficiently the costly target
> and transit options, as well as the routing header.

Definitely, reusing context information (if possible) is a very good approach.

> My own take is that it is a good start for us, and that we should study
> its applicability and then figure if/where more specific macros
> can/need-to be applied.

Sure, let's discuss about this.

Best,
Angelo