Re: [6tisch] Comment to draft-wang-6tisch-6top-coapie-01.txt
Tero Kivinen <kivinen@iki.fi> Mon, 28 September 2015 09:16 UTC
Return-Path: <kivinen@iki.fi>
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 15A521B32AE for <6tisch@ietfa.amsl.com>; Mon, 28 Sep 2015 02:16:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.778
X-Spam-Level:
X-Spam-Status: No, score=0.778 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, SPF_NEUTRAL=0.779] autolearn=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 7d0-Zy5WoBfd for <6tisch@ietfa.amsl.com>; Mon, 28 Sep 2015 02:16:35 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5EC51B3207 for <6tisch@ietf.org>; Mon, 28 Sep 2015 02:16:34 -0700 (PDT)
Received: from fireball.acr.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.15.1/8.14.8) with ESMTPS id t8S9GSVe002607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 12:16:28 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.acr.fi (8.15.1/8.14.8/Submit) id t8S9GRsX018373; Mon, 28 Sep 2015 12:16:27 +0300 (EEST)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-ID: <22025.1387.910322.578352@fireball.acr.fi>
Date: Mon, 28 Sep 2015 12:16:27 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Alexander Pelov <alexander@ackl.io>
In-Reply-To: <5607118F.7010400@ackl.io>
References: <21934.16929.897976.905775@fireball.acr.fi> <50838770.1280677.1437661723389.JavaMail.yahoo@mail.yahoo.com> <CADJ9OA-n9jtP1P75zhP0TyCPiHOoFb0z9EKbM0tHYaHKaAHjnA@mail.gmail.com> <5607118F.7010400@ackl.io>
X-Mailer: VM 8.2.0b under 24.5.1 (x86_64--netbsd)
X-Edit-Time: 15 min
X-Total-Time: 18 min
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/T9bkR-J0AWhQIugGpvkhOj0Mgio>
Cc: 6tisch@ietf.org
Subject: Re: [6tisch] Comment to draft-wang-6tisch-6top-coapie-01.txt
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: Mon, 28 Sep 2015 09:16:36 -0000
Alexander Pelov writes: > For me the ideal solution would be if one of the 16 payload types could be > allocated to CoAP. This way, we could use it for 6TiSCH and long-range, > low-rate WANs. However, this would provide for a generic, extensible mechanism > of operating these networks. Adding too much overhead (not sure how many bytes > 802.15.9 takes) would make it impractical for LR-WANs. If the message fits in the single frame (i.e. is less than 100 octet long, when using PHYs with 127 octet max frame length), 802.15.9 adds following overhead: * Normal MAC header * 2 octets for the Header Termination 1 IE * 2 octets for the MP IE Payload IE header * 1 octet for transaction control * 2 octets for multiplex ID (may be omitted in future for some IDs) And thats it, i.e. 1-3 octets, I would expect it to go to 1 for CoAP. If specify your own Payload IE, you might save 1-3 octets, depending how you specify the IE. To support fragmentation you most likely need at least one octet to specify whether it is in use (== transaction control), and then you are at the same as 802.15.9. When the frame is larger than what PHY support the overhead is: For the first frame: * Normal MAC header * 2 octets for the Header Termination 1 IE * 2 octets for the MP IE Payload IE header * 1 octet for transaction control * 1 octet for fragment number * 2 octets for total frame size * 2 octets for multiplex ID For the following and last frame * Normal MAC header * 2 octets for the Header Termination 1 IE * 2 octets for the MP IE Payload IE header * 1 octet for transaction control * 1 octet for fragment number I.e. 6 octets for first frame, and 2 octets for following frames. > On the packet fragmentation, I like the approach taken by the 802.15.4k LECIM > group, which introduces a new type of frame - 110 Fragment Frame - and sends > the full 802.15.4 MAC header only in the first frame (context establishment - > some other info is added also). That fragmentation was completely broken, and cannot be used in general cases. It has been removed from the generic MAC parts, and moved to the LECIM PHY description, and it is now specified as PHY layer fragmentation, i.e. it is below MAC and only works with LECIM PHY. > Afterwards, the set of fragments is identified only through a 7 bit > identifier assigned by the sender. In each consecutive fragment, > only a 2 byte MAC header is included (3 bits frame type (= 110), 7 > bits frame ID, 6 bits frame counter). Extremely efficient in terms > of overhead (e.g. MAC addresses are sent only during the context > establishment), and particularly well adapted to infrastructure > networks. Not sure if it would fit all 6TiSCH scenarios though. It does not really work in general cases. The transaction id (TID) is only 6 bits, and as there is no addresses, if two devices talking to each other at the same time pick the same TID, this will mess up the whole transaction for both. There was also lots of other things broken in it... -- kivinen@iki.fi
- [6tisch] Comment to draft-wang-6tisch-6top-coapie… Tero Kivinen
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Qin Wang
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Tero Kivinen
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Qin Wang
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Paul Duffy
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Pascal Thubert (pthubert)
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Pat Kinney
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Tero Kivinen
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Qin Wang
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Thomas Watteyne
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Tero Kivinen
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Thomas Watteyne
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Alexander Pelov
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Tero Kivinen
- Re: [6tisch] Comment to draft-wang-6tisch-6top-co… Tero Kivinen