Re: [ippm] New Version Notification for draft-ahuang-ioam-on-path-delay-00.txt

Justin Iurman <justin.iurman@uliege.be> Fri, 10 March 2023 19:09 UTC

Return-Path: <justin.iurman@uliege.be>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A0CCC151709 for <ippm@ietfa.amsl.com>; Fri, 10 Mar 2023 11:09:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=uliege.be
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 vP6fftXtavTH for <ippm@ietfa.amsl.com>; Fri, 10 Mar 2023 11:09:43 -0800 (PST)
Received: from serv108.segi.ulg.ac.be (serv108.segi.ulg.ac.be [139.165.32.111]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 922B5C1516E0 for <ippm@ietf.org>; Fri, 10 Mar 2023 11:09:41 -0800 (PST)
Received: from [192.168.1.62] (148.24-240-81.adsl-dyn.isp.belgacom.be [81.240.24.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by serv108.segi.ulg.ac.be (Postfix) with ESMTPSA id 5624A200EEC9; Fri, 10 Mar 2023 20:09:40 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 serv108.segi.ulg.ac.be 5624A200EEC9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uliege.be; s=ulg20190529; t=1678475380; bh=UQU6Pn1ywW2/GEDBzHdBuQHNFJP1Yn3IlBor6Y/cMHM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=vYMX+t6AN+aX7blVs7Dv8KKP3c0tXQj22yd0QJZ1e3nHkbfsZNTzqH8Lmp9wszsYX 8IZ+3sRoEbVLTTPaSkW4rpAuB12eKwQkMLR7/mWPcG2mqxu1FWg7NJe3CJav/GZPBu d3soKhB4ZSX5m2o1JqohlwPXYmOGyZ11WBoMLFfXT3RutdPSySc31eeybEv00bj/P1 7bN+A2FGLU13cHG+RPOCpT9fe7HhhDM8bVvn7pC2dV0WTmqMf/ncxqIyvh/kNzbo7j NJqotRgT7flWtg/Z0RRpkPqDJc2YWrNLN4Jv4pyn825rK5vjVETv2y2yHJCXroj7Zl oRbC77hteaAvQ==
Message-ID: <da2aa954-d77a-3db3-5d31-fd46632ee20b@uliege.be>
Date: Fri, 10 Mar 2023 20:09:40 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1
Content-Language: en-US
To: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>, Greg Mirsky <gregimirsky@gmail.com>
Cc: ippm@ietf.org, Pierre Francois <pierre.francois@insa-lyon.fr>
References: <167786164701.47548.4590359889410617737@ietfa.amsl.com> <00C45E5E-0797-443B-BEB6-81AF1E845905@insa-lyon.fr> <6d1cbc46-c460-cd9d-657e-cc82746665f4@uliege.be> <CA+RyBmX1Sz--jWpYduO6a8Y-yL-4x_+QZ7M-a2KWgwVZonvKBA@mail.gmail.com> <751280F9-7B75-4897-AD9E-585E470B69F2@insa-lyon.fr> <464b20b9-ce46-3489-4536-2fc9e90b0102@uliege.be> <CA+RyBmW=XqQnSGZq5N9qwxshv7jqYETj7_NZK29VzwWh41B+3w@mail.gmail.com> <BACAC2C9-A065-4FEE-A37F-586FB916694F@insa-lyon.fr>
From: Justin Iurman <justin.iurman@uliege.be>
In-Reply-To: <BACAC2C9-A065-4FEE-A37F-586FB916694F@insa-lyon.fr>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/kgeKtF3gugshW1GNY-QBrPaF-FU>
Subject: Re: [ippm] New Version Notification for draft-ahuang-ioam-on-path-delay-00.txt
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Mar 2023 19:09:48 -0000

Hi Alex,

Please see inline.

On 3/10/23 17:42, Alex Huang Feng wrote:
> Hi Justin and Greg,
> 
> Thanks for you insights.
> I understand your concerns but the authors believe without the 
> aggregation at the node level, the overhead and complexity to monitor 
> the delay in large scale networks is great.

I agree. Unfortunately, I just don't think it's the right approach (at 
least for the IOAM-Trace-Type).

> Using IOAM-DEX with draft-ietf-opsawg-ipfix-on-path-telemetry, the 
> monitoring of the delay would only mean an extension to the IPFIX exporter.
> Therefore, besides the IPFIX counters, we would also have the aggregated 
> delay metrics per flow.
> 
> On the other hand, using Bit 2,3 of IOAM Trace-type, every node would 
> have to send all the sampled packets with their timestamp to the 
> collector and the collector would still need to correlate the data to 
> the flow, compute the diff with each message and then aggregate.
> 
> Haoyu proposed to reduce the requested bits to one in the 
> draft-ahuang-ippm-dex-timestamp-ext and I wrote the second draft to 
> remain consistent within the IOAM architecture, but if IPPM WG feels the 
> bits allocated in draft-ahuang-ioam-on-path-delay are not necessary, I 
> am ok with it. Without this second draft, we would only request one bit 
> for the timestamp extension in IOAM-DEX.

Using 1 bit for two 4-byte fields would break existing implementations 
(see my reply to Haoyu about this). And I feel like it would make sense 
to have the base timestamps available with new IOAM DEX extension-flags. 
But, then, you'd need to allocate 2 bits for that, which is a real 
concern. On the other hand, there is more "free" room in the 
IOAM-Trace-Type but, here, the problem is to kind of "duplicate" 
existing data fields (i.e., bits 2 and 3).

I also have a question. Let's say these 2 bits are allocated in the IOAM 
DEX extension-flags. How would the transit nodes know what to export 
(i.e., on-path delay, computed between current timestamp on the node and 
the base timestamp from the encap node), without having a dedicated bit 
in the IOAM-Trace-Type? All you have right now is bit 2 and bit 3.

Thanks,
Justin

> Regards,
> Alex
> 
>> On 7 Mar 2023, at 21:02, Greg Mirsky <gregimirsky@gmail.com 
>> <mailto:gregimirsky@gmail.com>> wrote:
>>
>> Dear All,
>> I share Justin's concerns and agree with his recommendation to be more 
>> conservative with using the available space.
>>
>> Regards,
>> Greg
>>
>> On Tue, Mar 7, 2023 at 3:55 AM Justin Iurman <justin.iurman@uliege.be 
>> <mailto:justin.iurman@uliege.be>> wrote:
>>
>>     Hi Alex,
>>
>>     I understand the motivation behind
>>     [I-D.draft-ahuang-ioam-on-path-delay]
>>     and [I-D.draft-ahuang-ippm-dex-timestamp-ext]. My main concern is
>>     about
>>     wasting a data field bit for something that can already be retrieved
>>     based on existing/similar data fields (which, of course, means
>>     delegating the aggregation work to the collector). Feels like a
>>     "duplicate" data field bit somehow.
>>
>>     [RFC9326] says "an IOAM encapsulating node [...] MAY export the
>>     requested IOAM data immediately". Did you consider using bits 2,3 and
>>     delegate the aggregation work to the collector? Might not be as
>>     perfect
>>     as you'd want, but this wouldn't require to define a new bit in
>>     the IOAM
>>     Trace-Type registry, nor would it require to define new flags in the
>>     IOAM DEX Extension-Flags registry.
>>
>>     Thanks,
>>     Justin
>>
>>     On 3/6/23 11:37, Alex Huang Feng wrote:
>>     > Hi Justin and Greg,
>>     >
>>     > Thanks for your comments. All of them valid.
>>     >
>>     > In practice, with only draft-ahuang-ippm-dex-timestamp-ext, we can
>>     > already export an aggregated on-path delay, but this second
>>     draft asking
>>     > for a bit in the IOAM architecture is for IOAM consistency. Let
>>     me explain.
>>     >
>>     > As Justin said, having the timestamp reference in the IOAM DEX
>>     header
>>     > already allows the node to compute the on-path delay.
>>     > However, how IOAM DEX was designed is having a bit-field
>>     referenced to
>>     > IOAM Trace-Type registry telling the current node (transit and
>>     decap
>>     > nodes) which metrics “should” be aggregated and/or exported
>>     (Section 3.2
>>     > of RFC9326).
>>     > Nothing in this RFC prevents us to export more metrics than the
>>     > specified in this registry (IOAM Trace-Type).
>>     > For example, using draft-ietf-opsawg-ipfix-on-path-telemetry,
>>     the node
>>     > can also export flow-related metrics which are not specified in the
>>     > registry.
>>     > Yet, to remain consistent to the design of IOAM DEX, I felt that
>>     this
>>     > on-path delay metric should be specified in the bit-field
>>     present in the
>>     > header.
>>     > Of course, adding this bit for IOAM DEX impacts the IOAM
>>     architecture
>>     > since the same registry was used.
>>     >
>>     > The motivation of these two drafts is to export the computed
>>     delay in
>>     > postcard mode directly from the monitored node.
>>     > Bit 2 and 3 from IOAM Trace-Type registry allow the export of the
>>     > timestamps meaning the computation of the delay is pushed to the
>>     > collector. Moreover, no aggregation is possible in the node
>>     since they
>>     > are timestamps.
>>     >
>>     > About using Bit 4 Transit delay, I believe we are trying to solve
>>     > different problems.
>>     > The on-path delay defined in
>>     draft-ietf-opsawg-ipfix-on-path-telemetry
>>     > covers also the link delay, which is really useful for anomaly
>>     detection.
>>     >
>>     > Hoping this answer your questions.
>>     >
>>     > Regards,
>>     > Alex
>>     >
>>     >> On 3 Mar 2023, at 22:17, Greg Mirsky <gregimirsky@gmail.com
>>     <mailto:gregimirsky@gmail.com>
>>     >> <mailto:gregimirsky@gmail.com <mailto:gregimirsky@gmail.com>>>
>>     wrote:
>>     >>
>>     >> Hi, Alex, Justin et al.,
>>     >> I read the draft and have some notes to share with you:
>>     >>
>>     >>   * I think that I understand the motivation of the authors of the
>>     >>     draft. RFC 9197 does not specify when the timestamp SHOULD
>>     (less,
>>     >>     MUST) be taken. As a result, it is challenging to extract
>>     variable
>>     >>     delay caused by processing in a node from fixed propagation
>>     delay
>>     >>     determined by the laws of physics. (We've discussed that in RFC
>>     >>     8169 Residence Time Measurement in MPLS Networks
>>     >>     <https://datatracker.ietf.org/doc/rfc8169/
>>     <https://datatracker.ietf.org/doc/rfc8169/>>). Thus, in my opinion,
>>     >>     another method other than using Bit 2 and Bit 3 in the IOAM
>>     >>     Trace-Type registry is needed.
>>     >>   * Said that I have a question for the authors of the draft.
>>     Have you
>>     >>     considered using Bit 4 Transit delay as defined in RFC 9197
>>     >>     <https://datatracker.ietf.org/doc/rfc9197/
>>     <https://datatracker.ietf.org/doc/rfc9197/>>? I believe that the
>>     >>     transit delay is precisely the residence time a data packet
>>     spends
>>     >>     in a node, which you are intended to measure using your
>>     proposal.
>>     >>     I agree with you that IOAM-DEX can provide more
>>     >>     accurate measurements of the transit delay benefiting from the
>>     >>     separation of the reading of the wall clock value and
>>     calculating
>>     >>     from the transmitting the trigger data packet.
>>     >>
>>     >> Regards,
>>     >> Greg
>>     >>
>>     >> On Fri, Mar 3, 2023 at 10:52 AM Justin Iurman
>>     <justin.iurman@uliege.be <mailto:justin.iurman@uliege.be>
>>     >> <mailto:justin.iurman@uliege.be
>>     <mailto:justin.iurman@uliege.be>>> wrote:
>>     >>
>>     >>     Hi Alex,
>>     >>
>>     >>     I don't understand why bits 2 and 3 (i.e., timestamp seconds &
>>     >>     fraction)
>>     >>     are not enough. If each node on the path timestamps its
>>     data part
>>     >>     in the
>>     >>     trace, then based on the entire trace you're able to recompute
>>     >>     on-path
>>     >>     delays by simply substracting a node's timestamp by the one
>>     of the
>>     >>     encapsulating node. You can actually compute the on-path delay
>>     >>     between
>>     >>     any node. Did I miss something?
>>     >>
>>     >>     Thanks,
>>     >>     Justin
>>     >>
>>     >>     On 3/3/23 17:54, Alex Huang Feng wrote:
>>     >>     > Dear IPPM WG,
>>     >>     >
>>     >>     > Some time ago I submitted
>>     draft-ahuang-ippm-dex-timestamp-ext that
>>     >>     > allows IOAM DEX to add a timestamp in the header.
>>     >>     > This allows IOAM in postcard mode to compute the on-path
>>     delay
>>     >>     at each node.
>>     >>     >
>>     >>     > To export the on-path delay in the IOAM architecture, a
>>     >>     bit-field is used.
>>     >>     > This new draft adds a new 32bit Data-field in the "IOAM
>>     Trace-Type”
>>     >>     > registry allowing the export of the On-path delay in the IOAM
>>     >>     architecture.
>>     >>     >
>>     >>     > I would like to request feedback from the WG on this draft.
>>     >>     >
>>     >>     > Cheers,
>>     >>     > Alex
>>     >>     >
>>     >>     >> On 3 Mar 2023, at 17:40, internet-drafts@ietf.org
>>     <mailto:internet-drafts@ietf.org>
>>     >>     <mailto:internet-drafts@ietf.org
>>     <mailto:internet-drafts@ietf.org>>
>>     >>     >> <mailto:internet-drafts@ietf.org
>>     <mailto:internet-drafts@ietf.org>
>>     >>     <mailto:internet-drafts@ietf.org
>>     <mailto:internet-drafts@ietf.org>>> wrote:
>>     >>     >>
>>     >>     >>
>>     >>     >> A new version of I-D, draft-ahuang-ioam-on-path-delay-00.txt
>>     >>     >> has been successfully submitted by Alex Huang Feng and
>>     posted
>>     >>     to the
>>     >>     >> IETF repository.
>>     >>     >>
>>     >>     >> Name:draft-ahuang-ioam-on-path-delay
>>     >>     >> Revision:00
>>     >>     >> Title:On-Path delay Data Field for In Situ Operations,
>>     >>     Administration,
>>     >>     >> and Maintenance (IOAM)
>>     >>     >> Document date:2023-03-03
>>     >>     >> Group:Individual Submission
>>     >>     >> Pages:7
>>     >>     >> URL:
>>     >>     >>
>>     >>
>>     https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt> <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt>>
>>     >>     >>
>>     >>   
>>      <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt> <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt <https://www.ietf.org/archive/id/draft-ahuang-ioam-on-path-delay-00.txt>>>
>>     >>     >> Status:
>>     >>     >>
>>     >>
>>     https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/
>>     <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/>
>>     >>   
>>      <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/ <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/>>
>>     >>     >>
>>     >>   
>>      <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/ <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/>
>>     >>   
>>      <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/ <https://datatracker.ietf.org/doc/draft-ahuang-ioam-on-path-delay/>>>
>>     >>     >> Htmlized:
>>     >>     >>
>>     >>
>>     https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay> <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay>>
>>     >>     >>
>>     >>   
>>      <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay> <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay <https://datatracker.ietf.org/doc/html/draft-ahuang-ioam-on-path-delay>>>
>>     >>     >>
>>     >>     >>
>>     >>     >> Abstract:
>>     >>     >>   This document defines a Data Field In Situ Operations,
>>     >>     >>   Administration, and Maintenance (IOAM) architecture for
>>     >>     on-path delay
>>     >>     >>   information.  This data field is registered as a new
>>     entry in the
>>     >>     >>   "IOAM Trace-Type" registry.
>>     >>     >>
>>     >>     >>
>>     >>     >>
>>     >>     >>
>>     >>     >>
>>     >>     >> The IETF Secretariat
>>     >>     >>
>>     >>     >>
>>     >>     >
>>     >>     >
>>     >>     > _______________________________________________
>>     >>     > ippm mailing list
>>     >>     > ippm@ietf.org <mailto:ippm@ietf.org>
>>     <mailto:ippm@ietf.org <mailto:ippm@ietf.org>>
>>     >>     > https://www.ietf.org/mailman/listinfo/ippm
>>     <https://www.ietf.org/mailman/listinfo/ippm>
>>     >>     <https://www.ietf.org/mailman/listinfo/ippm
>>     <https://www.ietf.org/mailman/listinfo/ippm>>
>>     >>
>>     >>     _______________________________________________
>>     >>     ippm mailing list
>>     >> ippm@ietf.org <mailto:ippm@ietf.org> <mailto:ippm@ietf.org
>>     <mailto:ippm@ietf.org>>
>>     >> https://www.ietf.org/mailman/listinfo/ippm
>>     <https://www.ietf.org/mailman/listinfo/ippm>
>>     >>     <https://www.ietf.org/mailman/listinfo/ippm
>>     <https://www.ietf.org/mailman/listinfo/ippm>>
>>     >>
>>     >
>>
>