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: I6058af03da756aaa63e89eddb674f5b054cecf33
This commit is contained in:
Kai Shi 2022-01-25 11:58:30 -08:00
parent 71543928ef
commit b877da7c69

View file

@ -97,7 +97,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"