Re: [lp-wan] Supporting "bitmap" and "list" ACK types
Carles Gomez Montenegro <carlesgo@entel.upc.edu> Wed, 08 December 2021 09:01 UTC
Return-Path: <carlesgo@entel.upc.edu>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 051733A0C2C
for <lp-wan@ietfa.amsl.com>; Wed, 8 Dec 2021 01:01:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.585
X-Spam-Level:
X-Spam-Status: No, score=-0.585 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001,
RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL=1.31,
SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001]
autolearn=no 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 Inm2njvGvVvb for <lp-wan@ietfa.amsl.com>;
Wed, 8 Dec 2021 01:01:05 -0800 (PST)
Received: from violet.upc.es (violet.upc.es [147.83.2.51])
(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 445283A0C28
for <lp-wan@ietf.org>; Wed, 8 Dec 2021 01:01:04 -0800 (PST)
Received: from entelserver.upc.edu (entelserver.upc.es [147.83.40.4])
by violet.upc.es (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id
1B8911eu057018; Wed, 8 Dec 2021 10:01:02 +0100
Received: from webmail.entel.upc.edu (webmail.entel.upc.edu [147.83.40.6])
by entelserver.upc.edu (Postfix) with ESMTP id D7FEA1D53C1;
Wed, 8 Dec 2021 10:01:00 +0100 (CET)
Received: from 83.53.64.47 by webmail.entel.upc.edu with HTTP;
Wed, 8 Dec 2021 10:25:11 +0100
Message-ID: <1a61e989ed0712a321ecaa2366a0c9f1.squirrel@webmail.entel.upc.edu>
In-Reply-To: <27B835A1-D133-45DD-97BF-807E1EAF376C@tzi.org>
References: <78f38a990ee9b96d62aa43114188d636.squirrel@webmail.entel.upc.edu>
<27B835A1-D133-45DD-97BF-807E1EAF376C@tzi.org>
Date: Wed, 8 Dec 2021 10:25:11 +0100
From: "Carles Gomez Montenegro" <carlesgo@entel.upc.edu>
To: "Carsten Bormann" <cabo@tzi.org>
Cc: lp-wan@ietf.org
User-Agent: SquirrelMail/1.4.21-1.fc14
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: clamav-milter 0.100.3 at violet
X-Virus-Status: Clean
X-Greylist: ACL matched, not delayed by milter-greylist-4.3.9 (violet.upc.es
[147.83.2.51]); Wed, 08 Dec 2021 10:01:02 +0100 (CET)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/Hu8CXbNOptP8eA1IRJWsviE1gTY>
Subject: Re: [lp-wan] Supporting "bitmap" and "list" ACK types
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\),
also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>,
<mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>,
<mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Dec 2021 09:01:10 -0000
Hi Carsten, (Yes, this is a response to the message you sent below ~4.5 years ago! :)) Well, we finally have some more complete answers regarding the overhead of several receiver feedback techniques to report lost/received fragments. (Not aiming to create any scares, as in fact we -the WG- already knew some of this. Also, in this study, we assume that a single ACK provides feedback on the delivery success or failure of the whole set of fragments that carry a packet. Results thus apply mostly for large window sizes, similar to the "packet mode" that we considered long ago for fragmentation.) Quick summary of conclusions: Compressed bitmap tends to offer the best performance for small packets and high error rates. As packet size increases, regardless of the L2 MTU, List of Deltas (LoD) variants tend to become optimal. Regarding the latter, for uniform errors, 3-bit and 4-bit "bases" for the delta encodings offer the best trade-off. For burst errors, a 2-bit LoD "base" offers the best performance, as it minimizes the encoding overhead for the very frequent delta of "1". Finally, for high quality links with very low error rate, and uniformly distributed errors, List of Lost Fragments provides the most efficient encoding. If anyone is curious, more details can be found here: https://ieeexplore.ieee.org/document/9540899 Or here (public postprint version): https://www.researchgate.net/publication/354712382_Evaluation_of_Receiver-Feedback_Techniques_for_Fragmentation_over_LPWANs. Cheers, Carles (on behalf of Sergio, Rafael and myself) > Use delta coding, with 0 as end of list (so no length is needed). > Code each delta as a base-8 SDNV (RFC 6256 defines base-128 SDNVs), put > into nibbles. > Optionally, spend a number of the SDNV code points for run lengths and/or > embedded bitmaps. > (Use figure 3 of RFC 2687 as an inspiration, if needed.) > > This NACK format can easily be designed so it is much smaller than either > bitmaps or byte-wise sequence numbers for all realistic cases and > insignificantly larger than a bitmap for the most pathological case; no > need to waste rule space. > > GrüÃe, Carsten > >> On May 17, 2017, at 10:25, Carles Gomez Montenegro >> <carlesgo@entel.upc.edu> wrote: >> >> Hi everyone, >> >> In the last interim WG meeting, the problem of a large bitmap was >> discussed. >> >> One proposal was considering that if the number of fragment losses (for >> a >> given fragmented IPv6 packet) is low, sending the list of the absolute >> numbers of lost fragments might be a more lightweight approach than >> sending the whole bitmap (see Example 1 below). In other situations, the >> bitmap will be more efficient (Example 2). >> >> Therefore, it would be good for a receiver to support both types of >> feedback, and use the most efficient one for each specific situation. >> Whether a bitmap or a list (of lost fragments) is used would be >> indicated >> in the Rule ID for the ACK. >> >> Any objections to / comments on this? >> >> Cheers, >> >> Carles >> >> >> ----------------------- >> >> Example 1 >> ********* >> >> - Number of fragments carrying the IPv6 packet: 90 >> - Number of lost fragments: 1 (out of 90) >> - Size of each absolute fragment number: 8 bits >> >> The sizes for the "bitmap" and "list" would be: >> >> - Bitmap size: 12 bytes >> - List size: 1 byte (Note: an additional byte could be used to indicate >> the >> total number of fragments received as additional information just in >> case >> the MIC fails) >> >> >> Example 2 >> ********* >> >> - Number of fragments carrying the IPv6 packet: 6 >> - Number of lost fragments: 4 (out of 6) >> - Size of each absolute fragment number: 8 bits >> >> - Bitmap size: 1 byte >> - List size: 4 bytes (possibly, plus a further "number of frags" byte)
- [lp-wan] Supporting "bitmap" and "list" ACK types Carles Gomez Montenegro
- Re: [lp-wan] Supporting "bitmap" and "list" ACK t… Ana Minaburo
- Re: [lp-wan] Supporting "bitmap" and "list" ACK t… Carles Gomez Montenegro
- Re: [lp-wan] Supporting "bitmap" and "list" ACK t… Carsten Bormann
- Re: [lp-wan] Supporting "bitmap" and "list" ACK t… Carles Gomez Montenegro