Re: [icnrg] adopting ccnx-timetlv
Cenk Gündoğan <mail+ietf@gundogan.net> Mon, 11 April 2022 20:51 UTC
Return-Path: <mail+ietf@gundogan.net>
X-Original-To: icnrg@ietfa.amsl.com
Delivered-To: icnrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 012EB3A199A for <icnrg@ietfa.amsl.com>; Mon, 11 Apr 2022 13:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.709
X-Spam-Level:
X-Spam-Status: No, score=-1.709 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (bad RSA signature)" header.d=gundogan.net
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 p6-2kRxVDTtT for <icnrg@ietfa.amsl.com>; Mon, 11 Apr 2022 13:51:44 -0700 (PDT)
Received: from mail.localdomain (trantor.gundogan.net [37.120.167.193]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C4B423A19A1 for <icnrg@irtf.org>; Mon, 11 Apr 2022 13:51:43 -0700 (PDT)
Received: from localhost (149.224.142.66.dynamic-pppoe.dt.ipv4.wtnet.de [149.224.142.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.localdomain (Postfix) with ESMTPSA id 5245E492E5; Mon, 11 Apr 2022 22:51:41 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gundogan.net; s=201712; t=1649710301; bh=mOBZLsu/E84x0D3vUgALjLVV8BsFz9FtTGxxxVIdBc4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=A3xEhzjsHTR1DRAvs2JKoibMWd6k/EiKDNr+62MpE2q2HsXH/Uuk71UcqR5uPY5d+ y+YfM4qru/2v/ps+FHKI+YkfHPhtr5Uty5abtEAKTfdSpAQ4iWckqWYKQd7bnLNB+8 HNOEqxF3tLqavMRLn447liVe41gyql6umvXxJHl0I4j7TeB22AZ1U3SuAfM2NSSzCr awBHH00pew0NHF1/8cBVWf0S/8W0sDqtCcUVIbWKQhxeyoyXQGvpaxfbIg0THooJGj Mx2CZw1/VED1nypM8uLyrOCPgL75e875ThOaPKb0alLkkCFT9QhQ4ZBSeJRcPMM0U4 gGPKx1I3Z64Tg==
References: <D28FCC3D-C184-40AC-A0C2-20050A41FBE5@dkutscher.net> <F387D10D-DE71-4A33-8DE9-411CDAE77031@dkutscher.net> <BY3PR15MB4977B57DF56BA01886FD4611ADEA9@BY3PR15MB4977.namprd15.prod.outlook.com>
User-agent: mu4e 1.6.10; emacs 29.0.50
From: Cenk Gündoğan <mail+ietf@gundogan.net>
To: Marc Mosko <mmosko@parc.com>
Cc: icnrg@irtf.org
Date: Mon, 11 Apr 2022 22:49:49 +0200
In-reply-to: <BY3PR15MB4977B57DF56BA01886FD4611ADEA9@BY3PR15MB4977.namprd15.prod.outlook.com>
Message-ID: <87ilrfl4wz.fsf@gundogan.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/icnrg/MFAXeds5L7UGnBgoal3ZSWPdSPU>
Subject: Re: [icnrg] adopting ccnx-timetlv
X-BeenThere: icnrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Information-Centric Networking research group discussion list <icnrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/icnrg>, <mailto:icnrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/icnrg/>
List-Post: <mailto:icnrg@irtf.org>
List-Help: <mailto:icnrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/icnrg>, <mailto:icnrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2022 20:51:49 -0000
Hello Marc, thanks for your constructive feedback. My comments follow below. On Mon, Apr 11 2022 at 17:23 +0000, Marc Mosko wrote: > A late reply, but I support adopting this update. I also favor updating 8609, because one needs to update routers anyway, either for the new > TLV or for the new LEN=1 semantics. > > > > Has there been consideration of also allowing 2 or 4 bytes representations? Do those offer any advantages to counter added complexity? I only > mention this because if you’re going to update the spec, maybe make it more comprehensive. > In earlier days of this document we were considering different parameters (using more bits for mantissa vs. more for exponent, also with 2 bytes). We found the currently documented configuration (3 for mantissa, 5 for exponent) to be a good compromise. At least for the operations "Interest lifetime" and "recommended cache time", the precision between lower numbers, and the max range (up to 4 years) seem practical enough for most use cases. Given that the primary motivation of this feature was to reduce packet overhead, we did not follow up on the multi-byte representations. There's not much utility in using more bytes, since (in general-purpose networks) we can always use the 4- and 8-byte linear versions to encode large enough numbers with millisecond granularity. > > > The common operation is to convert the compact representation into microseconds, so a forwarder can make a comparison. I would > recommend adding (in an appendix?) equations to convert (a,b) into microseconds using all integer operations (shifts, plus, minus), or at least a > good approximation to binary microseconds (2^-20). It should not be required for a forwarder to do floating point operations on a packet. We > should make it easy for an implementor to do the right thing. > > I believe these are the approximate equations for the time in microseconds: > > (b = 0): a << 17 > > (b > 0): (2^20 + a << 17) << b >> 5 > > > > Except for the (0,0) case, these estimates will always be 4.86% over the actual value. One can reduce that to a -1.7% error by subtracting E>>4 > from the estimate E > > > > (b=0): (a << 17) – (a << 13) > > (b>0): (2^20 + a << 17) << b >> 5 – ((2^20 + a << 17) << b >> 9) > > > > Of course, one could keep adding more correction terms, but I doubt it’s worth the effort. > Very good point. I'll take a closer look at your approximations and will add them to the appendix as implementation guidance. Cheers, Cenk > > > Marc > > > > > > From: icnrg <icnrg-bounces@irtf.org> on behalf of Dirk Kutscher <ietf@dkutscher.net> > Date: Monday, April 11, 2022 at 3:25 AM > To: ICNRG <icnrg@irtf.org> > Subject: Re: [icnrg] adopting ccnx-timetlv > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and > know the content is safe. > > > > Hello ICNRG, > > we have not heard of any concerns, so let's adopt this document. > > Cenk and co-authors, please submit your next revision as draft-irtf-icnrg-ccnx-timetlv-00. > > Thanks, > Dirk > > On 29 Mar 2022, at 14:36, Dirk Kutscher wrote: > > Hello ICNRG, > > as discussed at last week's ICNRG meeting, we are considering to adopt draft-gundogan-icnrg-ccnx-timetlv as a RG work item. > > Title: Alternative Delta Time Encoding for CCNx Using Compact Floating-Point Arithmetic > > Abstract: > CCNx utilizes delta time for a number of functions. When using CCNx > in environments with constrained nodes and/or bandwidth constrained > networks, it is valuable to have a compressed representation of delta > time. In order to do so, either accuracy or dynamic range has to be > sacrificed. Since the current uses of delta time do not require both > simultaneously, one can consider a logarithmic encoding such as that > specified in [IEEE.754.2019]. This document updates CCNx messages > in TLV Format (RFC8609) to specify this alternative encoding. > > · Cenk's presentation from last week > > · draft-gundogan-icnrg-ccnx-timetlv > > Please let us have any feedback (support, doubts etc.) until end of next week, i.e., Friday, 2022-04-08. > > Thanks, > Dirk and Dave > > ------------------------------------------------------------------------------------------------------------------------- > > icnrg mailing list > icnrg@irtf.org > https://www.irtf.org/mailman/listinfo/icnrg > > _______________________________________________ > icnrg mailing list > icnrg@irtf.org > https://www.irtf.org/mailman/listinfo/icnrg
- [icnrg] adopting ccnx-timetlv Dirk Kutscher
- Re: [icnrg] adopting ccnx-timetlv Dirk Kutscher
- Re: [icnrg] adopting ccnx-timetlv Marc Mosko
- Re: [icnrg] adopting ccnx-timetlv Cenk Gündoğan
- Re: [icnrg] adopting ccnx-timetlv Cenk Gündoğan