net: increase optmem_max default value
authorEric Dumazet <edumazet@google.com>
Thu, 14 Dec 2023 10:48:59 +0000 (10:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 11:01:26 +0000 (11:01 +0000)
commit4944566706b27918ca15eda913889db296792415
tree1e160c6b6ecaa5d209620e62a1a9f6a562de37aa
parente16064c9af7fe5a2220f7ad5f9be6fd7516e427c
net: increase optmem_max default value

For many years, /proc/sys/net/core/optmem_max default value
on a 64bit kernel has been 20 KB.

Regular usage of TCP tx zerocopy needs a bit more.

Google has used 128KB as the default value for 7 years without
any problem.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/admin-guide/sysctl/net.rst
net/core/sock.c