Skip to content

Instantly share code, notes, and snippets.

@TheBloke
Created March 7, 2018 22:40
Show Gist options
  • Save TheBloke/373446355e01a013b7f692a491d8e846 to your computer and use it in GitHub Desktop.
Save TheBloke/373446355e01a013b7f692a491d8e846 to your computer and use it in GitHub Desktop.
kern.maxfiles=50000
kern.maxfilesperproc=50000
# 10GBe tuning (recommended: https://studionetworksolutions.zendesk.com/hc/en-us/articles/218325983?input_string=globalsan+trial%3A+disk+utility+reports+iscsi+drives+as+larger+than+they+are)
net.inet.tcp.sendspace=2097152
net.inet.tcp.recvspace=2097152
net.inet.tcp.delayed_ack=0
# 10GB, Yosemite+ recommended: https://fasterdata.es.net/host-tuning/osx/
net.inet.tcp.win_scale_factor=8
net.inet.tcp.autorcvbufmax=33554432
net.inet.tcp.autosndbufmax=33554432
# http://slaptijack.com/system-administration/mac-os-x-tcp-performance-tuning/
kern.ipc.maxsockbuf=16777216
# https://rolande.wordpress.com/2014/05/17/performance-tuning-the-network-stack-on-mac-os-x-part-2/
net.inet.tcp.rfc1323=1
kern.ipc.somaxconn=2048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment