feat(sysctl): 添加 vm.swappiness 配置项

This commit is contained in:
严浩
2026-03-19 22:19:27 +08:00
parent b3b5bf1ed8
commit b78d7a3782

1
1.sh
View File

@@ -62,6 +62,7 @@ sysctl_config() {
fi
SYSCTL_SETTINGS=(
"vm.swappiness=10"
"vm.overcommit_memory=1"
"net.core.rmem_max=16777216"
"net.core.wmem_max=16777216"