Eric Dumazet
a6d4f25888
net: set net.core.rmem_max and net.core.wmem_max to 4 MB
SO_RCVBUF and SO_SNDBUF have limited range today, unless
distros or system admins change rmem_max and wmem_max.
Even iproute2 uses 1 MB SO_RCVBUF which is capped by
the kernel.
Decouple [rw]mem_max and [rw]mem_default and increase
[rw]mem_max to 4 MB.
Before:
$ sysctl net.core.rmem_default net.core.rmem_max net.core.wmem_default net.core.wmem_max
net.core.rmem_default = 212992
net.core.rmem_max = 212992
net.core.wmem_default = 212992
net.core.wmem_max = 212992
After:
$ sysctl net.core.rmem_default net.core.rmem_max net.core.wmem_default net.core.wmem_max
net.core.rmem_default = 212992
net.core.rmem_max = 4194304
net.core.wmem_default = 212992
net.core.wmem_max = 4194304
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20250819174030.1986278-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-20 19:35:00 -07:00
..
2025-07-10 15:27:32 -07:00
2025-05-21 14:35:20 +02:00
2025-06-08 09:07:37 +02:00
2025-07-18 17:27:47 -07:00
2025-07-24 11:10:46 -07:00
2025-07-09 19:09:36 -07:00
2025-06-08 09:07:37 +02:00
2025-07-11 17:50:27 -07:00
2025-07-30 08:58:55 -07:00
2025-07-11 10:51:55 -07:00
2025-08-15 10:26:56 -07:00
2025-08-12 14:08:56 -07:00
2025-06-12 10:09:10 -07:00
2025-07-04 10:18:52 -07:00
2025-08-20 19:35:00 -07:00
2025-08-14 17:35:20 -07:00
2025-07-18 17:27:47 -07:00
2025-08-14 11:40:13 +02:00
2025-07-08 15:31:44 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-08-20 19:35:00 -07:00
2025-08-20 19:35:00 -07:00
2025-06-17 18:18:02 +02:00
2025-08-13 18:18:33 -07:00
2025-07-24 11:10:46 -07:00
2025-06-23 17:04:03 -07:00
2025-04-15 17:54:56 -07:00
2025-06-08 09:07:37 +02:00
2025-06-23 17:05:12 -07:00
2025-07-23 12:29:07 +02:00
2025-08-13 17:07:34 -07:00
2025-07-18 17:27:47 -07:00
2025-08-19 19:20:58 -07:00
2025-06-12 18:21:59 -07:00
2025-08-13 08:34:55 +02:00
2025-06-05 08:03:38 -07:00
2025-07-30 19:16:49 -07:00
2025-06-08 09:07:37 +02:00
2025-06-19 13:00:24 -07:00
2025-07-07 14:30:39 -07:00
2025-08-04 17:21:27 -07:00
2025-08-12 14:15:24 -07:00
2025-08-12 14:05:44 -07:00
2025-07-18 16:59:05 -07:00
2025-07-17 07:50:48 -07:00
2025-08-14 17:37:48 -07:00
2025-08-19 19:36:26 -07:00
2025-07-17 11:00:33 -07:00
2025-06-23 17:05:12 -07:00
2025-08-11 07:38:55 -07:00
2025-07-10 10:10:49 -07:00
2025-08-12 18:59:05 -07:00
2025-07-30 08:58:55 -07:00
2025-08-14 12:13:00 -07:00
2025-07-24 17:25:42 -07:00
2025-07-14 17:19:13 -07:00
2025-07-10 14:48:29 +02:00
2025-08-19 17:54:17 -07:00
2025-07-22 18:17:23 -07:00
2025-06-23 17:04:03 -07:00