Mac OS X sysctl.conf gigabit speed performance tuning

Posted on Posted in Mac

Original link:

Network Tuning for gigabit speeds

# don’t delay sending acks to syns
net.inet.tcp.delayed_ack=0

# set buffer size for sockets
kern.ipc.maxsockbuf=4194304
kern.ipc.somaxconn=512
kern.ipc.maxsockets=2048
kern.ipc.nmbclusters=2048

# increase the size of tcp & udp windows
net.inet.tcp.rfc1323=1
net.inet.tcp.win_scale_factor=3
net.inet.tcp.sockthreshold=16
net.inet.tcp.sendspace=262144
net.inet.tcp.recvspace=262144
net.inet.udp.recvspace=74848
net.inet.tcp.mssdflt=1440
net.inet.udp.maxdgram=65535
net.inet.tcp.msl=15000
net.inet.tcp.always_keepalive=0
net.inet.tcp.slowstart_flightsize=4
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.icmp.icmplim=50