Reduce kernel networking buffer for rmem and wmem (#6422)

automerge
This commit is contained in:
Pankaj Garg
2019-10-17 14:52:24 -07:00
committed by Grimes
parent 1759968c1e
commit 854c62e208
3 changed files with 12 additions and 12 deletions

View File

@ -11,10 +11,10 @@ ensure_env || exit 1
cat > /etc/sysctl.d/20-solana-node.conf <<EOF
# Solana networking requirements
net.core.rmem_default=1610612736
net.core.rmem_max=1610612736
net.core.wmem_default=1610612736
net.core.wmem_max=1610612736
net.core.rmem_default=134217728
net.core.rmem_max=134217728
net.core.wmem_default=134217728
net.core.wmem_max=134217728
# Solana earlyoom setup
kernel.sysrq=$(( $(cat /proc/sys/kernel/sysrq) | 64 ))