Re: [Lwip] Constrained TCP draft

Joe Touch <touch@isi.edu> Thu, 20 July 2017 14:25 UTC

Return-Path: <touch@isi.edu>
X-Original-To: lwip@ietfa.amsl.com
Delivered-To: lwip@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C679712704A; Thu, 20 Jul 2017 07:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V4DLmarram9I; Thu, 20 Jul 2017 07:25:02 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71343120725; Thu, 20 Jul 2017 07:25:02 -0700 (PDT)
Received: from [192.168.1.189] (cpe-172-250-240-132.socal.res.rr.com [172.250.240.132]) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v6KEOLFl003881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 20 Jul 2017 07:24:31 -0700 (PDT)
To: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
Cc: Rahul Jadhav <rahul.ietf@gmail.com>, lwip@ietf.org, draft-gomez-lwig-tcp-constrained-node-networks@ietf.org, "tsvwg-chairs@ietf.org" <tsvwg-chairs@ietf.org>
References: <CAO0Djp0H_UFNrV+=-EHdvPXbA=f5AxDwUPCciSoHR=pbaZhNoA@mail.gmail.com> <26246e01-0c70-a39d-5654-28935ac4832a@isi.edu> <0308d71e6407091125c1a34f8fecdc26.squirrel@webmail.entel.upc.edu>
From: Joe Touch <touch@isi.edu>
Message-ID: <b7c3aecd-f90d-737f-b8fd-f4ab8ddbdf79@isi.edu>
Date: Thu, 20 Jul 2017 07:24:19 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <0308d71e6407091125c1a34f8fecdc26.squirrel@webmail.entel.upc.edu>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/lwip/8fZeo3D3-EzheahKD80GIYZ72MM>
Subject: Re: [Lwip] Constrained TCP draft
X-BeenThere: lwip@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Lightweight IP stack <lwip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lwip>, <mailto:lwip-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lwip/>
List-Post: <mailto:lwip@ietf.org>
List-Help: <mailto:lwip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lwip>, <mailto:lwip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Jul 2017 14:25:05 -0000

Hi, Carles,


On 7/20/2017 12:54 AM, Carles Gomez Montenegro wrote:
> Hi Joe,
>
> Thanks a lot for your feedback.
>
> Please find below inline responses:
>
>> Hi, all,
>>
>> Scanning this doc, I had expected to see some "success criteria" up front.
>>
>> In particular, I was expecting that this approach was intended to be
>> some "minimal" variant of TCP,
> The very first version of the document had an (admittedly tentative)
> "intended status" of "Best Current Practice".
>
> However, after discussion and feedback from many folks, it was clarified
> that the best approach for this document would be "Informational", and its
> home would be the LWIG working group. So the main purpose of the document
> is to describe how TCP can be configured in a suitable way for constrained
> devices. The main purpose is not to define new mechanisms or a new TCP
> variant. If during the process we identify that any new mechanism has to
> be defined or a TCP specification requires some special modification for
> constrained devices, TCPM would probably be the best home for that.
It might be useful to make that more clear in the abstract and intro.

>
>> subject to the following constraint:
>>     This variant of TCP is intended to be compatible with current TCP,
>> albeit with lower performance.
>>
>> I.e.
>>
>> 1) a constrained TCP client would always be able to connect with a
>> compliant TCP server
>>
>> 2) a constrained TCP server would always be able to connect with a
>> compliant TCP cllient
>>
>> 3) #1 and #2 MAY result in reduced performance for that client-server
>> connection
>>
>> 4) #1 and #2 MUST NOT interfere with other client-server connections any
>> more than other compliant TCP connections (i.e., MUST be "TCP-friendly")
>>
>> Is there any analysis or summary of this in the current document? If
>> not, that's a good place to start, IMO.
> Currently there is not a summary/analysis of this in the document. In
> fact,  as explained above, we don't intend to actually define a new TCP
> variant.
>
> Anyway, we may consider the possible impact of each of the TCP
> features/mechanisms analyzed in the document (section 4) on your four
> items above, and even we might analyze whether any of the existing TCP
> implementations for constrained devices (section 7) would not comply with
> any of the four items.
If you're only changing TCP parameters within existing valid values, you
should be fine.

That can be tricky, though - as noted when the buffers cannot support
more than 2-3 segments (e.g., the ACK compression issue). That ends up
affecting you more than others, though.

IMO this doc should treat the issue of "configuring TCP" completely
separately from the analysis of implementations. The latter don't always
follow the specs, as we've repeatedly seen.

Joe