Created
June 15, 2017 12:58
-
-
Save iAnatoly/0f3deb75c9a3989d61e351ad6a0f3bba to your computer and use it in GitHub Desktop.
MacOS tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# override DHCP hostname assignment | |
sudo scutil --set HostName myhostname.domain.local | |
# tweak network | |
cat >> /etc/sysctl.conf <<EOF | |
# OSX default of 3 is not big enough | |
net.inet.tcp.win_scale_factor=8 | |
# increase OSX TCP autotuning maximums | |
net.inet.tcp.autorcvbufmax=33554432 | |
net.inet.tcp.autosndbufmax=33554432 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment