Re: [6lowapp] Where does TCP not work

Kris Pister <pister@eecs.berkeley.edu> Wed, 04 November 2009 06:17 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 1FF7A28C1C1 for <6lowapp@core3.amsl.com>; Tue, 3 Nov 2009 22:17:23 -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=[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 vjxq9dx1Szq5 for <6lowapp@core3.amsl.com>; Tue, 3 Nov 2009 22:17:22 -0800 (PST)
Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.87]) by core3.amsl.com (Postfix) with ESMTP id 1C7CB28C142 for <6lowapp@ietf.org>; Tue, 3 Nov 2009 22:17:22 -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 nA46HDkC025580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 3 Nov 2009 22:17:14 -0800 (PST)
Message-ID: <4AF11C63.7080807@eecs.berkeley.edu>
Date: Tue, 03 Nov 2009 22:17:07 -0800
From: Kris Pister <pister@eecs.berkeley.edu>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: "Pascal Thubert (pthubert)" <pthubert@cisco.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> <6A2A459175DABE4BB11DE2026AA50A5D8E01D2@XMB-AMS-107.cisco.com>
In-Reply-To: <6A2A459175DABE4BB11DE2026AA50A5D8E01D2@XMB-AMS-107.cisco.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 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: Wed, 04 Nov 2009 06:17:23 -0000

Pascal - I assume that we would only have path diversity inside the 
WPAN, and that the purpose of diversity would be to reduce latency, 
rather than increase it (e.g. RoLL, siblings when parents are having 
problems, etc.).  If you can't get the packet through to your preferred 
parent in a timely way, you try someone else in the hopes that you can 
still hit your latency target.  Yes?

Anyway, the goal of my original question was to understand what kinds of 
latency distributions would work.  I agree that it is easy to find 
distributions that will bring TCP to it's knees.  I'm hopeful that we 
can find some ways to make our meshes TCP-friendly under those 
circumstances when it is advantageous.  Under other circumstances (e.g. 
the ISA100 use cases that you presented) it's neither necessary nor 
efficient.

ksjp

Pascal Thubert (pthubert) wrote:
> Hi Lars and Kris:
>
>   
>>> 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.
>
> And path diversity when applied to TCP flows can have very adverse
> effects, if the packets are actually balanced over paths of very
> different latencies. A packet that is not lost but delayed in an
> alternate path will trigger fast recovery and cause the congestion
> window to drop. 
>
> Add a very long TTL to the mixture and you get a recipe for a very low
> throughput with packet duplication.
>
> MPTCP might offer some benefits if the subflows were routed on a given
> path each, but that's not what we are doing here so I'm not too hopeful
> though I'd like to dig more.
>
>
> Pascal
>