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

callwheel and size of timeout() preallocation).
dev
logwang 2018-03-01 16:07:35 +08:00
parent 92b0c746e9
commit bb6ad8038f
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
kern.ncallout=262144
[freebsd.sysctl]
kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=16777216

View File

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