General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@irif.fr>
To: bloat <bloat@lists.bufferbloat.net>
Subject: [Bloat] The sad state of MP-TCP
Date: Mon, 01 Apr 2024 15:20:00 +0200	[thread overview]
Message-ID: <87frw5nrsv.wl-jch@irif.fr> (raw)

Hi,

For those of you who don't remember, MP-TCP is an extension to TCP that
implements multipath, and can be used both for fast roaming (redundancy)
and for bandwidth aggregation.  MP-TCP is able to cross NATs, and it can
reliably detect that TCP extensions are being corrupted by middleboxes and
transparently fall back to plain TCP.

MP-TCP is an IETF standard.  MP-TCP is in the Linux kernel since 5.6, and
it has good performance since 5.12 [1].  It's also in Apple's kernels
(it's used by Siri for fast roaming).

Unfortunately, MP-TCP does not replace TCP in Linux, it's implemented as
a separate transport protocol.  That means that in order to use MP-TCP,
every application needs to be patched to use PROT_MPTCP instead of
PROT_TCP.  Go applications need to call SetMultipathTCP(true) on every
net.Conn and every net.Listener.

There should be a knob in the kernel to transparently replace TCP with
MP-TCP, but I couldn't find one.

And of course no applications are being patched.  Ssh is probably the
application which I'd be most keen to run over MP-TCP [2], but the patch
is being blocked upstream [3].  For what it's worth, I've just added
MP-TCP support to storrent [4], with a view to making it enabled by
default, which means that all three storrent users will get MP-TCP out of
the box.

Dave, are you looking for a new crusade?


[1] https://github.com/multipath-tcp/mptcp_net-next/wiki#changelog

[2] http://blog.multipath-tcp.org/blog/html/2022/07/08/openssh.html

[3] https://github.com/openssh/openssh-portable/pull/335

[4] https://github.com/jech/storrent/commit/c8d95c17f4227da77b97d5b7a9bdf289fea44aca

-- Juliusz




             reply	other threads:[~2024-04-01 13:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-01 13:20 Juliusz Chroboczek [this message]
2024-04-01 20:33 ` Toke Høiland-Jørgensen
2024-04-02 10:40   ` Simon Leinen
2024-04-02 10:44     ` Daniel Gröber
2024-04-02 13:47   ` Juliusz Chroboczek
2024-04-02 14:14     ` Toke Høiland-Jørgensen

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://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87frw5nrsv.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=bloat@lists.bufferbloat.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