Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Итоговый /etc/sysctl.conf
- net.inet.tcp.blackhole=1 (или 2)
- net.inet.udp.blackhole=1
- kern.ipc.nmbclusters=262144
- kern.ipc.somaxconn=4096 (можно попробовать и 32768)
- kern.ipc.maxsockets=204800
- vfs.vmiodirenable=1
- kern.maxfiles=204800
- kern.maxfilesperproc=200000
- net.inet.ip.portrange.first=1024
- net.inet.ip.portrange.last=65535
- net.inet.ip.portrange.randomized=0
- net.inet.tcp.maxtcptw=40960
- net.inet.tcp.msl=30000
- net.inet.tcp.syncookies=1
- net.inet.tcp.nolocaltimewait=1
- net.inet.tcp.fast_finwait2_recycle=1
- net.inet.tcp.sendspace=16384
- net.inet.tcp.recvspace=8192
- Итоговый /boot/loader.conf
- verbose_loading="YES"
- loader_logo="beastie"
- #ng_ether_load="YES"
- #linux_load="YES"
- accf_data_load="YES"
- accf_http_load="YES"
- net.inet.tcp.syncache.hashsize=1024
- net.inet.tcp.syncache.bucketlimit=100
- net.inet.tcp.tcbhashsize=4096
- kern.ipc.nsfbufs=10240
- vm.kmem_size_max=1G
- # ядро для i386 нужно собрать с "options KVA_PAGES=512"
- # для amd64 "options VM_KMEM_SIZE=1073741824", "options VM_KMEM_SIZE_MAX=1073741824"
Add Comment
Please, Sign In to add comment