Re: [netconf] draft-ietf-netconf-udp-notif-10

Alex Huang Feng <alex.huang-feng@insa-lyon.fr> Mon, 07 August 2023 15:19 UTC

Return-Path: <alex.huang-feng@insa-lyon.fr>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 530A7C1527AE for <netconf@ietfa.amsl.com>; Mon, 7 Aug 2023 08:19:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.463
X-Spam-Level:
X-Spam-Status: No, score=0.463 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
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 m-ZQFMnNLx9H for <netconf@ietfa.amsl.com>; Mon, 7 Aug 2023 08:19:26 -0700 (PDT)
Received: from smtpout01-ext2.partage.renater.fr (smtpout01-ext2.partage.renater.fr [194.254.240.33]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AABAC151992 for <netconf@ietf.org>; Mon, 7 Aug 2023 08:19:25 -0700 (PDT)
Received: from zmtaauth03.partage.renater.fr (zmtaauth03.partage.renater.fr [194.254.240.26]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 8D4116854E; Mon, 7 Aug 2023 17:19:18 +0200 (CEST)
Received: from zmtaauth03.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPS id 55E39800E8; Mon, 7 Aug 2023 17:19:18 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTP id 4D9BB80087; Mon, 7 Aug 2023 17:19:18 +0200 (CEST)
Received: from zmtaauth03.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth03.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nflPci968AM2; Mon, 7 Aug 2023 17:19:18 +0200 (CEST)
Received: from 176.146.148.215 (unknown [194.254.241.250]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPA id E58A8800E8; Mon, 7 Aug 2023 17:19:17 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\))
From: Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
In-Reply-To: <6f0be853231c4fa4b24de758590770f2@swisscom.com>
Date: Mon, 07 Aug 2023 17:19:17 +0200
Cc: benoit.claise=40huawei.com@dmarc.ietf.org, Tianran Zhou <zhoutianran@huawei.com>, netconf <netconf@ietf.org>, Thomas Graf <Thomas.Graf@swisscom.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D3F2969C-C395-4403-995D-E064A943F3AB@insa-lyon.fr>
References: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com> <wd6kzin4foik2dimypz67ziqya7lhbs3rzk7t4gp6jic77kxb3@6pvkir2sivsn> <04cb53fc90f84bf4b23acd598eefaf1c@huawei.com> <anhguehaskcbb2ayryota6fixkijydn2tjp2iggkrxqfottfxh@c5zwzaewitu6> <80d76006-a780-ddf0-74e9-7edc6b2063ce@huawei.com> <6f0be853231c4fa4b24de758590770f2@swisscom.com>
To: jschoenwaelder@constructor.university
X-Mailer: Apple Mail (2.3696.120.41.1.3)
X-Virus-Scanned: clamav-milter 0.103.8 at clamav03
X-Virus-Status: Clean
X-Renater-Ptge-SpamState: clean
X-Renater-Ptge-SpamScore: -100
X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedviedrledtgdekudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomheptehlvgigucfjuhgrnhhgucfhvghnghcuoegrlhgvgidrhhhurghnghdqfhgvnhhgsehinhhsrgdqlhihohhnrdhfrheqnecuggftrfgrthhtvghrnhepfedvtdfhveeujeehtddvfeejffefhffhvdeileffiedutdefgfeuteduieeuheffnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghlohepudejiedrudegiedrudegkedrvdduhedpmhgrihhlfhhrohhmpeetlhgvgicujfhurghnghcuhfgvnhhguceorghlvgigrdhhuhgrnhhgqdhfvghnghesihhnshgrqdhlhihonhdrfhhrqedpnhgspghrtghpthhtohephedprhgtphhtthhopehjshgthhhovghnfigrvghluggvrhestghonhhsthhruhgtthhorhdruhhnihhvvghrshhithihpdhrtghpthhtohepsggvnhhoihhtrdgtlhgrihhsvgepgedthhhurgifvghirdgtohhmsegumhgrrhgtrdhivghtfhdrohhrghdprhgtphhtthhopeiihhho uhhtihgrnhhrrghnsehhuhgrfigvihdrtghomhdprhgtphhtthhopehnvghttghonhhfsehivghtfhdrohhrghdprhgtphhtthhopefvhhhomhgrshdrifhrrghfsehsfihishhstghomhdrtghomh
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/oQOR3c5iw1ln4mQeKmypjHFhBv8>
Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Aug 2023 15:19:30 -0000

Hi Jürgen,

Let me follow up on Tianran answer.

I think Thomas Graf has already shown why a non-reliable solution for monitoring is also needed for operators but let me add the following.

Currently, there are two transport protocols defined at the IETF for YANG-push configured subscriptions: HTTPS-notif and UDP-notif.
Both transport protocols are useful and have different usecases. 
For state-change notifications that need to be reliable, HTTPS-notif should be used.
On the other hand, for periodical notifications where the node exports counters for example, losing a packet is still tolerable and using UDP-notif allows the collector to avoid the burden of dealing with great amount of transport sessions.

Within the draft, when the authors speak about performance, we refer to both the exporter process (to avoid dealing with the transport session within the line card), and to the collector (avoid managing great amount of transport sessions between the collector and the multiple exporters). 
We did at INSA Lyon, long time ago, a performance test between both transports protocols (HTTPS-notif vs UDP-notif), and UDP-notif could manage more throughput and more messages with a single collector process.
Something we realised during our tests is that in Linux, when the packet passes the MTU and it fragments at IP level, the performance drops greatly (in terms of throughput and amount of messages we can deal with).

Please also note that even if the segmentation is specified within the draft, small messages are still preferred to avoid using the segmentation. I believe CBOR can help in reducing the size of the message.

Cheers,
Alex


> On 7 Aug 2023, at 10:50, <Thomas.Graf@swisscom.com> <Thomas.Graf@swisscom.com> wrote:
> 
> Dear Jürgen,
> 
> Following up on Tianran's and Benoit's comments. 
> 
> The reason why I am co-authoring and supporting draft-ietf-netconf-udp-notif and draft-ietf-netconf-distributed-notif because it is important that a network operator has the choice between two transport protocols for YANG push. One, draft-ietf-netconf-https-notif, which maintains states between YANG push publisher and receiver, and draft-ietf-netconf-udp-notif which doesn't require to maintain states. It should be the operators choice to chose which of the transport protocols make most sense for which type of metrics. Speaking for Swisscom, accounting metrics should be sent without states, directly from network processors on line cards, where re-transmitting packets are not feasible and at YANG push receiver. Where state changes, should be sent through a transport protocol which maintains states and re-transmission is supported and can be sent from the route processor. It is desirable to have minimal interaction between Network Telemetry data collection and the network node exporting the metrics, in particular when load is distributed among multiple YANG push receiver daemons in a redundant fashion.
> 
> I believe in running code. draft-ietf-netconf-udp-notif and draft-ietf-netconf-distributed-notif describe both an implementation status section where open-source code is linked. For https-notif we published a YANG push publisher https://github.com/network-analytics/https-notif-c-publisher and YANG push receiver https://github.com/network-analytics/https-notif-c-collector as well. Udp-notif has been integrated into the pmacct Network Telemetry open-source project.
> 
> I confirm that CBOR will be a further important step to make YANG push equally scalable and efficient than the other Network Telemetry protocols in use. I am looking forward to contribute to the netconf working group.
> 
> Best wishes
> Thomas
> 
> -----Original Message-----
> From: netconf <netconf-bounces@ietf.org> On Behalf Of Benoit Claise
> Sent: Monday, August 7, 2023 9:17 AM
> To: Tianran Zhou <zhoutianran@huawei.com>; netconf <netconf@ietf.org>
> Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
> 
> Dear all,
> 
> On 8/7/2023 8:55 AM, Jürgen Schönwälder wrote:
>> On Mon, Aug 07, 2023 at 06:34:36AM +0000, Tianran Zhou wrote:
>>>> The abstract says:
>>>> 
>>>>    The objective is to provide a lightweight approach to enable higher
>>>>    frequency and less performance impact on publisher and receiver
>>>>    processes compared to already established notification mechanisms.
>>>> 
>>>> It is not clear what 'performance impact' means here. Anyway, is there a proof that this design accomplishes the objective and how much is the gain over a transport that does segmentation properly, e.g., TCP?
>>> ZTR> There is no such proof from my side. I am not sure if there is any from coauthors.
>>> 
>> It would help to demonstrate that the design achieves the stated 
>> goals... This will likely make you think more clearly what you mean 
>> with 'less performance impact on publisher and receiver processes' and 
>> how much the gain is over 'established notification mechanisms'.
>> 
> There is a reason why NetFlow was exported over UDP and why IPFIX is still exported over UDP (independently of what the IPFIX RFC mandates).
> 
> Regards, Benoit
> 
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf