version 1.1.1.1, 2011/07/05 23:43:00
|
version 1.3.2.2, 2012/05/30 07:07:45
|
Line 6
|
Line 6
|
|
|
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.ip.fastforwarding=1 |
|
sysctl -w net.inet.tcp.ecn.enable=1 |
|
sysctl -w kern.maxfilesperproc=4096 |
|
sysctl -w kern.maxfiles=1024 |
|
sysctl -w kern.ipc.somaxconn=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 |
|
#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 |