Re: [GROW] [Idr] RFC7854: EoR

Robert Raszuk <robert@raszuk.net> Fri, 23 September 2022 17:23 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: grow@ietfa.amsl.com
Delivered-To: grow@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB0BBC1522CB for <grow@ietfa.amsl.com>; Fri, 23 Sep 2022 10:23:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 Yi0uGFvu50NM for <grow@ietfa.amsl.com>; Fri, 23 Sep 2022 10:23:40 -0700 (PDT)
Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02DF3C1522C3 for <grow@ietf.org>; Fri, 23 Sep 2022 10:23:39 -0700 (PDT)
Received: by mail-wm1-x331.google.com with SMTP id o20-20020a05600c4fd400b003b4a516c479so376960wmq.1 for <grow@ietf.org>; Fri, 23 Sep 2022 10:23:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=B3JcfgbwOVOvYrsOcmGKoO7FuGhNfbY/NCo85ETbaic=; b=CnCYxENe0+aqJLVmkb7KTsOWjBmhQ9w8xUiSHuoF15NwXGcgl76+TV/iAdTQqMF5Kb 8JcyHj24WgEccXmmXVEGoHBkwCaghNSwZhXxc8RMjzwcgzfPPNzuvMLaX0FGRVWCao1C OcBELSzWv6uI5JBp6nvZd0TfuSpSXzPO35A6KzGYheQw3sW6oSoG5AC7Qo8/r+znS6zO hmTmDhy2GQlp7fEM4GVJMIDRlIK/iCY1SLWAHrAJ7IW7LWPkHeCYXNWvaflbn/HpE+2w rxBin0t00p7quV9MQ8vyZZWDtzpSvLYFeh+qRvQK4Skjl596Md09CeUvpN2f+gh/Dl74 E6ZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=B3JcfgbwOVOvYrsOcmGKoO7FuGhNfbY/NCo85ETbaic=; b=K4xQDdhgWrNXAtxTiZyccJja9GknEbMJMvTXDij5dqckEG/GNY3JXabBJByTxO5KJh pVLPUr4BZkihX89zsN/ienpWCSw4gM2gMEcxN6zeJ5GugWNqhSRGftBqm+ZXlumc1/xh RDDxyhj5JfKsJim85Ro7C9cIvcnGtN0LKFek/nKXs2rDeH5KxiwNNYcnnKiIbultCjLo S7uWFHc6ikWATUAfiXYEYDqfD3NbpwAISCcKlbVyMHfVGXAs/xwBfZZxAYJbO4Bo8umB d3kIcGaE6558jZg1UOeAHgj/CWSxQWnefTJ8W3kqq35XPe0wM3HexoM58XQyGB8+DpmA JEAQ==
X-Gm-Message-State: ACrzQf28g0RrjRBKgc9aEhuPyg7ANzJA27ykAxSMXLE1etF6yygtimPq hbBAnOq6nCB35su7M2ocgQuR7TYEVuPs99lW08haQA==
X-Google-Smtp-Source: AMsMyM4pNpKeM+m0MoEN7BQcGsyMzn/IWYDAgTKCT+I0qpb0cd8Y0EugJwfGZOCpU37aZz1gHhlqFVe79kLghAV7CCY=
X-Received: by 2002:a05:600c:524b:b0:3b4:8c0c:f3b6 with SMTP id fc11-20020a05600c524b00b003b48c0cf3b6mr14093015wmb.50.1663953817729; Fri, 23 Sep 2022 10:23:37 -0700 (PDT)
MIME-Version: 1.0
References: <bd7c5fb4-b398-c979-6f6b-0de82fd2ee12@bernat.ch> <dba40193-138e-5981-a4c2-6fc44fadde51@bernat.ch> <20220912203612.GA18968@pfrc.org> <6CB8C0EB-DC6E-48A8-993A-C98DEBD0D04A@juniper.net> <463DBA4E-3136-4A0F-A298-D081FEB123EB@pfrc.org> <20220914230819.GD27304@principal.rfc2324.org> <20220916101510.GA1365691@corley.shackle.nl> <MW3PR11MB4651FA81C4FC0E6C0F488DB4B64D9@MW3PR11MB4651.namprd11.prod.outlook.com> <CAOj+MMFtgEDOpXLREEsv8ovpeFXzQOtGv9EO88y5cB2eTo+UdA@mail.gmail.com> <MW3PR11MB46513C54B1D47195ECCBDBF2B64D9@MW3PR11MB4651.namprd11.prod.outlook.com> <CAOj+MME6W8RriOD6o_Cxktx1QnhFVx1ckSgm3VnFhV15FvNPrw@mail.gmail.com> <bea671a4-fc4b-f213-82c0-1ed160be2798@ntt.net> <CAOj+MMG8+4v6NbW+iEvL9Xit+_bDi4PHzWf_S70aXCvj_8wSMw@mail.gmail.com> <1665091468.4965740.1663767921590@kpc.webmail.kpnmail.nl> <CAOj+MMHLt31XarVjCOr2s0Z6-hAqxD23QwysGojt-wfa_n0Baw@mail.gmail.com> <1437156227.5290990.1663947676890@kpc.webmail.kpnmail.nl>
In-Reply-To: <1437156227.5290990.1663947676890@kpc.webmail.kpnmail.nl>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 23 Sep 2022 19:24:00 +0200
Message-ID: <CAOj+MMFx45f4mThGT6DOvakCpU11gtEy5+UXTU4Ucdv3D6Cggg@mail.gmail.com>
To: Henk Smit <henk.ietf@xs4all.nl>
Cc: Paolo Lucente <paolo@ntt.net>, "grow@ietf.org" <grow@ietf.org>, Maximilian Wilhelm <max@rfc2324.org>
Content-Type: multipart/alternative; boundary="0000000000003a945805e95b7018"
Archived-At: <https://mailarchive.ietf.org/arch/msg/grow/NZ7J12C-W1AukrHSb8HCiOKxJOc>
Subject: Re: [GROW] [Idr] RFC7854: EoR
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/grow/>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Sep 2022 17:23:43 -0000

Hi Henk,

Ok we are on the same page.

As you can see in this message I exactly described that in monitoring mode
we send the "latest" not all messages:
https://mailarchive.ietf.org/arch/msg/grow/I83kOjy63OCg34e4a9ygdU8XkfI/

I did not even know we call it "compression" :)

But then there is mirroring mode of operation where I think by the spec it
is bit by bit replay. Perhaps as Jeff and later I noted with some vendor
secret sauce filtering.

I agree with Jeff that sending all counters which I suggested would mean
sending all RIB (or rather Adj_Rib_In). But that was not really what I
meant by asking if extension to BMP to carry such churn counters is
something folks would like to see happening.

I was more thinking that we specify such counters + add b_net info and send
it periodically only when it increases above a wise threshold. Not sending
a full table at all.

Sure here we come to really ask if such counters should be sent by BMP or
MGMT/YANG channels. I am a bit split on this. Input welcome !

Best,
Robert





On Fri, Sep 23, 2022 at 5:41 PM Henk Smit <henk.ietf@xs4all.nl> wrote:

> Hi Robert,
>
> > I do not agree that exposing churn is hard.
>
> Maybe not. But not by reporting every incoming BGP packet bit-for-bit to
> the collector.
> You want to keep the "compression". I wouldn't call it compression, I
> would call it "reporting only the latest state".
>
> If you want to look at problems, you have your periodic counters. Those
> should help.
>
> > just keep local churn counter per NLRI
>
> If you want to look at per-NLRI granularity, indeed we could use some more
> information in the message-format.
> If people had been interested in my BMPv4-draft from 2018, we would have
> had proper TLVs for all packet-types.
> And adding a "churn-counter TLV" to monitoring messages would have been
> trivial. And backwards compatible.
> Has:
> https://datatracker.ietf.org/doc/html/draft-ietf-grow-bmp-tlv
> been implemented yet? Do we have TLVs for Route Monitoring messages?
>
> In any case, I would advocate for keeping the "compression" mechanism in
> BMP. Only report the lastest state.
>
> henk.
>
>
> Op 21-09-2022 22:55 schreef Robert Raszuk <robert@raszuk.net>:
>
>
> Hey Henk,
>
> The point is that what matters in BGP is reachability and stability //
> Leave aside all the opaque junk BGP carries today //. Reachability you can
> pretty much monitor by vanilla IBGP session say with Add-Paths if you want
> to be fancy. Stability or more importantly filtering the "bad" routes is a
> bit harder.
>
> So I do not agree that exposing churn is hard. You perhaps think about it
> in the atomic model where you have to mirror all received messages. Well
> BMP original idea was about just that. But here we need to decouple
> discussion about sharing Adj_RIB_In from global bRIB.
>
> But here you can just keep local churn counter per NLRI to periodically
> send it in BMP indicating how many paths for a given b_net was received or
> withdrawn since your last BMP update. And it does not need to take much
> space on the sender nor BMP receiver.
>
> I would call it smart-compression where you significantly reduce make the
> bits on the wire or in the ram/ssd yet you do not drop useful information.
>
> Many thx,
> R.
>
> On Wed, Sep 21, 2022 at 3:45 PM Henk Smit <henk.ietf@xs4all.nl> wrote:
>
> Hi Robert,
>
> > But this will hide BGP churn for a given NET to be detectable by BMP
> receiver. Is this a good thing ?
>
> The question is: how expensive is it to report everything bit-for-bit to
> the BMP collector?
> If you want to report everything, you have to store everything.
> Which will require bufferspace. How much? You don't know in advance. Might
> be a lot.
>
> The current way of doing things allows the BMP implementation on a router
> to be pretty efficient.
> When BGP receives routes, you store them in the BRIB. You don't store
> anything special for BMP (expect maybe timestamps, or other meta-data).
> When BMP on a router is going to send BMP updates, it just walks the BRIB,
> and sees which NLRI/routes have not been sent to the collector yet.
> BGP needs only 1 bit of information for that (to be precise: 1 bit per BMP
> session per NLRI/route).
>
> If you want to see all churn, you need loads of buffers.
> And BMP stops being an easy and efficient protocol.
> So yeah, I am greatly in favor of allowing "compression" (aka skipping
> reporting outdated info).
>
> henk.
>
>
> Op 21-09-2022 07:52 schreef Robert Raszuk <robert@raszuk.net>:
>
>
> Hi Paolo,
>
> A-la: there is multiple updates related to a certain NLRI by when a BMP
> message is to be sent out, let's state-compress (ie. not send out) those
> that were already obsoleted by a subsequent update.
>
>
> But this will hide BGP churn for a given NET to be detectable by BMP
> receiver. Is this a good thing ? I am not sure. It is a loss of information
> to me.
>
> Thx,
> R.
> _______________________________________________
> GROW mailing list
> GROW@ietf.org
> https://www.ietf.org/mailman/listinfo/grow
>
>