M7350/mdm-init/sysctl.conf
2024-09-09 08:57:42 +00:00

16 lines
437 B
Plaintext

# Increase Linux auto tuning TCP buffer limits
net.core.rmem_max=1048576
net.core.wmem_max=1048576
net.core.rmem_default=1048576
net.core.wmem_default=1048576
# Increase TCP max buffer size
net.ipv4.tcp_rmem=4096 87380 1048576
net.ipv4.tcp_wmem=4096 65536 1048576
net.ipv4.tcp_mem=1048576 1048576 1048576
# add by wuchao, 16.12.30.
# Solve OOM when transferring data between SD card and PC
vm.dirty_background_ratio=4
vm.dirty_ratio=8