From: Junio C Hamano <gitster@pobox.com>
To: Matthieu Baerts <matttbe@kernel.org>
Cc: Phillip Wood <phillip.wood123@gmail.com>,
Muhammad Nuzaihan <zaihan@unrealasia.net>,
"brian m. carlson" <sandals@crustytoothpaste.net>,
git@vger.kernel.org
Subject: Re: Small patch to add support for MPTCP on Linux
Date: Tue, 20 May 2025 15:02:52 -0700 [thread overview]
Message-ID: <xmqqfrgzgctv.fsf@gitster.g> (raw)
In-Reply-To: <202e1a66-72af-48f6-9b3b-7d7473db699e@kernel.org> (Matthieu Baerts's message of "Tue, 20 May 2025 22:34:56 +0200")
Matthieu Baerts <matttbe@kernel.org> writes:
> Sorry, I was not clear. I meant "introducing MPTCP in the Linux kernel
> couldn't impact other protocols in terms of memory allocated per socket
> buffer or performances by adding extra checks a bit everywhere for example".
Ah, OK. What you meant is that the networking maintainers did not
allow you to affect the "normal" codepath when adding MPTCP support
to their subsystem.
Which is conservative and probably a good thing, I guess.
But that choice means each and every application need to opt-in,
which is cumbersome, inconvenient, and hampers adoption X-<.
> listening socket supporting MPTCP on the server side will return a
> "plain" TCP socket to the userspace during the accept() call. That's why
> we recommend enabling MPTCP on the server side by default if supported:
> the impact is minimal, and MPTCP is only used when requested by the
> clients -- which are usually the ones benefiting more from MPTCP
> features. That's in fact the current behaviour for apps written in Go:
> MPTCP is now enabled by default on the server side, and it is easy to
> enable it on the client side when needed.
That reminds me about one thing I forgot to ask.
The git:// protocol is the only one we have control over what to ask
to the socket() system call and the posted patch was about the
client side [*].
On the other end of the connection, even though you could use the
dedicatd "git daemon" process sitting and listening on a socket, my
understanding is it is more common to spawn it via inetd(8). Does
it mean that the host needs to run inetd with MPTCP enabled? I do
not know how common that is.
Thanks.
[Footnote]
* On the public Internet, hopefully nobody is using that protocol
anymore, and instead using either https:// or ssh:// that gives
better integrity assurances.
next prev parent reply other threads:[~2025-05-20 22:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-16 17:56 Small patch to add support for MPTCP on Linux Muhammad Nuzaihan
2025-05-16 20:33 ` brian m. carlson
2025-05-17 7:19 ` Muhammad Nuzaihan
[not found] ` <CAOYsWhkMb8hxjnYRTgAb269N=e-Vyw10Go5M=RA-8PyCjXPttA@mail.gmail.com>
2025-05-17 8:46 ` Muhammad Nuzaihan
2025-05-17 10:15 ` brian m. carlson
2025-05-17 13:10 ` Muhammad Nuzaihan
2025-05-17 13:39 ` Phillip Wood
2025-05-19 23:49 ` Junio C Hamano
2025-05-20 4:32 ` Muhammad Nuzaihan
2025-05-20 10:54 ` Matthieu Baerts
2025-05-20 15:44 ` Junio C Hamano
2025-05-20 20:34 ` Matthieu Baerts
2025-05-20 22:02 ` Junio C Hamano [this message]
2025-05-22 11:12 ` Matthieu Baerts
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqfrgzgctv.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=matttbe@kernel.org \
--cc=phillip.wood123@gmail.com \
--cc=sandals@crustytoothpaste.net \
--cc=zaihan@unrealasia.net \
/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.
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 NNTP newsgroup(s).