Mina rede é pequena, mas ta uma blz, o que fiz.

Usei o http://www.intrarts.com/throttled.html tem ele em cli.

e meu sysctl.

PS: Procure essas config para aumentar os valores.

sysctl -w net.local.stream.recvspace=65536
sysctl -w net.local.stream.sendspace=65536

sysctl -w net.inet.udp.maxdgram=57344
sysctl -w net.inet.tcp.delayed_ack=0

sysctl -w net.inet.tcp.newreno=1

sysctl -w kern.ipc.somaxconn: 2048
sysctl -w kern.ipc.maxsockbuf=2097152

sysctl -w net.inet.tcp.slowstart_flightsize=4

kern.ipc.somaxconn=2048

net.inet.udp.recvspace=65535
net.inet.ip.redirect=0
net.inet.icmp.drop_redirect=1

sysctl -w net.inet.tcp.keepintvl=3000
sysctl -w net.inet.tcp.keepidle=24000
sysctl -w net.inet.tcp.keepinit=70000

sysctl -w net.inet.ip.ttl=128
sysctl -w net.inet.icmp.bmcastecho=0
sysctl -w net.inet.tcp.mssdflt=1440
sysctl -w net.inet.tcp.always_keepalive=1
sysctl -w net.inet.tcp.rfc1644=1

sysctl -w net.inet.tcp.icmp_may_rst=0
sysctl -w net.inet.ip.rtmaxcache=256
sysctl -w net.inet.ip.rtmaxcache=2
sysctl -w net.inet.ip.rtminexpire=2
sysctl -w net.inet.ip.dummynet.hash_size=256
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a