Re: [icnrg] I-D Action: draft-irtf-icnrg-icnlowpan-05.txt

Cenk Gündoğan <mail+ietf@gundogan.net> Tue, 01 October 2019 10:44 UTC

Return-Path: <mail+ietf@gundogan.net>
X-Original-To: icnrg@ietfa.amsl.com
Delivered-To: icnrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 962FB120127 for <icnrg@ietfa.amsl.com>; Tue, 1 Oct 2019 03:44:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level:
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (bad RSA signature)" header.d=gundogan.net
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 I6u2TZ14dvqf for <icnrg@ietfa.amsl.com>; Tue, 1 Oct 2019 03:44:39 -0700 (PDT)
Received: from mail.localdomain (trantor.gundogan.net [37.120.167.193]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F8B012001A for <icnrg@irtf.org>; Tue, 1 Oct 2019 03:44:39 -0700 (PDT)
Received: from localhost (unknown [218.189.35.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.localdomain (Postfix) with ESMTPSA id 659C624FE5 for <icnrg@irtf.org>; Tue, 1 Oct 2019 12:41:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gundogan.net; s=201712; t=1569926504; bh=NvZk0VQdQBREosMN6zImnV3EX+nkcnbppzzx3ighguY=; h=References:From:To:Subject:In-reply-to:Date:From; b=ITV4WH+7ZE80q1x/rXfglsUc3D4Ja++xxqmDtyqCwJecDtpzg5LRLVEmseINIML6d LOrCzdPty/mOmyugKs+Ql7RVWzUXvNKpvCWAyiJ9UecRaXYNiviGYwSRZPe/kJ5QSq +zAksnvZq8N166238FOiEcx8JbrNk86Orx2JCAxED2x3cCmZM7bcvkRbmIf4panFsn ylUfxu62zVHSDn4nB5JLqPUHTK6UzMWmK4U4AYLGNXfubGzwIYyYNTC04gMr14ro5s l5FpBMv10S6dipJyy/uXzwIUqJJTJTNVC18H0IYoAQqrNIxjGIHepsK0Zzp1Os0g3D ccypTdRHuFUBQ==
References: <156891402851.4500.8903318651954315467@ietfa.amsl.com> <87y2ykry2s.fsf@gundogan.net> <CAOFH+ObWL=rsu7ASL6ko0Oj5LwpRjCho8bFDGAmqs8ttYKjypQ@mail.gmail.com>
User-agent: mu4e 1.2.0; emacs 26.3
From: Cenk Gündoğan <mail+ietf@gundogan.net>
To: icnrg@irtf.org
In-reply-to: <CAOFH+ObWL=rsu7ASL6ko0Oj5LwpRjCho8bFDGAmqs8ttYKjypQ@mail.gmail.com>
Date: Tue, 01 Oct 2019 12:44:32 +0200
Message-ID: <874l0sbv8v.fsf@gundogan.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/icnrg/qGFed2kU4z-u4HhZPPd8hUV_UyE>
Subject: Re: [icnrg] I-D Action: draft-irtf-icnrg-icnlowpan-05.txt
X-BeenThere: icnrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Information-Centric Networking research group discussion list <icnrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/icnrg>, <mailto:icnrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/icnrg/>
List-Post: <mailto:icnrg@irtf.org>
List-Help: <mailto:icnrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/icnrg>, <mailto:icnrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Oct 2019 10:44:42 -0000

Hello Junxiao,

thank you for the great feedback. The proposed name compression on the
interim slides is an alternative to the "default name compression" in
the current version of the draft. While the "default name compression"
in the document only compresses names purely consisting of
"GenericNameComponentTypes", the "alternative" approach encodes a
minimum number of name component types and lengths into 1 octet (as you
also correctly described in your mail below). The result is a name
compression scheme that supports names of a) longer lengths than 15
octets and 2) consisting of different name component types. It is,
however, inferior to the "default compression" in the document
w.r.t. encoded octets (for names <= 15 octets && all
components=Generic).

We (as a group) *still* need to make a decision on which poison to
pick. What is your preference on this topic?

In addition to the discussion above, the ICNLoWPAN document now contains
an extensibility mechanism that enables external drafts to update the
(name) compression schemes. Thus, we can add more elaborate schemes
depending on CCNx/NDN protocol changes later on.

Below are further comments.

On Sun, Sep 29 2019 at 14:08 +0200, Junxiao Shi wrote:

> Hi Cenk
>
> I saw the interim meeting slides and the idea about allowing typed name
> components: two bits to encode one of four frequently used name component
> types, and six bits to encode TLV-LENGTH up to 63.
> The types selected are: Generic, Timestamp, Version, SequenceNum. I wonder
> what's the basis of this selection? Segment type has been used extensively
> in many NDN protocols, including file transfer, NFD Management, and NLSR.
> However, I can't say the same for IoT apps, despite my own building sensing
> app has been using Segment type always set to zero "for consistency with
> other NDN protocols".
>

So, I presume that you suggest a different selection? Which component
would you replace for "Segment"? (if we want to stick with 2 bits).

> One possibility is leaving this choice to the deployment. Parameters are:
> (1) how many bits for TLV-TYPE and how many bits for TLV-LENGTH (2) the
> TLV-TYPE table.
> Either a network administrator needs to configure these parameters, or the
> device could report its preference at startup time, to be associated with
> ContextID as described in Section 8.1.
> Once the parameters are configured or established through ContextID
> mechanism, the compression format of Name is determined according to the
> parameters.
> The default state without parameters could be Generic only, because it's
> unfair to pick a specific set of types and discriminate against apps trying
> to use others.

I like your proposal of 1) having the number of bits for each category
configurable and 2) of leaving the component selection to the network
administrator. Though, I really think that the vanilla behaviour
(without any configurations) should encode more than just the
GenericType. That's why I chose 4 types (2 bits) in the first
place. I also think that 6 bits (0--63 octets) are enough to encode
component lengths in IoT scenarios, am I wrong?

>
>
> P.S. typo in Section 8.2, (1...128) should be (1...127)
>

Sounds sensible. Thanks for the hint.

Best,
Cenk

> Yours, Junxiao
>
> On Thu, Sep 19, 2019, 13:32 Cenk Gündoğan <mail=2Bietf=
> 40gundogan.net@dmarc.ietf.org> wrote:
>
>> Dear ICNRG,
>>
>> this update adds an extensibility mechanism to the ICNLoWPAN dispatch
>> format. This allows future I-Ds to extend the compression rule set
>> and to react to changes in the CCNx and NDN packet format.
>>
>> Further, I want to bring our last discussion on the name compression
>> topic into focus (former mail is attached). The very essence of this
>> discussion is:
>>
>> * the current default name compression strategy in ICNLoWPAN is
>>   restrictive, but effective, if ((only generic-typed name components
>>   are used) && (all component lengths <= 15 octets)). Also note that
>>   this stateless compression is invoked hop-wise and mostly for
>>   Interests only, since returning name prefixes for Data messages are
>>   elided by the stateful compression and added by ICNLoWPAN before
>>   passing the Data packet to the CCNx/NDN network stack.
>>
>> * do we want to keep the simple name compression (above) as default
>>   and work on more elaborate compression schemes (including
>>   static/dynamic dictionary-based approaches, e.g.) as part of future
>>   I-Ds? The new extensibility mechanism (in the last update) surely
>>   opens the door to future I-Ds that solely focus on the name
>>   compression and which simply integrate into ICNLoWPAN.
>>
>> We will bring up this discussion again during the interim meeting in
>> Macau and a lively discussion on site or on the list is greatly
>> appreciated (:
>>
>> Cheers,
>> Cenk
>>
>>
> _______________________________________________
> icnrg mailing list
> icnrg@irtf.org
> https://www.irtf.org/mailman/listinfo/icnrg