From fda5286dd1b9b3e93ad3e6ba645690eb774df4a3 Mon Sep 17 00:00:00 2001 From: Kai Shi Date: Tue, 25 Jan 2022 09:49:33 -0800 Subject: [PATCH] Increase TCP wmem max size Increase TCP wmem max size to allow high Tx throughput over wifi. Bug: 213596972 Test: manual test to confirm TCP memory size is increased and wifi TCP throughput with default TCP window size can reach 700Mbps in HE80 mode. Change-Id: Id1f6ea94da83825ca39093aba5c85bec5bee4a72 --- conf/init.gs201.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index 867b07b2..a65596aa 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -53,7 +53,7 @@ on init write /proc/sys/net/core/optmem_max 20480 write /proc/sys/net/core/netdev_max_backlog 10000 write /proc/sys/net/ipv4/tcp_rmem "2097152 4194304 8388608" - write /proc/sys/net/ipv4/tcp_wmem "262144 524288 1048576" + write /proc/sys/net/ipv4/tcp_wmem "262144 524288 8388608" write /proc/sys/net/ipv4/tcp_mem "44259 59012 88518" write /proc/sys/net/ipv4/udp_mem "88518 118025 177036"