Skip to content

tcp: backlog processing optims

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4tcp: no longer release socket ownership in tcp_release_cb()net/core/sock.c net/ipv4/tcp_output.c+0 -130 repliesApplied
2/4net: sock_release_ownership() cleanupinclude/net/sock.h+4 -50 repliesApplied
3/4net: call prot->release_cb() when processing backlognet/core/sock.c+3 -03 repliesApplied
4/4tcp: defer regular ACK while processing socket backlogDocumentation/networking/ip-sysctl.rst include/linux/tcp.h include/net/netns/ipv4.h +4 more+38 -70 repliesApplied

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchYuchung ChengNeal CardwellSoheil Hassas YeganehDave Taht
1/4
2/4
3/4
4/4A-b A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/4] tcp: backlog processing optims

First patches are mostly preparing the ground for the last one.

Last patch of the series implements sort of ACK reduction only for the cases a TCP receiver is under high stress, which happens for high throughput flows.

This gives us a ~20% increase of single TCP flow (100Gbit -> 120Gbit)

Eric Dumazet (4):
tcp: no longer release socket ownership in tcp_release_cb()
net: sock_release_ownership() cleanup
net: call prot->release_cb() when processing backlog
tcp: defer regular ACK while processing socket backlog

 Documentation/networking/ip-sysctl.rst |  7 +++++++
 include/linux/tcp.h                    | 14 ++++++++------
 include/net/netns/ipv4.h               |  1 +
 include/net/sock.h                     |  9 ++++-----
 net/core/sock.c                        |  6 +++---
 net/ipv4/sysctl_net_ipv4.c             |  9 +++++++++
 net/ipv4/tcp_input.c                   |  8 ++++++++
 net/ipv4/tcp_ipv4.c                    |  1 +
 net/ipv4/tcp_output.c                  | 15 ++++-----------
 9 files changed, 45 insertions(+), 25 deletions(-)
Signature · 1 line
2.42.0.283.g2d96d420d3-goog