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

heasley <heas@shrubbery.net> Wed, 03 August 2022 15:26 UTC

Return-Path: <heas@shrubbery.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 F2887C14CF09 for <idr@ietfa.amsl.com>; Wed, 3 Aug 2022 08:26:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.228
X-Spam-Level:
X-Spam-Status: No, score=-4.228 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 I8u7dpki28n8 for <idr@ietfa.amsl.com>; Wed, 3 Aug 2022 08:26:54 -0700 (PDT)
Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 B2EB8C14F74D for <idr@ietf.org>; Wed, 3 Aug 2022 08:26:54 -0700 (PDT)
Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 913193D2F2; Wed, 3 Aug 2022 15:26:53 +0000 (UTC)
Date: Wed, 03 Aug 2022 15:26:53 +0000
From: heasley <heas@shrubbery.net>
To: Job Snijders <job=40fastly.com@dmarc.ietf.org>
Cc: Robert Raszuk <robert@raszuk.net>, heasley <heas@shrubbery.net>, "idr@ietf. org" <idr@ietf.org>
Message-ID: <YuqTvcA4Fxarxo36@shrubbery.net>
References: <CAOj+MME7XnW7kDXL4muh4Qp1UvabQ9amUoU0Sn3h2axqKzswzA@mail.gmail.com> <77F3E1F0-486F-47DF-ABE4-EFDB9C2FB6D8@gmail.com> <CAOj+MMGR4f3eLEDZY++1m4Lpo9joG4L9OrWbeF6kREn-9a9onA@mail.gmail.com> <c6e44213-7667-0f67-71a4-634411cd102b@foobar.org> <CAOj+MMFajL6E42WCzC0ZqrfSBZjU-0B=ZzmtvCRPkuMzU8z5QA@mail.gmail.com> <Yun6e5jSb0OYZGAX@shrubbery.net> <CAOj+MMFRJr=cs+5DVOp72BVn_j3NgANwNftyj=jRbdsvPpg-wA@mail.gmail.com> <Yupp6uYxNVsBlL07@snel>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <Yupp6uYxNVsBlL07@snel>
X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc
X-note: live free, or die!
X-homer: i just want to have a beer while i am caring.
X-Claimation: an engineer needs a manager like a fish needs a bicycle
X-reality: only YOU can put an end to the embarrassment that is Tom Cruise
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/luBV20WjGc3LDTj5VkPw8M8IeR4>
Subject: Re: [Idr] Fwd: 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: Wed, 03 Aug 2022 15:26:58 -0000

Wed, Aug 03, 2022 at 02:28:26PM +0200, Job Snijders:
> > So I am asking what exactly is the trigger to fire that timer when BGP
> > can not write to a TCP socket ? Is it Error 105: No buffer space
> > available ? Something else ?
> 
> Something else! A POSIX.1 function like send() normally *blocks* if no

More succinctly, the socket is not writable without blocking.  The send
buffer is full.

> > If this is just queued keepalives (no BGP churn) then depending on the
> > buffer size it may take ages to fill ...
> 
> Indeed, and some BGP implementations do some form of 'SendQ Deduplication'

even if they did, a message such as a KA is already sent as far as it is
concerned - it is in the socket buffer and likely forgotten about.  so,
the buffer could fill will KAs - but still irrelevant.