Skip to content

Instantly share code, notes, and snippets.

View corifeo's full-sized avatar
🏠
Working from home

Francesco Manzoni corifeo

🏠
Working from home
  • Knutsford, GB
View GitHub Profile
@corifeo
corifeo / etc-sysctl.conf
Created August 20, 2020 22:45 — forked from bjornbouetsmith/etc-sysctl.conf
FreeNAS 10GBe tuning
Add these lines to the file /etc/sysctl.conf
#10GBE tuning
kern.ipc.soacceptqueue=2048
kern.ipc.somaxconn=2048
kern.ipc.maxsockbuf=33554432
net.inet.tcp.recvbuf_inc=2097152 # (default 16384)
net.inet.tcp.recvbuf_max=16777216 # (default 2097152)
net.inet.tcp.recvspace=4194304 # (default 65536)
@corifeo
corifeo / etc-sysctl.conf
Created August 20, 2020 22:45 — forked from bjornbouetsmith/etc-sysctl.conf
FreeNAS 10GBe tuning
Add these lines to the file /etc/sysctl.conf
#10GBE tuning
kern.ipc.soacceptqueue=2048
kern.ipc.somaxconn=2048
kern.ipc.maxsockbuf=33554432
net.inet.tcp.recvbuf_inc=2097152 # (default 16384)
net.inet.tcp.recvbuf_max=16777216 # (default 2097152)
net.inet.tcp.recvspace=4194304 # (default 65536)