Re: [coman] Device Classes?

"Sehgal, Anuj" <s.anuj@jacobs-university.de> Fri, 04 April 2014 09:56 UTC

Return-Path: <s.anuj@jacobs-university.de>
X-Original-To: coman@ietfa.amsl.com
Delivered-To: coman@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 743F61A0137 for <coman@ietfa.amsl.com>; Fri, 4 Apr 2014 02:56:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.56
X-Spam-Level:
X-Spam-Status: No, score=-1.56 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, T_RP_MATCHES_RCVD=-0.01] 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 x2Raw3ruUw8Q for <coman@ietfa.amsl.com>; Fri, 4 Apr 2014 02:56:05 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) by ietfa.amsl.com (Postfix) with ESMTP id 352931A004D for <coman@ietf.org>; Fri, 4 Apr 2014 02:56:05 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 7E40A1054; Fri, 4 Apr 2014 11:56:00 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id 0unreYd32_xP; Fri, 4 Apr 2014 11:55:59 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Fri, 4 Apr 2014 11:55:58 +0200 (CEST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id CFED02002F; Fri, 4 Apr 2014 11:55:57 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id M3pP4c7gohuT; Fri, 4 Apr 2014 11:55:57 +0200 (CEST)
Received: from exchange.jacobs-university.de (shubcas03.jacobs.jacobs-university.de [10.70.0.153]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by hermes.jacobs-university.de (Postfix) with ESMTPS id 0DFED2002C; Fri, 4 Apr 2014 11:55:57 +0200 (CEST)
Received: from SXCHMB01.jacobs.jacobs-university.de ([fe80::c1f:c30f:99ac:df0c]) by SHUBCAS05.jacobs.jacobs-university.de ([::1]) with mapi id 14.03.0181.006; Fri, 4 Apr 2014 11:55:56 +0200
From: "Sehgal, Anuj" <s.anuj@jacobs-university.de>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Thread-Topic: [coman] Device Classes?
Thread-Index: AQHPTketD8PYZfapr0ukiqo6WmJRuZsA77uAgAAcAoCAAA5SgA==
Date: Fri, 04 Apr 2014 09:55:55 +0000
Message-ID: <466C8694-13D0-45B2-8BC6-BEA22C9D85B6@jacobs-university.de>
References: <533BBFB7.2000100@gmx.net> <893C4FAC-437D-4140-9832-A9ABA2D1518A@tzi.org> <533E75A9.5080003@gmx.net>
In-Reply-To: <533E75A9.5080003@gmx.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.50.244.234]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <09F7A325916F0A42992D03096B684A96@jacobs.jacobs-university.de>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/coman/dgUg_p8-JrOiXkNgyDWiVIXlwgM
Cc: "coman@ietf.org" <coman@ietf.org>, Carsten Bormann <cabo@tzi.org>
Subject: Re: [coman] Device Classes?
X-BeenThere: coman@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Management of Constrained Networks and Devices <coman.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/coman>, <mailto:coman-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/coman/>
List-Post: <mailto:coman@ietf.org>
List-Help: <mailto:coman-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/coman>, <mailto:coman-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Apr 2014 09:56:09 -0000

Hi,

I have on several occasions used Contiki to implement applications using some combination of the following stack on Class 1 devices (TelosB):

> I wonder whether someone has tried to implement a router with
> * an IPv6 stack
> * RPL
> * network management protocol (as Thomas was asking for)
> * CoAP
> * + the actual application

After fitting all this in, there really is no space left for security (DTLS, etc.). 

Fitting DNS should not be too complicated provided we knock off something from this list (either CoAP or network management protocol, SNMP in our case), but I say this based on experience with an mDNS implementation we did a few years ago that works on AVR Raven devices (closer to Class 2). 

In general, a basic Contiki 2.6 system (minus CoAP from above) takes up about 85% of Flash and statically allocated RAM on a TelosB (Class 1). Adding CoAP and a network management protocol will push this further, with nearly no space left. In fact, if the data model is too large or complicated for the network management protocol, then chances are that it too would not fit either. Similar constraints apply to CoAP as well. Working with CoAP up to Contiki 2.6, while using TelosB (Class 1), was also quite a struggle. At best we were able to work with a handful of resources, since the amount of memory left over was not too much.

I have not checked while writing this email, but at least in the past it was the RPL implementation that would take a significant amount of resources. This was largely due to non-storing mode not being implemented, but it would seem that Contiki 2.7 does have the option to enable non-storing mode. This might help reduce resource consumption further.

When we attempted an implementation of DTLS, we used the AVR Raven (Class 2) because TelosB (Class 1) did not have enough resources to function with it.

Regards,
Anuj

> On 04/04/2014 09:24 AM, Carsten Bormann wrote:
>> On 02 Apr 2014, at 09:43, Hannes Tschofenig <hannes.tschofenig@gmx.net> wrote:
>> 
>>> IMHO these classes are about end devices rather than constrained routers
>>> and switches.
>> 
>> Actually, the device classes are about nodes in general (hosts and routers).  The document then goes on to say:
>> 
>>   (An alternative name, when the properties as a network node are not
>>   in focus, is "constrained device”.)
>> 
>> Protocols such as RPL take great care to enable the use of class-1 devices as routers (non-storing mode).
>> Constrained management will need to match that.
>> 
>> A more important dichotomy than host vs. router may be monitoring vs. configuration.
>> 
>> Grüße, Carsten
>> 
>> _______________________________________________
>> coman mailing list
>> coman@ietf.org
>> https://www.ietf.org/mailman/listinfo/coman
>> 
> 
> _______________________________________________
> coman mailing list
> coman@ietf.org
> https://www.ietf.org/mailman/listinfo/coman