: 6.x, 4.x ipfw/dummynet pf/altq - network performance issues

garcol at postino.it garcol at postino.it
Sat Feb 17 08:42:04 UTC 2007


Hi, 
     if you disable sack, what's happend?
(sysctl net.inet.tcp.sack.enable=0) 
(Are Memory and cpu OK?)


For route problem you can set this to a low value, for example 10 
sysctl net.inet.ip.rtexpire: 10
See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-freebsd.html

Why do you modify this?, reset to original 4.x values.
net.inet.ip.rtmaxcache=1024


Try to set this to 0 disable the optimization of the bandwidth delay product for all TCP connections (but it's useful on GE interface).
sysctl net.inet.tcp.inflight.enable=0



If you use a SMP kernel you can try to set this or try to set anyway:

sysctl machdep.hyperthreading_allowed=1
sysctl machdep.cpu_idle_hlt=0

See  kern/83406: [smp] em/bge drivers: severe performance loss under SMP


Let's me know
Regards 
Alessandro


More information about the freebsd-performance mailing list