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

Jürgen Schönwälder <jschoenwaelder@constructor.university> Sun, 06 August 2023 07:29 UTC

Return-Path: <jschoenwaelder@constructor.university>
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 3586CC14CE27 for <netconf@ietfa.amsl.com>; Sun, 6 Aug 2023 00:29:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.607
X-Spam-Level:
X-Spam-Status: No, score=-2.607 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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=ham 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 GwIdR97G4Soc for <netconf@ietfa.amsl.com>; Sun, 6 Aug 2023 00:28:57 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04FC4C14EB1E for <netconf@ietf.org>; Sun, 6 Aug 2023 00:28:55 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 3FE4A3EAE; Sun, 6 Aug 2023 09:28:53 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id xojmnCTmobYg; Sun, 6 Aug 2023 09:28:53 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (not verified)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Sun, 6 Aug 2023 09:28:53 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id DB1FD20150; Sun, 6 Aug 2023 09:28:52 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id RLpL5C9DDlJ7; Sun, 6 Aug 2023 09:28:52 +0200 (CEST)
Received: from localhost (alice.jacobs.jacobs-university.de [10.50.244.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id 1B9A920095; Sun, 6 Aug 2023 09:28:51 +0200 (CEST)
Date: Sun, 06 Aug 2023 09:28:50 +0200
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: Tianran Zhou <zhoutianran@huawei.com>
Cc: netconf <netconf@ietf.org>
Message-ID: <wd6kzin4foik2dimypz67ziqya7lhbs3rzk7t4gp6jic77kxb3@6pvkir2sivsn>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: Tianran Zhou <zhoutianran@huawei.com>, netconf <netconf@ietf.org>
References: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com>
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/sCWZaTGGixzPAMVVXQeDuYlALlo>
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: Sun, 06 Aug 2023 07:29:01 -0000

Well, I asked a bunch of questions...

/js

On Sun, Aug 06, 2023 at 02:36:50AM +0000, Tianran Zhou wrote:
> Hi Jurgen,
> 
> IMO, your suggestion makes sense.
> 
> Best,
> Tianran
> 
> -----邮件原件-----
> 发件人: Jürgen Schönwälder <jschoenwaelder@constructor.university> 
> 发送时间: 2023年8月5日 17:49
> 收件人: Tianran Zhou <zhoutianran@huawei.com>
> 抄送: netconf <netconf@ietf.org>
> 主题: Re: [netconf] draft-ietf-netconf-udp-notif-10
> 
> 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?
> If you worry about CPU efficiency, the first things to consider is likely using a binary encoding. Or is the argument that linecards still can't do TCP in 2023 and 'performce' means code size on linecards, saving TCP but instead implementing ad-hoc fragmentations in application-layer transports?
> 
> UDP works great for small self-contained messages (and with small I mean something up to the size of a typical MTU). For everything requiring larger messages, you will have to invent a fragmentation and reassembly logic that may at the end be in the same ballpark as a light-weight TCP implementation.
> 
> Has this work ever been received review by transport area people?
> 
> To answer your question, there likely should be a 'do not use this'
> recommendation unless you have full control of all components involved (i.e., inside a box where the frontend NC/RC agent can ensure that requests from the outside are mapped to internal communication flows that stay within the operational limits of this transport).
> 
> /js
> 
> On Sat, Aug 05, 2023 at 09:21:45AM +0000, Tianran Zhou wrote:
> > Hi Juergen,
> > 
> > What’s your suggestion here?
> > How about describing this as operational considerations?
> > 
> > Cheers,
> > Tianran
> > 
> > 
> > 
> > ________________________________
> > 
> > Sent from WeLink
> > 发件人: Jürgen 
> > Schönwälder<jschoenwaelder@constructor.university<mailto:jschoenwaelde
> > r@constructor.university>>
> > 收件人: Tianran 
> > Zhou<zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
> > 抄送: Tschofenig, 
> > Hannes<hannes.tschofenig@siemens.com<mailto:hannes.tschofenig@siemens.
> > com>>;netconf<netconf@ietf.org<mailto:netconf@ietf.org>>
> > 主题: Re: [netconf] draft-ietf-netconf-udp-notif-10
> > 时间: 2023-08-05 14:49:42
> > 
> > On Sat, Aug 05, 2023 at 06:26:50AM +0000, Tianran Zhou wrote:
> > >
> > > Of course, with so many fragments the probability of discarding the entire message due to the lost of one or more UDP packets is large even if the probability of loss of an individual datagram is very small. I hope you are not going to need so many fragments in a practical application.
> > >
> > > ZTR> I understand your point. I agree in a practical application, too large msg should not be encouraged. But the size of the message is requested by the users. Fragmentation will not introduce more loss itself. It just provide the possibility that user can request larger message.
> > >
> > 
> > If the probability of loosing a UDP datagram is 0.1% and you need
> > 100 UDP datagrams to send a larger NETCONF message, then the loss 
> > probability for the NETCONF message is close to 10%. Yes, your 
> > fragmentation scheme does not change the loss probability of UDP 
> > datagrams but the fact that all datagrams need to arrive correctly in 
> > order to deliver the NETCONF message causes the loss probability of 
> > NETCONF messages to go up quickly as the number of fragments 
> > increases. The question is whether 'the requesting users' (who is
> > that?) can be assumed to understand the details and that there is 
> > somewhere (internal?) a UDP transport involved that has possible 
> > message size sclability problems.
> > 
> > /js
> > 
> > --
> > Jürgen Schönwälder              Constructor University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://constructor.university/>
> > 
> 
> -- 
> Jürgen Schönwälder              Constructor University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://constructor.university/>
> 

-- 
Jürgen Schönwälder              Constructor University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://constructor.university/>