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

Junxiao Shi <shijunxiao@email.arizona.edu> Sun, 29 September 2019 12:09 UTC

Return-Path: <shijunxiao@email.arizona.edu>
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 0B005120098 for <icnrg@ietfa.amsl.com>; Sun, 29 Sep 2019 05:09:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=email-arizona-edu.20150623.gappssmtp.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 Yz-u9zx45A8o for <icnrg@ietfa.amsl.com>; Sun, 29 Sep 2019 05:09:07 -0700 (PDT)
Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) (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 4A07F120088 for <icnrg@irtf.org>; Sun, 29 Sep 2019 05:09:07 -0700 (PDT)
Received: by mail-ot1-x334.google.com with SMTP id y39so6017067ota.7 for <icnrg@irtf.org>; Sun, 29 Sep 2019 05:09:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email-arizona-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I+trLO4q9puHk8gaW+WNNAv5vwrfpAxbev6PIZaT460=; b=AJ9Fz7Bkkcxsf0h51O5XHATpye0i5VZ1wnFmYBnc6HzIVERX2TLW9BNZSgO59dZW9o X4vWsbwBd9LZ3Iik7NaWgu4uC2GKOO+WvL1FAp9iIMwC2ZJnx4ExbIaGWIXNuwuw1Jba ATRPqYvVEzNaAGm2cKNTZSXeFFNwxW1iDIxjMAI98OIRBeCbtvCZR4GY4shegA3pSeyT AKNXdUYCLCk65A4BfZ2bxe6Sqn5YT1l7Mnfb8suEN2Qet3Qde52WlKt90rvqL4eWc0oE lLyzTzDVgK24r+7ckSakfcfmMNFEOa2BJ26Ltep6f47YYQQpLXQqJlFoYqe95MU+BdT1 rdpg==
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:cc; bh=I+trLO4q9puHk8gaW+WNNAv5vwrfpAxbev6PIZaT460=; b=pTIeOYkNiBQfmS4ombtT8UoWBxTBau6kFitS8HUN30a/RoohDBdk5F7BNMhFzY+/Ly dZt3GueARHZtOYekO0V9LfPLaJMvgYr4/fCdBcq6k4lEIoFLS123/NkHkXoIfys4U2pQ TpaYQEWLKhJWDShb2RJPanzMwX+0mjtBp3HkTo3Z5Dxscodlj+Zz1HIzb1dxbvrmio1i pdCR9goDPWvCqdajB8ezKyJDCTP+gxi88kTDxodOsLUjtk5ms9Xvq50P9EAASQ3BwbCX xMs2vkHnnZubyIC6HtR3lCA86sjN3pcdMQvglAIrJUESvGHbsKs8u3VVF+toQYYSz0yM eesA==
X-Gm-Message-State: APjAAAU/fUBwSqanfmv9Em1857SgAUrrjNCuwk/ir3GaPSdh0iz/WguA sqPoIbu19YHvmiEidENAjvzOaoPV222eYBB5bXanjz4=
X-Google-Smtp-Source: APXvYqzg87Iys2xu5wN/y4XsA/XPqQ793oNCvpLfFxNcBgZ56/ns8D3faoBgzIOCs5AzRJWcSKK7FSBifI2zavdgzeY=
X-Received: by 2002:a05:6830:16c5:: with SMTP id l5mr8656858otr.252.1569758946279; Sun, 29 Sep 2019 05:09:06 -0700 (PDT)
MIME-Version: 1.0
References: <156891402851.4500.8903318651954315467@ietfa.amsl.com> <87y2ykry2s.fsf@gundogan.net>
In-Reply-To: <87y2ykry2s.fsf@gundogan.net>
From: Junxiao Shi <shijunxiao@email.arizona.edu>
Date: Sun, 29 Sep 2019 08:08:55 -0400
Message-ID: <CAOFH+ObWL=rsu7ASL6ko0Oj5LwpRjCho8bFDGAmqs8ttYKjypQ@mail.gmail.com>
To: Cenk Gündoğan <mail=2Bietf=40gundogan.net@dmarc.ietf.org>
Cc: icnrg@irtf.org
Content-Type: multipart/alternative; boundary="0000000000006063050593affc02"
Archived-At: <https://mailarchive.ietf.org/arch/msg/icnrg/u6WBSVDbWFcL8PJSXoqR3PDUN-4>
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: Sun, 29 Sep 2019 12:09:09 -0000

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".

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.


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

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
>
>