Asymmetric ethernet throughput?

Lucas Holt luke at foolishgames.com
Tue May 30 13:26:54 PDT 2006


Does disabling net.inet.tcp.inflight.enable make any difference?  I've
noticed strange transfer speed differences between a samba server on
freebsd 6.1 and OS 10.4.6 clients and Windows.

With these set in /etc/sysctl.conf, I can get reasonable speeds on both
the macs and windows box.
net.inet.tcp.delayed_ack=0
net.inet.tcp.inflight.enable=0

I also needed to set these in /usr/local/etc/smb.conf
socket options = TCP_NODELAY SO_SNDBUF=8576
use sendfile = yes

I've also experimented with other settings like lowering the quality of
the timer with kern.timecounter.hardware=TSC which seemed to increase
throughput in some cases but not others.

Luke



More information about the freebsd-hackers mailing list