All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-next 0/2] mptcp: pace subflows against a connection-wide rate limit
@ 2026-12-03 14:53 Ruilin Mao
  2026-12-03 14:53 ` [PATCH mptcp-next 1/2] mptcp: support a connection-wide SO_MAX_PACING_RATE Ruilin Mao
  2026-12-03 14:53 ` [PATCH mptcp-next 2/2] selftests: mptcp: check the aggregate pacing rate across two paths Ruilin Mao
  0 siblings, 2 replies; 7+ messages in thread
From: Ruilin Mao @ 2026-12-03 14:53 UTC (permalink / raw)
  To: mptcp

An application that sets SO_MAX_PACING_RATE on an MPTCP socket needs
the limit to apply to all its paths together. This series accounts
transmitted payload against a common clock while keeping each TCP
subflow's congestion-control pacing in effect. It also adds a
two-path regression test to simult_flows.sh.

On one two-path connection, caps of 500,000 and 250,000 bytes/s gave
496,841 and 249,269 bytes/s respectively. Removing the cap increased
throughput to 903,945 bytes/s. Both paths carried payload. All 11
simult_flows.sh cases passed in x86-64 QEMU with both coarse and
high-resolution timers. The affected i386 objects were compile-tested.

Codex drafted the patches and ran the tests.
https://github.com/multipath-tcp/mptcp_net-next/issues/578

Ruilin Mao (2):
  mptcp: support a connection-wide SO_MAX_PACING_RATE
  selftests: mptcp: check the aggregate pacing rate across two paths

 include/linux/tcp.h                           |  1 +
 include/net/mptcp.h                           | 14 ++++++
 net/ipv4/tcp_output.c                         | 12 +++--
 net/mptcp/protocol.c                          | 40 +++++++++++++++
 net/mptcp/protocol.h                          |  9 ++++
 net/mptcp/sockopt.c                           | 47 ++++++++++++++++-
 net/mptcp/subflow.c                           |  9 ++++
 .../selftests/net/mptcp/mptcp_connect.c       | 18 +++++--
 .../selftests/net/mptcp/simult_flows.sh       | 50 ++++++++++++++++++-
 9 files changed, 190 insertions(+), 10 deletions(-)


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

end of thread, other threads:[~2026-12-05  5:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 14:53 [PATCH mptcp-next 0/2] mptcp: pace subflows against a connection-wide rate limit Ruilin Mao
2026-12-03 14:53 ` [PATCH mptcp-next 1/2] mptcp: support a connection-wide SO_MAX_PACING_RATE Ruilin Mao
2026-12-03 15:29   ` sashiko-bot
2026-12-05  5:06   ` netdev-bot+sashiko
2026-12-03 14:53 ` [PATCH mptcp-next 2/2] selftests: mptcp: check the aggregate pacing rate across two paths Ruilin Mao
2026-12-03 15:09   ` sashiko-bot
2026-12-05  5:06   ` netdev-bot+sashiko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.