Настройка ядра

назад

/boot/loader.conf

kern.maxvnodes="35542"
kern.maxproc="8040"
kern.maxfiles="16080"
kern.argmax="262144"
kern.maxfilesperproc="16384"
kern.maxprocperuid="3618"
net.inet.ip.forwarding="1"
net.inet.ip.fragpackets="1"
net.link.gre.max_nesting="1"
net.inet.ip.sourceroute="1"
kern.polling.enable="1"
kern.polling.user_frac="50"
kern.ipc.nmbclusters="65536"
net.inet.tcp.delayed_ack=0
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
kern.polling.enable=1
kern.polling.user_frac=50

/usr/src/sys/i386/conf/GENERIC

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=10
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT
options         IPFIREWALL_FORWARD
options         DEVICE_POLLING
options         DUMMYNET
options         HZ=1000
options         ROUTETABLES=3
options         SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options         SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options         SC_HISTORY_SIZE=2022