1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Arjan van de Ven <arjan@linux.intel.com>
3 Date: Fri, 6 Jan 2017 15:34:09 +0000
4 Subject: [PATCH] ipv4/tcp: allow the memory tuning for tcp to go a little
8 net/ipv4/tcp.c | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
12 index 001e16ee1506..a4ab10beb872 100644
15 @@ -4183,8 +4183,8 @@ void __init tcp_init(void)
17 /* Set per-socket limits to no more than 1/128 the pressure threshold */
18 limit = nr_free_buffer_pages() << (PAGE_SHIFT - 7);
19 - max_wshare = min(4UL*1024*1024, limit);
20 - max_rshare = min(6UL*1024*1024, limit);
21 + max_wshare = min(16UL*1024*1024, limit);
22 + max_rshare = min(16UL*1024*1024, limit);
24 init_net.ipv4.sysctl_tcp_wmem[0] = SK_MEM_QUANTUM;
25 init_net.ipv4.sysctl_tcp_wmem[1] = 16*1024;
27 https://clearlinux.org