Re: [Idr] New Version Notification for draft-spaghetti-idr-bgp-sendholdtimer-05.txt

Robert Raszuk <robert@raszuk.net> Fri, 19 August 2022 16:38 UTC

Return-Path: <robert@raszuk.net>
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 9E3D4C1522BF for <idr@ietfa.amsl.com>; Fri, 19 Aug 2022 09:38:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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 ng3BiyPDnJI0 for <idr@ietfa.amsl.com>; Fri, 19 Aug 2022 09:38:19 -0700 (PDT)
Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 AF9B0C14CE34 for <idr@ietf.org>; Fri, 19 Aug 2022 09:38:19 -0700 (PDT)
Received: by mail-ej1-x635.google.com with SMTP id w19so9796101ejc.7 for <idr@ietf.org>; Fri, 19 Aug 2022 09:38:19 -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; bh=SuMfWh5XdLSwIC+pSt99y5bPidZCPoHMmbBIsXObKG0=; b=L+TaOfpHYp/5wJLapI7MkusUqiMPRJpofV62amxKmXUGHtr0AkAFC1vFK6QQw3Fvzj PaLjzNgUQTR/QQr6luaquYhRS2wgFJBK3RmL9fzXjhm3nhEuW9Kq+kt/yS7b1rrJVDCG pk2TWLxnhcxlMYHH+ji8OrmELf/0htM+FJrnTIjPOq71XJWUA5+dg+YB99LheiJ/nOTm uwQX0xBB7XGCHi+95Es1pQKBXv0sQPMrIQ+aVa3Tx7lHIPSUWsJBnFRiUF+XQ13Yohph BSWbqw+9GlXCIGidufeEUIIXwfS0hMBiEYKVxsAYUqnBBgmHx/c3q36x2kPLUIYueYya T0MQ==
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=SuMfWh5XdLSwIC+pSt99y5bPidZCPoHMmbBIsXObKG0=; b=IWnRH8HvwAHR57jIBmF2w0E4x3DQG6lcoh7jvX1gbhwAGPTPCmpyRkINOYhi+0EjcC U48efXExUNq7dlvkWwfAig/uQU/D0ACPSrAvkLdoQIaMnDMxYmSI4LZw/zGRuSBuk60R qoaQxciK8FsMMWm3fHHALIWTdfyuPX5McNiVKxhPS7EVqlClE+YKZoMTDZ+vJPUmKUql GSTyr0J+oAkJaXgl2PWUKEKSSbjvFDf28+SGwAprsECefMHtEOplG7kZI78D72LeeJmq Wb5tznPuLXrgZrKUQnsD/inAVLy7FTgckIlUBdXnjL9kO/wamiWY1XFRbWLehtVsA9vB HxSw==
X-Gm-Message-State: ACgBeo1P2GrsVgfmPUsz78Zod+W1rTBgZgYUyZYNNPWuJxkAceSWqhXR 9bzw71Aq7Uwv+ucPRHyOZy6F+U8UXUU+m0kO+oAQqg==
X-Google-Smtp-Source: AA6agR4JajnB0hoHiVAeXCGqKg6oMOUvmYnItb3H/39mBvfdEkfBYc69oqLkdrrT7jwmK3lNWlepOdf1kDeDQYnbQQI=
X-Received: by 2002:a17:906:fe0b:b0:730:3646:d177 with SMTP id wy11-20020a170906fe0b00b007303646d177mr5232401ejb.688.1660927092533; Fri, 19 Aug 2022 09:38:12 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MMGTQSOYbd6g55vquzBoE2EEGMu4QSMDpYSTWvFhX4+BHg@mail.gmail.com> <CAEm8Q11M35gp=m2pMjnQ_RnQ4S_Otx4wugwx03QRPDvCzMWcyw@mail.gmail.com> <CAOj+MMEdWr4mnp0Cr9QSQ+Msfb6jHwziu=ttPGhdXUrtgtZqBw@mail.gmail.com> <Yvp3eZ4iDccWNmIR@shrubbery.net> <CAOj+MMER5fTqyyXhFB0VkL51CHKC81=DNfGeqtHqPEcAgS0LBw@mail.gmail.com> <Yvq12HOd+1HPPa/t@shrubbery.net> <CAOj+MMFNVM7TrpGGrreWufkP97X0n0W11y2eOsnss+v5irE62g@mail.gmail.com> <AM7PR07MB6248651F07184633E93B1144A06A9@AM7PR07MB6248.eurprd07.prod.outlook.com> <83BA8ED7-3ABF-4079-AFC5-F9F60CEA9668@pfrc.org> <CANJ8pZ8Xv2PXTqmtv_pg5XCcAyN=5_UQa2ab9LeDkbiuFdXUqw@mail.gmail.com> <20220819162451.GA17925@pfrc.org>
In-Reply-To: <20220819162451.GA17925@pfrc.org>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 19 Aug 2022 18:38:01 +0200
Message-ID: <CAOj+MMEaCpfMspd47jwN6yCVu8VHqL29ZkJAGVj6uii1YtgjPQ@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Enke Chen <enchen@paloaltonetworks.com>, tom petch <ietfc@btconnect.com>, John Heasley <heas@shrubbery.net>, "idr@ietf. org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005945d405e69ab9d4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/00QuAZRBLS0_QgPlh_70iPTXoPM>
Subject: Re: [Idr] New Version Notification for draft-spaghetti-idr-bgp-sendholdtimer-05.txt
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: Fri, 19 Aug 2022 16:38:23 -0000

Hi Jeff,

 It's therefore reasonable to pick a very high value
> and always start the timer upon session startup and then potentially reduce
> the timer after we've achieved end-of-rib.  If end-of-rib isn't going to be
> received, that lower timer threshold may be reasonable to set after some
> drop-dead time; alternatively just stick with the very high value.
>

Please note that this is almost exactly what we did in the draft. We
recommended
30 min or EOR.

   We also recommend that the TCP "User Timeout" parameter be set only
   after the End-of-RIB marker [RFC4724], if expected, is received from
   each of the (AFI, SAFI) being exchanged over the BGP session, or
   otherwise thirty minutes after the BGP session is established.


We did not suggest lowering that after drop-dead time just yet ... or we
did not
include some AI bits into this simply as we think this is marginal
enough so we
should not make it too complex.



> Similarly applicable to both drafts, I'm wondering if there may be benefit
> in signaling the peer what the sendholdtimer (or equivalent tcp-user timer)
> values are.  It's effectively a warning, and a hint to the remote peer's
> schedulers to make sure that some amount of data is drained in a timely
> enough fashion.  The NOTIFICATION subcode we've started discussing for
> signaling that the sender has torn things down is the other half of this
> equation.
>


If the sender is not following negotiated HOLDTIME I am not sure if this is
useful to signal it apriori.

As we see there can be some constants but the timeout may be subject to
change
during runtime. So what we signalled on session up may not apply in all
cases. If we
look at TCP there can be a number of TCP level factors in dropping the
session or not.




> With regard to the TCP specific feature, I still have personal unease with
> what the timer implies.  The general desire articulated by many in these
> threads is "the peer makes progress and doesn't stay blocked forever".
> Certainly the TCP user timeout would accomplish that.  However, the timer
> is
> versus "unacknowledged data".  What this means is not "we've made no
> progress", rather "stuff was enqueued X seconds ago and unacknowledged".
>

There is a significant difference in what do we call "stuff" here.

Current BGP Send_Hold_Timer implementation detects TCP local buffer as
full. I
think this is way too coarse to what we are dealing with here.

And to solve this in a decent manner and not make BGP code way too complex,
TCP
level detection comes almost for free here. Hence our proposal :)

Kind regards,
Robert