Re: [6tisch] [6lo] Compression Reference and Coalescence

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 26 January 2016 16:23 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 380A41B3089; Tue, 26 Jan 2016 08:23:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 UCtCSYPiLBqy; Tue, 26 Jan 2016 08:23:37 -0800 (PST)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2E0A1B305C; Tue, 26 Jan 2016 08:23:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13352; q=dns/txt; s=iport; t=1453825417; x=1455035017; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=ReMbqqsefIuMBWbOGoowTfKq1wQDyYuXSViR25rS1RA=; b=OHANRvpEhluWDEA5p4vC35bQPon8tFWzP2nHWIMdxdsclfY8vckZQkTM SIMSEHJeTz1ovCus0+icCb7F4t9l7hefW3OV/riCWHyM4TKKZdtdRSjOY ILEqtjDTO16nwnQLo/vlg123jB9EYQPEH3Y7B/hhuXiN8qWO7n6V+y7l0 s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0D/AQB/nKdW/5BdJa1egm5MUm0GiFGyG?= =?us-ascii?q?gENgWKGDwIcgS44FAEBAQEBAQGBCoRBAQEBBCMEBlwCAQgRBAEBKAMCAgIwFAk?= =?us-ascii?q?IAgQBEgiIE69FjyQBAQEBAQEBAQEBAQEBAQEBAQEBAQEVhjKEbYRhIIJLgToFh?= =?us-ascii?q?1mPIAGNToFljRuKcINSAR4BAUKBfgMYgVBqh0h8AQEB?=
X-IronPort-AV: E=Sophos;i="5.22,350,1449532800"; d="scan'208,217";a="231492246"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2016 16:23:36 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id u0QGNaee008378 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 26 Jan 2016 16:23:36 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 26 Jan 2016 10:23:35 -0600
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1104.009; Tue, 26 Jan 2016 10:23:35 -0600
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Tengfei Chang <tengfei.chang@gmail.com>, "6tisch@ietf.org" <6tisch@ietf.org>, "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: [6lo] Compression Reference and Coalescence
Thread-Index: AQHRV1+bt08kYDUUHE+JUPXG1+5Hup8N+/DA
Date: Tue, 26 Jan 2016 16:23:23 +0000
Deferred-Delivery: Tue, 26 Jan 2016 16:22:46 +0000
Message-ID: <078cb52ea1904304b32f2936e24e19a4@XCH-RCD-001.cisco.com>
References: <CAAdgstTGw=YV0bAe60H1VLaA1ikKZX41OiQTKRPrXkEM3_LtfQ@mail.gmail.com>
In-Reply-To: <CAAdgstTGw=YV0bAe60H1VLaA1ikKZX41OiQTKRPrXkEM3_LtfQ@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.61.71.115]
Content-Type: multipart/alternative; boundary="_000_078cb52ea1904304b32f2936e24e19a4XCHRCD001ciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/N1G3ssHa8uRHDjYy_qRBsgjKVT0>
Subject: Re: [6tisch] [6lo] Compression Reference and Coalescence
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jan 2016 16:23:39 -0000

Hello Tengfei:

The draft is meant to express exactly what your reasonable case shows.
There is an example of that in appendix.
What exactly did I write improperly that it can be understood otherwise?

Take care ;

Pascal

From: 6lo [mailto:6lo-bounces@ietf.org] On Behalf Of Tengfei Chang
Sent: lundi 25 janvier 2016 12:00
To: 6tisch@ietf.org; 6lo@ietf.org
Subject: [6lo] Compression Reference and Coalescence

Dear all,

I have some concern on the compression Reference and Coalescence.

In the 6lorh draft, all the hops in RH3 are compressed according to the compression reference (the source address, root usually). And when doing Coalescence, the process is kind of like taking the first address in first RH3 as the reference. The inconsistency between compression reference and Coalescense may waste some bytes in some cases.

For example:
A packet is issued by root with a compressed RH3 along an A->B->C->D source route path.

The nodes address are:
root:      bbbb::0000:0000:0000:0001
node A: bbbb::1111:2222:3333:0001
node B: bbbb::1111:2222:3333:0002
node C: bbbb::1111:2222:3333:0003
node D: bbbb::1111:2222:3333:0004

According to the 6lorh draft: all hops in RH3 will be compressed according to reference, which is the root. The  Packet received by node A is:
----------------------------
Type 3 RH3-6LoRH Size = 2  1111 2222 3333 0001
                                           1111 2222 3333 0002
                                           1111 2222 3333 0003

And which maybe more reasonable packet would be like :
----------------------------
Type 3 RH3-6LoRH Size = 0  1111 2222 3333 0001
Type 0 RH3-6LoRH Size = 1  02
                                            03
Which means the first hop in first RH3 entry is compressed according to the reference(which is the root in this case) and the rest hops are compressed according to the first hop in first RH3 entry. For me, this compression way is more consistent  with the way when doing coalescence.

What do you think?
Tengfei