use TCP_NODELAY on TCP sockets?
Ondrej Zajicek
santiago at crfreenet.org
Thu May 16 12:55:38 CEST 2024
On Wed, May 15, 2024 at 06:37:18PM +0200, Job Snijders via Bird-users wrote:
> Dear BIRD people,
>
> On most systems RFC 896 TCP congestion control is used, also known as
> "Nagle's algorithm". This algorithm is intended to help coalesce
> consecutive small packets from userland applications (like BIRD) into a
> single larger TCP packet. The idea being it reduces bandwidth because
> there is less TCP overhead if data is bundled into fewer packets.
> ...
> I think using TCP_NODELAY is interesting to consider, because it seems
> sensible to try to deliver BGP messages as fast as possible. OpenBGPD
> and FRR set the TCP_NODELAY socket option.
Hi
Yeah, i think that using TCP_NODELAY for BGP makes sense, considering
there is already non-trivial framing and we write individual BGP messages
with one write().
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list