[6lowapp] hardware trends, new vs. existing protocols [Re: [6lowpan] 4861 usage in LLNs]

Kris Pister <pister@eecs.berkeley.edu> Tue, 10 November 2009 02:53 UTC

Return-Path: <pister@eecs.berkeley.edu>
X-Original-To: 6lowapp@core3.amsl.com
Delivered-To: 6lowapp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 14C863A68C2; Mon, 9 Nov 2009 18:53:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yo0rF3LfP7Fk; Mon, 9 Nov 2009 18:53:02 -0800 (PST)
Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.87]) by core3.amsl.com (Postfix) with ESMTP id 3E7123A6841; Mon, 9 Nov 2009 18:53:02 -0800 (PST)
Received: from [192.168.1.100] (c-24-4-148-227.hsd1.ca.comcast.net [24.4.148.227]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.14.3/8.13.5) with ESMTP id nAA2rOdn019503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 9 Nov 2009 18:53:26 -0800 (PST)
Message-ID: <4AF8D5A0.1020600@eecs.berkeley.edu>
Date: Mon, 09 Nov 2009 18:53:20 -0800
From: Kris Pister <pister@eecs.berkeley.edu>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Jonathan Hui <jhui@archrock.com>
References: <87y6mfwbfk.fsf@kelsey-ws.hq.ember.com> <1257809361.11184.123.camel@dellx1> <BCFFD6A3-8B4F-49CF-A657-DE34485134E1@tzi.org> <4AF8C20C.3070905@eecs.berkeley.edu> <9256B623-E13C-4EB3-9DE9-F850F2E828AC@tzi.org> <6B8DDEBE-5550-4795-81E0-DC137114EF83@archrock.com>
In-Reply-To: <6B8DDEBE-5550-4795-81E0-DC137114EF83@archrock.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: 6lowpan <6lowpan@ietf.org>, 6lowapp@ietf.org
Subject: [6lowapp] hardware trends, new vs. existing protocols [Re: [6lowpan] 4861 usage in LLNs]
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Application protocols for constrained nodes and networks <6lowapp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lowapp>
List-Post: <mailto:6lowapp@ietf.org>
List-Help: <mailto:6lowapp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Nov 2009 02:53:03 -0000

+1 in favor of using optimized DHCP if possible (no opinion on 'if 
possible'), rather than inventing something new.

As I've shared with several people in private emails recently, it's 
pretty clear that lowpan nodes are going to get more capable moving 
forward, not less.  Why?  Radios don't scale down in area when you scale 
CMOS processes.  Today's 15.4 single-chip nodes are made in technologies 
that are several (maybe five?) generations behind the cutting edge.  
This makes economic sense because the sales volumes don't support the 
need for expensive mask sets yet.
When there's a volume application, and someone puts a 5mm2 radio into 
modern CMOS, it just doesn't make sense to put 48kB of rom/flash and 
10kB of RAM next to it.  You'll put hundreds of kB of rom/flash, and 
many tens of kB of RAM, and the radio will still be by far the biggest 
thing on the chip.

Even the 48k/10k node from the (very nice) 6lowapp bof presentation is 
not up to commercial standards - it's a five year old, expensive, 
academic platform - great for it's time, but old.  Single-chip nodes 
from Jennic, Freescale, etc. have ~200kB ROM/flash + 128kB RAM, a 32bit 
processor, and they aren't made in cutting-edge processes yet either. 
Life is just going to get better.  Let's try to find the smallest 
optimized set of *existing* protocols that serve our needs, that run on 
the existing new low-cost hardware (not the old workhorses). Let's 
invent the absolute minimum of new "optimized" protocols, because it's 
not at all clear to me that we are optimizing the right things at this 
point.  The less we invent, the broader the set of applications and 
applications programmers we address.

ksjp

Jonathan Hui wrote:
>
> On Nov 9, 2009, at 5:50 PM, Carsten Bormann wrote:
>
>> Again, entirely getting rid of a function is always the best 
>> optimization.
>> Can we do that for DAD?
>
> The *need* for DAD is the core question for me.  As specified within 
> 6lowpan-nd now, IPv6 addresses are maintained using a centralized 
> protocol.  That protocol looks and smells like DHCP - there's 
> request/response, lease times, relays.  The whiteboard may also 
> administratively assign addresses.  So in the end, it's not clear to 
> me why we would need to *detect* duplicates when we essentially 
> *avoid* them from the beginning.
>
> I've voiced my comment several times over the past 1+ years and 
> presented a draft that argues for the use of optimized DHCP in Dublin, 
> so this is not new from my end.  The fact that the current 6lowpan-nd 
> document has evolved towards using DHCP-like mechanisms is not an 
> accident.  But if what we do is DHCP-like, it would seem to make sense 
> to utilize existing DHCP infrastructure rather than defining something 
> new.
>
> -- 
> Jonathan Hui
>