Last active
October 1, 2016 14:45
-
-
Save iMilnb/dd668daf48072fb878b85cfc7c60e8fd to your computer and use it in GitHub Desktop.
sysctl kernel parameters for full gigabit throughput on NetBSD
This file contains hidden or 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
# documentation | |
# https://calomel.org/freebsd_network_tuning.html | |
# https://mail-index.netbsd.org/tech-net/2015/08/03/msg005317.html | |
# http://proj.sunet.se/E2E/tcptune.html | |
# | |
# Warning: this is aimed at a **client** setup, a server with | |
# many connexions could exhaust its memory with values this high | |
# | |
kern.sbmax=16777216 | |
net.inet.tcp.recvbuf_auto=1 | |
net.inet.tcp.sendbuf_auto=1 | |
net.inet.tcp.sendbuf_max=16777216 | |
net.inet.tcp.recvbuf_max=16777216 | |
net.inet.tcp.sendspace=3217968 | |
net.inet.tcp.recvspace=3217968 | |
net.inet.tcp.init_win=10 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment