Re: [Tsv-art] Tsvart last call review of draft-ietf-lpwan-schc-compound-ack-14

Sergio Aguilar Romero <sergio.aguilar.romero@upc.edu> Sat, 18 March 2023 14:40 UTC

Return-Path: <sergio.aguilar.romero@upc.edu>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 419A7C151552 for <tsv-art@ietfa.amsl.com>; Sat, 18 Mar 2023 07:40:28 -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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=upc-edu.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aBTEaHBm4YCD for <tsv-art@ietfa.amsl.com>; Sat, 18 Mar 2023 07:40:27 -0700 (PDT)
Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED3A5C151556 for <tsv-art@ietf.org>; Sat, 18 Mar 2023 07:40:26 -0700 (PDT)
Received: by mail-wm1-x333.google.com with SMTP id m18-20020a05600c3b1200b003ed2a3d635eso4971365wms.4 for <tsv-art@ietf.org>; Sat, 18 Mar 2023 07:40:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20210112.gappssmtp.com; s=20210112; t=1679150425; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=a9Vr8riBX2kzoZoQs7heqxuhYDh3e7/PTnvroeTRvMI=; b=hcR/0NYnblSfM8nqN0X47e4Mqa0UpITmPWmNzFn458j8iuVQ1JgSIUVXRYbP92eYBP b4eIJAFH1RUI0Ez977iq1frd+emfHWsIYevwyHbfe0e5D5XsjOBWMNmpJx8CUxufaDCX UaYcpR4yzkSMH482tTb7/c+46THNpZ87s6nBvWIf6QxDpvztZixrMgcFp94NSjmcQ9nV vk99Oa5FpVefEdQSsGpzSoEt1KjilsxcDCBM0ZlpBwuy27Cz1+nvHT+/Ds0Fr76NNzRa 2zOhhjOr5sl4Ul+Dfwfi8m6ka0gco6fGgn+I6nG+wbDaAATVQGdHh/MA+O3t/OyN37h8 XHvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679150425; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=a9Vr8riBX2kzoZoQs7heqxuhYDh3e7/PTnvroeTRvMI=; b=QQywdU2LAuzpUCGimEKW5tSxe/yBqNTsQYScxoQENQOMqRoRMWbCwn6x2XfBxqUViF W31sytdP2ZXvsJkQQDmAXEq8kTpPsuRHW9enE1wXvbWEL2/wFPWILhLr7HLbU5f50lOr //mX78RcztFiTD6JtBWaKElu1uxg/ByFnAk6w7DHQV87hxDP+6pms7woQDCdpc1cfLy0 GrhiavYO/TjkCnbFfPZw8msna/E/PP6L3hXBesLmY62sN65i4n3sxJxpUHTZoQdli5VY JI8yJC56NxVRI8teb86ikNdiLHRBUvd1zBXi+27C108XLZzwSDYli2WElvm9PNZyW2+m lmrg==
X-Gm-Message-State: AO0yUKXSsDQYCwQXW58T70tVpWYW8lYPaqeVUKohcBWjeF/NBOJexBAo 7ZMNohKszTLdOqvdeCtrajv6Lg==
X-Google-Smtp-Source: AK7set9n8xrlfnNjO8gi1uD5J7Fgf7+ZChiChWF5m+skAIhErkvelCPoQaAmucOn+350xwBkpwmQXg==
X-Received: by 2002:a05:600c:198f:b0:3ea:f6c4:5f26 with SMTP id t15-20020a05600c198f00b003eaf6c45f26mr27517038wmq.17.1679150425411; Sat, 18 Mar 2023 07:40:25 -0700 (PDT)
Received: from smtpclient.apple (104.red-79-153-123.dynamicip.rima-tde.net. [79.153.123.104]) by smtp.gmail.com with ESMTPSA id e13-20020a5d4e8d000000b002ceacff44c7sm4500155wru.83.2023.03.18.07.40.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Mar 2023 07:40:25 -0700 (PDT)
From: Sergio Aguilar Romero <sergio.aguilar.romero@upc.edu>
Message-Id: <A0239A52-DEC4-4EFE-B1A8-75B1FDD4CE24@upc.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_10490AF8-4AB3-4F83-8F72-4E9DE82205F6"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\))
Date: Sat, 18 Mar 2023 15:40:24 +0100
In-Reply-To: <167880682020.62833.11164576152796174950@ietfa.amsl.com>
Cc: tsv-art@ietf.org, draft-ietf-lpwan-schc-compound-ack.all@ietf.org, last-call@ietf.org, lp-wan@ietf.org
To: Wesley Eddy <wes@mti-systems.com>
References: <167880682020.62833.11164576152796174950@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3696.120.41.1.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/GkTVXSLOGMgbt1KNCMBXBrsf1lg>
Subject: Re: [Tsv-art] Tsvart last call review of draft-ietf-lpwan-schc-compound-ack-14
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Mar 2023 14:40:28 -0000

Hello,

Thanks for your review.

Please find some comments inline.

Best regards,

Authors Compound ACK draft

> On Mar 14, 2023, at 4:13 PM, Wesley Eddy via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Wesley Eddy
> Review result: Ready with Nits
> 
> This document has been reviewed as part of the transport area review team's
> ongoing effort to review key IETF documents. These comments were written
> primarily for the transport area directors, but are copied to the document's
> authors and WG to allow them to address any issues raised and also to the IETF
> discussion list for information.
> 
> When done at the time of IETF Last Call, the authors should consider this
> review as part of the last-call comments they receive. Please always CC
> tsv-art@ietf.org if you reply to or forward this review.
> 
> In general, the document seems to be clear and well written.  I did not find
> any technical issues or corrections to note.
> 
> Comments:
> - The reason for using this is explained as reducing the number of ACK
> transmissions.  Is there a corresponding cost (e.g. slower recovery from
> losses) that should also be mentioned so that the tradeoffs are clear?

The SCHC Compound ACK not only offers the application the option to reduce the number of ACKs, but also it increases the downlink opportunities, as now after the All-0 fragment an ACK can be received, providing flexibility on when the ACK can be received. This flexibility also allows the receiver to increase or reduce the size of the ACK (by having one or more windows notified). However, depending on how the application is configured, the reduction can actually have a positive impact on application delay, buffer sizes and timers. 

Note that in RFC8724, the receiver has to wait to the All-1 fragment to send an ACK notifying just one window of tiles. Now, the receiver (and application) can have notifications before, as the Compound ACK can be send after the All-0 fragment. Moreover, if the receiver (and application) decide to wait for the All-1 fragment, the number of ACKs may be reduce (it depends if there are fragment losses in intermediate windows) and delay, buffer size and timer are not modified with respect RFC8724.

In introduction and section 3.2 is stated:

Introduction: 
"The SCHC Compound ACK
is backwards compatible with the SCHC ACK as defined in [RFC8724],
and introduces flexibility, as the receiver has the capability to
respond to the All-0 SCHC Fragment, providing more downlink
opportunities, and therefore adjusting to the delay requirements of
the application."

Section 3.2:
“Also, some flexibility is introduced with respect to [RFC8724], in
that the receiver has the capability to respond to the All-0 with a
SCHC Compound ACK or not, depending on certain parameters, like
network conditions, sender buffer/chache size, supported application
delay.  Note that even though the protocol allows for such
flexibility, the actual decision criteria is not specified in this
document.  The application MUST set expiration timer values according
to when the feedback is expected to be received, e.g., after the
All-0 or after the All-1."



> - The
> shepherd writeup mentions a Sigfox implementation.  It would be of interest to
> note whether compound ACKs have been found to be beneficial in practice or note
> any quantification of the expected benefits.  Of course these are heavily
> dependent on the specific LPWAN and configuration, so it would just be
> anecdotal data.

The SCHC over Sigfox draft uses the SCHC Compound ACK, therefore, implementation started over Sigfox. In terms of benefits, note that in the SCHC over Sigfox draft, the Uplink ACK-on-Error Mode: Two-byte SCHC Header Option 1 is optimized so that all windows can be notified in a single SCHC Compound ACK. This allows for a single ACK to provide feedback from all SCHC Fragments sent, for example, during the day.  
In section 3.5.1.4.1 of the SCHC over Sigfox draft is stated:
“ Note that WINDOW_SIZE is limited to 12.  This because, 4 windows (M =
  2) with bitmaps of size 12 can be fitted in a single SCHC Compound
  ACK."

Therefore, this optimization actually help reduce the needed number of ACKs to notify losses around the complete day, and provide options to obtain feedback before, by sending an ACK after the All-0.


> - There are older RFCs from the PILC working group that provide
> advice for subnetwork design (e.g. RFC 3819).  I was surprised not to find that
> cited here as a reference, as it might be important regarding tuning of
> configuration parameters.
> 

This draft updates RFC8724 and RFC9363, which did not mention older RFCs.


> Very minor comments:
> - Section 4 has "Examples" (plural) in the title, however, it really only
> contains a single example.  It could be "Example" instead.
> 

Fixed, thanks.

>