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

Jürgen Schönwälder <jschoenwaelder@constructor.university> Sat, 05 August 2023 09:49 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 1AAA8C151548 for <netconf@ietfa.amsl.com>; Sat, 5 Aug 2023 02:49:29 -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 kKNdU2ZHU5Xx for <netconf@ietfa.amsl.com>; Sat, 5 Aug 2023 02:49:25 -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 DDB9DC14CE3F for <netconf@ietf.org>; Sat, 5 Aug 2023 02:49:23 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 677093EB4; Sat, 5 Aug 2023 11:49:20 +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 9EFcSmuug6ot; Sat, 5 Aug 2023 11:49:20 +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; Sat, 5 Aug 2023 11:49:20 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1699020150; Sat, 5 Aug 2023 11:49:20 +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 gnSvZowQqrqY; Sat, 5 Aug 2023 11:49:19 +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 4370020095; Sat, 5 Aug 2023 11:49:19 +0200 (CEST)
Date: Sat, 05 Aug 2023 11:49:18 +0200
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: Tianran Zhou <zhoutianran@huawei.com>
Cc: netconf <netconf@ietf.org>
Message-ID: <xx32p3wmcfnc5jhyzccieskuirnnnrqjm4lczudcddsssyr2wl@boucgytivgpb>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: Tianran Zhou <zhoutianran@huawei.com>, netconf <netconf@ietf.org>
References: <8f78607ffe354a09b5bd5c84d4bcd95d@huawei.com> <akrn4urqwqhv4gtyvi26mqoi4qidhzwhss6y5cgcrdhi5bwk65@4my3rjryaazu> <16c3471f7a5c409cbd6ca60ed252609d@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <16c3471f7a5c409cbd6ca60ed252609d@huawei.com>
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Vm4IDSn-TaoDNsT8wJA90znJ-hs>
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: Sat, 05 Aug 2023 09:49:29 -0000

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:jschoenwaelder@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/>