From: Eli Zaretskii <eliz@gnu.org>
To: Eric Marsden <eric.marsden@risk-engineering.org>
Cc: emacs-devel@gnu.org
Subject: Re: PATCH: add support for TCP_NODELAY on network streams
Date: Wed, 11 Dec 2024 17:37:15 +0200 [thread overview]
Message-ID: <861pye44es.fsf@gnu.org> (raw)
In-Reply-To: <7292e8f5-2be9-4c76-b473-882ff437ad93@risk-engineering.org> (message from Eric Marsden on Wed, 11 Dec 2024 11:51:27 +0100)
> Date: Wed, 11 Dec 2024 11:51:27 +0100
> From: Eric Marsden <eric.marsden@risk-engineering.org>
>
> The attached patch adds support for the socket option TCP_NODELAY,
> to disable Nagle's algorithm. This means that network segments are
> sent as soon as possible, even when they contain little data. This
> reduces network latency on the network connection, but can lead to
> many small packets being sent.
Thanks, but please in the future send patches to the bug tracker (we
have a submit-emacs-patch command for that).
> +@item :nodelay @var{nodelay-flag}
> +If @var{nodelay-flag} is non-@code{nil}, the @code{TCP_NODELAY} option
> +is enabled on the socket. This disables the Nagle algorithm, meaning
> +that network segments are sent as soon as possible, even when they
> +contain little data. This reduces network latency on the network
> +connection, but can lead to many small packets being sent.
Our conventions are to leave two spaces between sentences.
prev parent reply other threads:[~2024-12-11 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 10:51 PATCH: add support for TCP_NODELAY on network streams Eric Marsden
2024-12-11 12:45 ` Robert Pluim
2024-12-11 15:37 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861pye44es.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=eric.marsden@risk-engineering.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).