[PVE-User] sysctl tuning 5.1

David Lawley davel at upilab.com
Mon Dec 18 21:19:38 CET 2017


Been working on tuning for a 10g network on PV 5.1

These examples for my sysctl.conf file give me errors and I never can 
really seem to get any to stick

net.core.rmem_max=8388608
net.core.wmem_max=8388608
net.core.rmem_default=65536
net.core.wmem_default=65536
net.ipv4.tcp_rmem="4096 87380 8388608"
net.ipv4.tcp_wmem="4096 65536 8388608"
net.ipv4.tcp_mem="8388608 8388608 8388608"


When sysctl -p is ran I get

sysctl: setting key "net.ipv4.tcp_rmem": Invalid argument
net.ipv4.tcp_rmem = "4096 87380 8388608"
sysctl: setting key "net.ipv4.tcp_wmem": Invalid argument
net.ipv4.tcp_wmem = "4096 65536 8388608"
sysctl: setting key "net.ipv4.tcp_mem": Invalid argument
net.ipv4.tcp_mem = "8388608 8388608 8388608"

Guess I'm trying to understand what I am missing


doing it manually via cli, seems to work.

root at pve:/etc# sysctl -w net.ipv4.tcp_rmem="4096 87380 8388608"
net.ipv4.tcp_rmem = 4096 87380 8388608
root at pve:/etc#




More information about the pve-user mailing list