Re: [Idr] Adoption and IPR call for draft-wang-idr-vpn-prefix-orf-03.txt (8/16 to 8/30)

Igor Malyushkin <gmalyushkin@gmail.com> Mon, 29 August 2022 13:28 UTC

Return-Path: <gmalyushkin@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF2D8C1526EC for <idr@ietfa.amsl.com>; Mon, 29 Aug 2022 06:28:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 YcLOYe3sJT4v for <idr@ietfa.amsl.com>; Mon, 29 Aug 2022 06:28:08 -0700 (PDT)
Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 7D03EC15AE12 for <idr@ietf.org>; Mon, 29 Aug 2022 06:27:28 -0700 (PDT)
Received: by mail-il1-x130.google.com with SMTP id h14so2528601ilh.10 for <idr@ietf.org>; Mon, 29 Aug 2022 06:27:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=aGIi9+l/jG9Xa9ReDMaObIi5rPtGd8SnulrEyzK2PWw=; b=VlzxBypVFP/jDWrdYGZlO69F3bxm4Oe9GimnquvU6rbqtSTYlhGVs0w7X8XPT4U6Kc LeBiM4G728Vv/03Ed5y4ZZ8Ajj2rKCHB4jpLtYkc+9rWJoTfyHkUwWvcTWc6cPsemFjP XquewMOx788yjXeN3G8ExHsagF3kBLeTsSkqwCDSR4lJkwghoV/tnbQgc5Qd5GoUZYTN 9WkYOXxwB6D5s7kp0lNfaGuqOn5bKQLNSiJKuD6s3ZYQpeIKnYC5/pGc9OYXqF798Api PAUqFASbHMPFep1HWWuLoXy0dCQJaZpu1+j1NLuS4eTrAZT4NMVSRuK3EmsmZD6MdFWm 3WqA==
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; bh=aGIi9+l/jG9Xa9ReDMaObIi5rPtGd8SnulrEyzK2PWw=; b=iTwbavUhSb86gfcXjtWV56czaAvNEUyrUt9jmp1JlCsfmXQELFdbgDaMiEcpmVtQOh NsqH9tZK7uDSA9R5PEteehjuBW2SXPbi0vkGXXc+dotfWim0PwPJfGiJIWWba4hwr4Gi QoyUsgRZjhWWgAGD8F0Cp55Yb7hp8MewruEmJE/5X9rmq0q2GeRSxu3mANOK8y+fgAk1 vj+9ZKpwlnSJqFxhTjVlcAwt8K/sjY+NhnVYVHh3TJhv3iJdTWLlMVkLr/xoPKgQug78 Z3KCKhR1F5C8QtBflCZ+knDpsAPozc+02AunDIpvMWOOyKZezcUaOHMmSjBM5+K9yR5e +jWA==
X-Gm-Message-State: ACgBeo3dM+eTAh70bSiNgMbLfIZ3/gvM6oL6lvOW5J6LHrpkJ5dRgvdI dD3phO6hBU5FS2g9kH0wjuTFilDOOl9pYVQ7Bc8=
X-Google-Smtp-Source: AA6agR4/35QoBuEId6T0cy1G/rSiLH7BD9nf91pVMbdzL8LsIedv5d2ubUe21ND9E4OcQ6aeDSxhFrFKjAhvwD7fPLM=
X-Received: by 2002:a05:6e02:78a:b0:2eb:1304:c90f with SMTP id q10-20020a056e02078a00b002eb1304c90fmr2427522ils.165.1661779647440; Mon, 29 Aug 2022 06:27:27 -0700 (PDT)
MIME-Version: 1.0
References: <tencent_3C3279A3B4DAF8DA03F446E7AAE799D8AA09@qq.com> <CAEfhRrz5aAJmy2Ye1gqss2d72nm78n4SfeowO-FU7i4Z6Zpb+A@mail.gmail.com> <0CD78D4C-672F-41AA-8E1B-98CD8A875D21@pfrc.org>
In-Reply-To: <0CD78D4C-672F-41AA-8E1B-98CD8A875D21@pfrc.org>
From: Igor Malyushkin <gmalyushkin@gmail.com>
Date: Mon, 29 Aug 2022 15:27:15 +0200
Message-ID: <CAEfhRrxkuYMmfcdX=M9PG2mN+D5fCBF5bVxd1bSA2O9PU5G-gA@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Wei Wang <weiwang94@foxmail.com>, idr <idr@ietf.org>, Sue Hares <shares@ndzh.com>
Content-Type: multipart/alternative; boundary="00000000000094ab5405e7613955"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/vXEPnM6F7hSuHrpbtH_vdjwNu6E>
Subject: Re: [Idr] Adoption and IPR call for draft-wang-idr-vpn-prefix-orf-03.txt (8/16 to 8/30)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2022 13:28:09 -0000

Hi Jeff,

Thanks for comments.

I`m concerned that the suggested solution covers only subset of cases. For
example, if a multihomed CE sends us lots of prefixes (that we for unknown
reason didn`t drop at ingress), one multihomed PE can distribute them
slightly faster than another one. In that case, routes from one multihoming
PE will deplet and its quota, and the VRF prefix limit. At the same time
routes from the second multihoming PE come. Let`s imagine that RR hasn`t
withdrew yet all excessive routes of the first multihoming PE, it is in the
process. Here we need to drop locally (due to the old-good prefix limit)
almost the same amount of routes (roughly) from the second leg also receive
and process withdraws from RR for the fist leg. I believe we will make
things with resources even worse. Not to mention if we will free some room
for prefixes due to ORF, we will doomed to update RIB/FIB two times in vain.

Maybe it`s a good move to count a quote independently of the VRF limit
(such mechanic isn`t described in the draft, so I`m not sure how
it actually works). In the scenario above despite we locally drop excessive
routes from the second multihoming PE due to the VRF prefix limit, we can
also reduce its quota at the same time and react much faster.

Please also see the inline.

пн, 29 авг. 2022 г. в 14:45, Jeffrey Haas <jhaas@pfrc.org>:

> Igor,
>
> > On Aug 29, 2022, at 8:39 AM, Igor Malyushkin <gmalyushkin@gmail.com>
> wrote:
> >
> >
> > In the first option, will RR withdraw all PE3`s routes until the number
> of these routes reaches to the quota of PE3, right? In such way, the
> described problem can happen only in the second scenario because there will
> be a room for the routes of PE2. If RR withdraws routes that overflowed the
> VRF prefix limit only, the described problem will actual for any case.
>
> One observation is that the local systems, when examining their quotas,
> can use the fact that it knows that a given RD is intended to be mitigated
> by the ORF or not.
>
> Exactly how the system needs to behave in the implementation would
> partially depend on the reason for mitigation.  For memory exhaustion, it
> may need to be more aggressive about discarding routes.  For CPU overload,
> lesser mitigations may be sufficient.
>
[IM] Actually overloading of a VRF prefix limit (which starts sending of an
ORF message) does not mean that there are any problems with the memory or
CPU. It is just a threshold, a device can even locally drop all excessive
routes without any starvation of its resources. This threshold (VRF limit)
is an only good and reliable trigger for us. We also can`t know beforehand
what problem is actual in the case of routes overloading, it may be either
a memory problem, or a CPU one, or even both. So I can`t see a way to
configure "the aggressiveness mode" for the proposed solution either. Or I
didn`t get your point.

>
> I think the critical implementation detail is that once this ORF is
> triggered, it should require operator intervention to clear to avoid
> thrashing routes.
>
[IM] Operator`s intervention should be triggered earlier, when the quota
has passed. But I agree that number of excessive routes can be so much so
it will run through the quota and the VRF limit almost simultaneously.

>
> -- Jeff
>
>