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

Justin Iurman <justin.iurman@uliege.be> Tue, 07 March 2023 11:56 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 9426CC1516F2 for <ippm@ietfa.amsl.com>; Tue, 7 Mar 2023 03:56:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.395
X-Spam-Level:
X-Spam-Status: No, score=-4.395 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_MED=-2.3, 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_BLOCKED=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 icqcNldibY9m for <ippm@ietfa.amsl.com>; Tue, 7 Mar 2023 03:56:01 -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 EEA8AC15155F for <ippm@ietf.org>; Tue, 7 Mar 2023 03:55:59 -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 4B46E200AA4D; Tue, 7 Mar 2023 12:55:56 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 serv108.segi.ulg.ac.be 4B46E200AA4D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uliege.be; s=ulg20190529; t=1678190156; bh=AFUryt3s57uwFMlh/zWV6zNTBEuZt0UMTYDtu8JbMuY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F5RTyG7IEma9tLvWghSbtqGciPrSmULzY+pDTU1Y88voldQe6LTzjxbPj77zbpzvo H5ta3b61X5kEOy9HFhaNXEVnRuYi2xRjXPboTwmUO32/Tm0cAwC0zMzePi44PIqI3h 9Zh7icD3EAJ/nmVDqIiv/rEjQPFI8MRFRL6V4mgd+sBJcbIYy8n+03iZ0EaK5RjRD1 H1OMy79KrOhfQ10C3bQ9iYQ9VEjbaNLJgThOa7MGtzKYmNd69sIZkFZN9g42XflYAK i4fsc4RGXE9mrcW0XQ1stI2ECzmtZGq11rxAmz5pYQh/k/A1oYwp93RbebkMzCUCXV M1i/hSyjY51Uw==
Message-ID: <464b20b9-ce46-3489-4536-2fc9e90b0102@uliege.be>
Date: Tue, 07 Mar 2023 12:55:56 +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>
From: Justin Iurman <justin.iurman@uliege.be>
In-Reply-To: <751280F9-7B75-4897-AD9E-585E470B69F2@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/3HNRV7RT8EzPjdwV9wUdE3rXv6Y>
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: Tue, 07 Mar 2023 11:56:06 -0000

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>> 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/>). 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/>? 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>> 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>> 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>>
>>     >> 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/>>
>>     >> 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>>
>>     >>
>>     >>
>>     >> 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>
>>     > https://www.ietf.org/mailman/listinfo/ippm
>>     <https://www.ietf.org/mailman/listinfo/ippm>
>>
>>     _______________________________________________
>>     ippm mailing list
>>     ippm@ietf.org <mailto:ippm@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/ippm
>>     <https://www.ietf.org/mailman/listinfo/ippm>
>>
>