Re: [6lowapp] Where does TCP not work

Jonathan Hui <jhui@archrock.com> Tue, 03 November 2009 02:23 UTC

Return-Path: <jhui@archrock.com>
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 180533A6961 for <6lowapp@core3.amsl.com>; Mon, 2 Nov 2009 18:23:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 2X15oGQ+RapC for <6lowapp@core3.amsl.com>; Mon, 2 Nov 2009 18:23:46 -0800 (PST)
Received: from mail.sf.archrock.com (mail.sf.archrock.com [216.121.16.71]) by core3.amsl.com (Postfix) with ESMTP id 51E493A688D for <6lowapp@ietf.org>; Mon, 2 Nov 2009 18:23:46 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.sf.archrock.com (Postfix) with ESMTP id 9CE2CAF83E; Mon, 2 Nov 2009 18:24:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at
Received: from mail.sf.archrock.com ([127.0.0.1]) by localhost (mail.sf.archrock.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Um7617SFwTa; Mon, 2 Nov 2009 18:24:02 -0800 (PST)
Received: from [10.0.1.199] (adsl-71-142-89-42.dsl.pltn13.pacbell.net [71.142.89.42]) by mail.sf.archrock.com (Postfix) with ESMTP id C4CCAAF838; Mon, 2 Nov 2009 18:24:01 -0800 (PST)
Message-Id: <66D8B4F0-8106-47C2-8CC1-936791195D22@archrock.com>
From: Jonathan Hui <jhui@archrock.com>
To: Lars Eggert <lars.eggert@nokia.com>
In-Reply-To: <3C5BAF7D-CD31-434B-9AE2-BB8ED6C4B0E0@nokia.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Mon, 2 Nov 2009 18:24:00 -0800
References: <5A85AE5A-4C5D-4A0F-8CDF-BEB4C69FF002@cisco.com> <5572F86E-C14F-48E6-922D-EABBB957EE22@nokia.com> <4AEF832C.9050603@eecs.berkeley.edu> <3C5BAF7D-CD31-434B-9AE2-BB8ED6C4B0E0@nokia.com>
X-Mailer: Apple Mail (2.936)
Cc: "6lowapp@ietf.org" <6lowapp@ietf.org>
Subject: Re: [6lowapp] Where does TCP not work
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, 03 Nov 2009 02:23:47 -0000

On Nov 2, 2009, at 5:40 PM, Lars Eggert wrote:

>> In the early days of sensor networks it was not uncommon to see end- 
>> to-end best-effort loss rates of 10% or more.  I don't think that  
>> anyone tolerates that kind of performance anymore.  With link-layer  
>> ACKs and path diversity in the routing layer I think that 99.9% for  
>> best-effort is now table stakes.
>
> All that certainly helps, but I haven't seen much discussion on  
> whether we all agree that we're only going to target scenarios for  
> 6LOWAPP for which we can make the assumption that such techniques  
> will be in use.

There seems to be an implicit assumption that the target link  
technologies will be similar, if not identical, to those targeted by  
ROLL.  For those networks, Kris is right that providing >99.9% end-to- 
end success rates with <1% duty cycle for both hosts *and* routers is  
yesterday's problem.  But, yes, we need to be more explicit about what  
link technologies we are targeting.

>> Clearly Adam and his students have gotten TCP to work over multi- 
>> hop, deeply duty-cycled 15.4 radios.  I think that there are  
>> probably several others who have as well.  Any feedback from people  
>> who have tried and failed?
>
> I'm not saying that it can't be done in some scenarios - far from  
> it. But there clearly are many scenarios where TCP won't work well.


... and to decide whether or not TCP will work, we need to flip this  
thread to a top-down approach and first agree on the application  
requirements/use cases.  I have no doubt we can get TCP to work on a  
mesh of low-power, lossy links.  But are TCP's services/constraints  
appropriate for the application?  I can think of a variety of LLN  
applications that work just fine with TCP and others that could stand  
to use something else to improve latency, message efficiency, non p2p  
flows, multihoming, mobility,  etc.

--
Jonathan Hui