mbox series

[net-next,0/4] tcp: backlog processing optims

Message ID 20230911170531.828100-1-edumazet@google.com (mailing list archive)
Headers show
Series tcp: backlog processing optims | expand

Message

Eric Dumazet Sept. 11, 2023, 5:05 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 12, 2023, 5:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 11 Sep 2023 17:05:27 +0000 you wrote:
> 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)
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] tcp: no longer release socket ownership in tcp_release_cb()
    https://git.kernel.org/netdev/net-next/c/b49d252216e4
  - [net-next,2/4] net: sock_release_ownership() cleanup
    https://git.kernel.org/netdev/net-next/c/11445469dec8
  - [net-next,3/4] net: call prot->release_cb() when processing backlog
    https://git.kernel.org/netdev/net-next/c/4505dc2a5228
  - [net-next,4/4] tcp: defer regular ACK while processing socket backlog
    https://git.kernel.org/netdev/net-next/c/133c4c0d3717

You are awesome, thank you!