Re: [Lwip] Last Call: <draft-ietf-lwig-tcp-constrained-node-networks-10.txt> (TCP Usage Guidance in the Internet of Things (IoT)) to Informational RFC

Ted Lemon <mellon@fugue.com> Fri, 18 September 2020 13:46 UTC

Return-Path: <mellon@fugue.com>
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 111A83A0937 for <lwip@ietfa.amsl.com>; Fri, 18 Sep 2020 06:46:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.com
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 lhhqgGQQM4US for <lwip@ietfa.amsl.com>; Fri, 18 Sep 2020 06:46:32 -0700 (PDT)
Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (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 0FD473A0930 for <lwip@ietf.org>; Fri, 18 Sep 2020 06:46:32 -0700 (PDT)
Received: by mail-qv1-xf2d.google.com with SMTP id q10so2875179qvs.1 for <lwip@ietf.org>; Fri, 18 Sep 2020 06:46:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=WfXRjVAcqq3dq9hiMpbwqAsggiefh3DcFhLYi1tgaAw=; b=d7tYlKhFWCfKeeGRSZ6l0bjEyvgibmhYfct87dXZ3vJmQ/wgZKOBIVdR1TdEH67c7d ErVSRiPYw2ckQcS/UvMNNO/u8RsOKXGdYSeM1Mmb0sAh7XZCNyAR4gPKZiwNOz+Bpvyi ULHVmh7CkfSZnegn26OkmiZoIMzofCb7MzSxHLwilaYHTWlBKJ/44r5Hi6IMF8Z1jJ6a qesrsbuyyuA0e97IHLUZgLpGQ4+lU40rQEDCHPRF1igQt5e4AwCZVqqfKigRUqSex+WD O+MVeJduPM25s2ALoJCOTkofbTSec8vcxTVB6fXG7D+d7SWQxxLUrQ1ZdXUQ8KvUPe1g 50WA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=WfXRjVAcqq3dq9hiMpbwqAsggiefh3DcFhLYi1tgaAw=; b=Bxc/0rfa0TSFwbKStPUExmg3LCXlk9gipkTs5zjk70vFAk03hcG8zGKKoYcarejyAI xRgapNoCvdnwNXGD58bSKHQGvgHwEPaTHuZsYXqYXJ3JfBfKtp5wOl3sZIc8B5W7P04C SJuasZu4HYzIpYiGyyyKKH7Ymh+6fV9qe9sNjcsKlCBABmYeS5ZjkjtjYKPpE6q6l30p 2UJ6FDfPbZ854jmHqT67UpW+ZzI0CK2cYzrVsg8gvNujj34oT9ubSFSN8V7PnnQXwqRF sA7SLzCQvxjMKn+ErnGknOX4i9foThQYCrpj3Rk8GSVv1f+fb3Hsd46ct3B5SXSx5Kk1 FKEA==
X-Gm-Message-State: AOAM533oxe3snBVa06RUhDRTVO/7/AbAh3MzKXc4XNsvPXbYp6uKAcVd cfFosB7nA2clHl0L8ODGGyANoA==
X-Google-Smtp-Source: ABdhPJxrKeBmMXvtEaqtoUUulZtSHSoODMO0K++pusNcc4O+uH8wesiFKA4gJbBZjusLcMUnKJzm2g==
X-Received: by 2002:a0c:9a4e:: with SMTP id q14mr21023701qvd.22.1600436790945; Fri, 18 Sep 2020 06:46:30 -0700 (PDT)
Received: from ?IPv6:2601:18b:300:36ee:d4f6:3f9c:c314:1894? ([2601:18b:300:36ee:d4f6:3f9c:c314:1894]) by smtp.gmail.com with ESMTPSA id l21sm1997931qkl.128.2020.09.18.06.46.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2020 06:46:29 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_ED450AB3-8752-4C3B-B0DD-3064356034F7"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Ted Lemon <mellon@fugue.com>
X-Priority: 3 (Normal)
In-Reply-To: <a7d33f0bd4f5491be1affd868fb7144b.squirrel@webmail.entel.upc.edu>
Date: Fri, 18 Sep 2020 09:46:27 -0400
Cc: last-call@ietf.org, draft-ietf-lwig-tcp-constrained-node-networks@ietf.org, lwig-chairs@ietf.org, lwip@ietf.org
Message-Id: <8BDF59D7-8451-46DA-A0AD-2AA1EDB59943@fugue.com>
References: <160026450341.4741.15386274889650653489@ietfa.amsl.com> <157F51F5-28D9-46BE-A408-D79D647AE495@fugue.com> <A4BB6B20-87EA-4F54-B35F-89FD7CBF9C80@fugue.com> <a7d33f0bd4f5491be1affd868fb7144b.squirrel@webmail.entel.upc.edu>
To: Carles Gomez Montenegro <carlesgo@entel.upc.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lwip/b2HBAVBpwPWZubB_5Nb5vqXr2Pw>
Subject: Re: [Lwip] Last Call: <draft-ietf-lwig-tcp-constrained-node-networks-10.txt> (TCP Usage Guidance in the Internet of Things (IoT)) to Informational RFC
X-BeenThere: lwip@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Lightweight IP stack. Official mailing list for IETF LWIG Working Group." <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: Fri, 18 Sep 2020 13:46:34 -0000

On Sep 18, 2020, at 8:14 AM, Carles Gomez Montenegro <carlesgo@entel.upc.edu> wrote:
> Could you please provide any pointers to "existing research that
> shows that MSS of greater than perhaps five lowpan frames is quite
> harmful.”
> ?

So, first of all, I really owe you an apology for both comments—this is just great evidence for why we should never say something about someone else’s work that we are not prepared for them to read. My reaction was the result of going to the thing I cared most about in the document, finding what it said to be incorrect based on what I think is true, and assuming that this would be representative of the rest of the document. There was actually no reason for me to make this assumption; what I was actually looking for from the person to whom I intended to send the message was reassurance that this wasn’t as bad as it seemed. My subsequent comment on the list acknowledging this faux pas actually made it worse because I was embarrassed and hadn’t gotten past the self-justification stage to the simple retraction stage. Sigh.

The specific paper I am thinking of is one titled Performant TCP for Low-Power Wireless Networks, by Sam Kumar, Michael P Andersen, Hyung-Sin Kim, and David E. Culler at UC Berkeley (https://www.usenix.org/conference/nsdi20/presentation/kumar <https://www.usenix.org/conference/nsdi20/presentation/kumar>). Reviewing the paper, what it says is not inconsistent with what you’ve said. It appears to be the case that an mss of five frames tends to perform better than an mss of fewer frames, and that for example an mss of one frame performs poorly. Performance appears to increase up to five frames. So in a sense this is supporting the notion that even more frames would be better, but this was not studied.

The reason I’m concerned about this is that it’s my understanding that generally on LLNs fragments are acknowledged at the packet level, not at the fragment level. This means that if five fragments are transmitted and one dropped, all five have to be retransmitted. This assumption may actually not be true—I haven’t tested it. It’s based on what others have told me about how this works. If this assumption isn’t true, then my primary concern goes away. The concern I have is that as packet loss rates rise, the likelihood of any given IP packet making it across an 802.15.4 mesh intact (with no fragments lost) drops. Because every fragment has to be retransmitted, this can result in a lot of extra traffic being sent, which can further increase packet loss.

So if that’s true, it makes sense to keep the mss short, preferably shorter than 1280. 1280 would be thirteen fragments on 802.15.4, if my math is right. I think ideally we’d want to keep the MSS down nearer to 500 bytes.

It may be that my reasoning is completely wrong here, but the reason for my reaction to this document is that this is my present understanding of the problem, and hence the recommendation of a 1280 byte mss seems wrong. If I misread that, I apologize. As I said, I need to give the document a closer read.  Generally speaking I would really like to see the old canard that TCP can’t work on LLNs put to pasture, so I want this work to succeed. Again, I’m sorry for the unkind comment.