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

Henning Schulzrinne <hgs@cs.columbia.edu> Tue, 10 November 2009 13:33 UTC

Return-Path: <hgs@cs.columbia.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 08C763A67FC; Tue, 10 Nov 2009 05:33:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.184
X-Spam-Level:
X-Spam-Status: No, score=-6.184 tagged_above=-999 required=5 tests=[AWL=0.415, 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 e08SfhkEzFso; Tue, 10 Nov 2009 05:33:47 -0800 (PST)
Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6]) by core3.amsl.com (Postfix) with ESMTP id A8FCC3A69F0; Tue, 10 Nov 2009 05:33:47 -0800 (PST)
Received: from new-host.home (pool-71-187-38-54.nwrknj.fios.verizon.net [71.187.38.54]) (user=hgs10 mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id nAADY9DP007463 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 10 Nov 2009 08:34:09 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: Henning Schulzrinne <hgs@cs.columbia.edu>
In-Reply-To: <429b380e0911092220m4a3b0c09n319bb162e92bbbe9@mail.gmail.com>
Date: Tue, 10 Nov 2009 08:34:08 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <F132A949-DA26-4F92-872E-4F54E1D7CDD4@cs.columbia.edu>
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> <4AF8D5A0.1020600@eecs.berkeley.edu> <05C6A38D732F1144A8C4016BA4416BFE0242D3B1@SPO-EXVS-02.itron.com> <4AF90433.30204@eecs.berkeley.edu> <429b380e0911092220m4a3b0c09n319bb162e92bbbe9@mail.gmail.com>
To: Shidan <shidan@gmail.com>
X-Mailer: Apple Mail (2.1076)
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.65 on 128.59.29.6
Cc: "Stuber, Michael" <Michael.Stuber@itron.com>, 6lowpan <6lowpan@ietf.org>, 6lowapp@ietf.org
Subject: Re: [6lowapp] [6lowpan] hardware trends, new vs. existing protocols [Re: 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 13:33:49 -0000

 From participation in other working groups, discussions about  
encoding, known as the famous binary vs. text discussion, have a long  
and unproductive history. If this is to be more than assertions and  
argument-by-authority, proponents of feature-restricted or special- 
purpose protocols have the burden of proof: They have to show, based  
on realistic assumptions and real-world measurements, that more  
general techniques don't work in an interesting set of cases. Just  
saying that you can construct a network where a meter wants to tell  
its life story every ten seconds to 1000 light bulbs equipped with 2- 
bit processors all on the same PAN isn't too helpful unless this is a  
realistic deployment scenario. (I'm not saying anybody has done this  
so far, but we've come close.) In particular, I'd like to see  
observation-based estimates of message and bit rates for likely  
deployment scenarios. Even a 20 kb/s network can shovel 160,000 bytes  
a minute - that's a lot of air time for meters to fill.

 From experience, binary and other special-purpose encodings often  
only save 20 or 50%, i.e., not enough to make a fundamental difference  
and the processing effort is also often exaggerated. This is  
particularly true once you add crypto to the mix, which tends to  
completely dominate simple processing like embedded web servers.

We are unlikely to get away with protocols that ignore security or  
rely on non-crypto mechanisms going forward, so focusing on whether it  
takes 1 or 10 bytes to turn on a lightbulb isn't likely going to help  
much if the signature takes 500 bytes.

I also agree with the deployed-base fallacy. In real life, much of  
that base is never upgraded - often because remote upgrades simply  
aren't supported. By the time you send a technician to the household  
to swap the EPROM, the hardware cost is in the noise compared to the  
cost of the truck roll.

In such cases, it's much better to run the old, insecure and  
inflexible protocol in parallel with the new version for more capable  
hardware.

Henning

On Nov 10, 2009, at 1:20 AM, Shidan wrote:

> +100
>
> On Tue, Nov 10, 2009 at 1:12 AM, Kris Pister  
> <pister@eecs.berkeley.edu> wrote:
> > Abandoning the installed base just goes to reinforce the idea
> > that IP isn't an appropriate technology for things.
>
> Michael - I think that we have the same goal, but I disagree with  
> that statement.  I think that re-writing every protocol from  
> discovery through transport to applications, from scratch, is what  
> reinforces the idea that IP isn't an appropriate technology for  
> things.
>
> I realize that there are pressures from an installed base, but at  
> this point it's a tiny fraction of the overall potential.  If we let  
> the 1% installed base dictate the path for the next 99%, we should  
> do our best to ensure that it's the right path.
>
> ksjp
>
>
> Stuber, Michael wrote:
> Life may be getting better, but that doesn't mean we have the wrong
> target.  Abandoning the installed base just goes to reinforce the idea
> that IP isn't an appropriate technology for things.  Qualifications  
> for
> parts in appliances, meters, and cars may take much longer than in  
> other
> consumer electronics.  There are lots of products shipping today with
> 802.15.4 chips that do not match the (nicer) specs you outline below.
> If we want to enable IP everywhere, we must acknowledge that small
> footprint parts are an important part of "everywhere."
>
> That said, I too am in favor of exploring optimized DHCP.  It would
> provide the flexibility of living in an edge router, or being
> centralized.  It is a well defined, characterized protocol.
> -----Original Message-----
> From: 6lowpan-bounces@ietf.org [mailto:6lowpan-bounces@ietf.org] On
> Behalf Of Kris Pister
> Sent: Monday, November 09, 2009 6:53 PM
> To: Jonathan Hui
> Cc: Carsten Bormann; 6lowpan; 6lowapp@ietf.org
> Subject: [6lowpan] hardware trends, new vs. existing protocols [Re:  
> 4861
> usage in LLNs]
>
> +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
>
>
> _______________________________________________
> 6lowpan mailing list
> 6lowpan@ietf.org
> https://www.ietf.org/mailman/listinfo/6lowpan
>
> _______________________________________________
> 6lowapp mailing list
> 6lowapp@ietf.org
> https://www.ietf.org/mailman/listinfo/6lowapp
>
> _______________________________________________
> 6lowapp mailing list
> 6lowapp@ietf.org
> https://www.ietf.org/mailman/listinfo/6lowapp