Re: [6lowapp] Where does TCP not work

Lars Eggert <lars.eggert@nokia.com> Tue, 03 November 2009 02:38 UTC

Return-Path: <lars.eggert@nokia.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 4C05A3A6884 for <6lowapp@core3.amsl.com>; Mon, 2 Nov 2009 18:38:52 -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=[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 dkSHS+-B914h for <6lowapp@core3.amsl.com>; Mon, 2 Nov 2009 18:38:51 -0800 (PST)
Received: from mail.fit.nokia.com (mail.fit.nokia.com [195.148.124.195]) by core3.amsl.com (Postfix) with ESMTP id D48273A687E for <6lowapp@ietf.org>; Mon, 2 Nov 2009 18:38:50 -0800 (PST)
Received: from [172.20.100.59] ([66.201.48.54]) (authenticated bits=0) by mail.fit.nokia.com (8.14.3/8.14.3) with ESMTP id nA32co1U083673 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 3 Nov 2009 04:38:52 +0200 (EET) (envelope-from lars.eggert@nokia.com)
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: multipart/signed; boundary=Apple-Mail-75--264149447; protocol="application/pkcs7-signature"; micalg=sha1
From: Lars Eggert <lars.eggert@nokia.com>
In-Reply-To: <66D8B4F0-8106-47C2-8CC1-936791195D22@archrock.com>
Date: Mon, 2 Nov 2009 18:38:44 -0800
Message-Id: <72876869-927E-45B6-A9D9-1A7E5A22E196@nokia.com>
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> <66D8B4F0-8106-47C2-8CC1-936791195D22@archrock.com>
To: Jonathan Hui <jhui@archrock.com>
X-Mailer: Apple Mail (2.1076)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.fit.nokia.com [195.148.124.194]); Tue, 03 Nov 2009 04:38:54 +0200 (EET)
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:38:52 -0000

Hi,

On 2009-11-2, at 18:24, Jonathan Hui wrote:
> On Nov 2, 2009, at 5:40 PM, Lars Eggert wrote:
> 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.

I also should have mentioned that packet reordering is an issue. TCP  
basically treats a reordered packet as a loss, so you want that ration  
to be at most in the same ballpark as your loss ratio.

>>> 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'm not sure this can work. Sure, we have a set of applications  
identified now that we can guesstimate the requirements of. But the  
thing with a network is that once you build it, new apps will come.  
But there certainly is no harm in thinking about currently identified  
apps.

>  I have no doubt we can get TCP to work on a
> mesh of low-power, lossy links.

I wouldn't agree in to this generic statement. But I do believe that  
if you make some strong assumptions on radio technologies, routing,  
etc. that it can be made to work *under those conditions*.

>  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.

That's another question, yes. But I'd see building new transport layer  
functions for 6LOWAPPs as an activity that would need some very strong  
ties to the TSV area, if it wouldn't be hosted there in the first place.

Lars