Set the default configuration `kern.ncallout`(number of entries in

callwheel and size of timeout() preallocation).
This commit is contained in:
logwang 2018-03-01 16:07:35 +08:00
parent eba4f71434
commit 6b34d16078
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ net.inet.tcp.syncache.bucketlimit=100
net.inet.tcp.tcbhashsize=65536 net.inet.tcp.tcbhashsize=65536
kern.ncallout=262144
[freebsd.sysctl] [freebsd.sysctl]
kern.ipc.somaxconn=32768 kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=16777216 kern.ipc.maxsockbuf=16777216

View File

@ -66,6 +66,8 @@ net.inet.tcp.syncache.bucketlimit=100
net.inet.tcp.tcbhashsize=65536 net.inet.tcp.tcbhashsize=65536
kern.ncallout=262144
[freebsd.sysctl] [freebsd.sysctl]
kern.ipc.somaxconn=32768 kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=16777216 kern.ipc.maxsockbuf=16777216