version 1.2, 2011/10/18 09:02:07
|
version 1.9, 2017/02/13 16:52:47
|
Line 4
|
Line 4
|
# |
# |
# $Id$ |
# $Id$ |
|
|
|
sysctl -w kern.coredump=0 |
|
sysctl -w kern.ipc.somaxconn=1024 |
|
sysctl -w kern.eventtimer.periodic=1 |
sysctl -w net.inet.ip.forwarding=1 |
sysctl -w net.inet.ip.forwarding=1 |
sysctl -w net.inet.ip.fastforwarding=1 | sysctl -w net.inet.tcp.ecn.enable=1 |
| sysctl -w net.inet6.ip6.forwarding=1 |
| sysctl -w net.inet6.ip6.accept_rtadv=0 |
| sysctl -w net.inet6.ip6.no_radr=0 |
sysctl -w kern.maxfilesperproc=4096 |
sysctl -w kern.maxfilesperproc=4096 |
|
sysctl -w kern.maxfiles=1024 |
|
#sysctl -w kern.ipc.maxsockets=16384 |
|
#sysctl -w kern.ipc.maxsockbuf=16777216 |
|
#sysctl -w kern.ipc.maxpipekva=16777216 |
|
#sysctl -w net.graph.maxalloc=2048 |
|
sysctl -w net.graph.maxdgram=128000 |
|
sysctl -w net.graph.recvspace=128000 |
|
|
#kern.ipc.maxsockbuf=16777216 | #sysctl -w hw.ath.bstuck=8 |
#net.inet.tcp.recvbuf_max=16777216 | |
#net.inet.tcp.sendbuf_max=16777216 | |
#net.inet.tcp.sendspace=65536 | |
#net.inet.tcp.recvspace=65536 | |
#net.inet.udp.recvspace=65536 | |
|
|
#net.inet.tcp.mssdflt=1452 |
#net.inet.tcp.mssdflt=1452 |
#net.inet.tcp.hostcache.expire=1 |
#net.inet.tcp.hostcache.expire=1 |
|
|
|
#dev.ath.0.hal.ar5416_biasadj=1 |