General list for discussing Bufferbloat
 help / color / mirror / Atom feed
* [Bloat] The sad state of MP-TCP
@ 2024-04-01 13:20 Juliusz Chroboczek
  2024-04-01 20:33 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 6+ messages in thread
From: Juliusz Chroboczek @ 2024-04-01 13:20 UTC (permalink / raw)
  To: bloat

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-02 14:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-01 13:20 [Bloat] The sad state of MP-TCP Juliusz Chroboczek
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox