[core] Tsvart early review of draft-ietf-core-cocoa-02

Wesley Eddy <wes@mti-systems.com> Mon, 08 January 2018 22:12 UTC

Return-Path: <wes@mti-systems.com>
X-Original-To: core@ietf.org
Delivered-To: core@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 969DD12D7E6; Mon, 8 Jan 2018 14:12:36 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Wesley Eddy <wes@mti-systems.com>
To: tsv-art@ietf.org
Cc: ietf@ietf.org, core@ietf.org, draft-ietf-core-cocoa.all@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.68.2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <151544955659.9620.8608063613527533195@ietfa.amsl.com>
Date: Mon, 08 Jan 2018 14:12:36 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/uxuIbSnGOrL-YytlTKrqNPVzhiQ>
Subject: [core] Tsvart early review of draft-ietf-core-cocoa-02
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jan 2018 22:12:36 -0000

Reviewer: Wesley Eddy
Review result: Not Ready

The terminology "RTO estimate" used throughout the document is confusing to me.
 The RTO is a solid value, not estimated, and is computed from estimates of the
RTT and RTT variation.  You could talk about estimating the "optimal" RTO value
(for some definition of optimal), but I don't think that's the case here. 
Similarly section 4.2 is titled "Measured RTO Estimate", but RTO is not a
measured quantity (it is always computed).  I think this terminology needs to
be corrected throughout the document.

Section 3 seems important to me, but doesn't say very clearly what it means by
"generally applicable".  Does that mean that it could run across the Internet? 
Does it work if there are very short or very long delays, or only ones around
the values mentioned in Apppendix C?  Does it work if the links are very thin
bandwidth?  Is it efficient when there is very high bandwidth (e.g. Gbps
range)?  Since there are many classes of IoT device and many possible use
cases, it seems important to me to be a little bit more clear about the
envisioned use cases, or at least the specific ones that have been explored
to-date, versus what hasn't been explicitly considered but might (or might not)
also work.  The appendix just sort of uses the word "diverse" and mentions a
couple link technologies, but otherwise doesn't provide any enlightenment.

The first sentence in section 4 doesn't make much sense to me, since the
default timeout doesn't imply any knowledge of the RTT.  Do you mean to say
that a more appropriate RTO can be computed once some RTT samples are
available?  The wording could be clarified here.

The description in the beginning of section 4.2 says that ambiguous samples
resulting from retransmissions are used in the "weak" estimator, and seems to
be saying that Karn's algorithm is not used for filtering samples?  The
rationale seems to be in 4.2.2, but the text there is vague.  In general, it
would seem to result only in a potentially slower than necessary timeout, but
still faster than the default.  That seems inherently safe, and I'd think there
could be a stronger argument made than the current text.

That said, the statement in this section that the rate of retries is reduced
does not make sense, since any time the RTO decreases, the rate of retries
should be increasing, with all other things considered equal?

Is there sensitivity to the weights for the EWMA?  This has been studied a bit
for TCP, but I guess may be different for CoAP scenarios since there are less
samples typically, or something?

Why is this being targeted for just Informational rather than Experimental or
better?  It's mentioned as being informational in both the header and Section
1.1, but I didn't notice an explanation of why the WG thinks it wouldn't be a
candidate for widespread use, etc.  Is there a concern that needs to be
described?