Poor Samba throughput on 6.0

Mike Jakubik mikej at rogers.com
Sat May 27 10:34:41 PDT 2006

Dr. Rich Murphey wrote:
> I get 25 to 30MB/sec between FreeBSD 6.0 and Windows XP
> clients with tcp.inflight disabled and interrupt polling enabled
> on a 1gb link without jumbo frames.
> The various Linux distributions do about the same on this hardware -
> 3ware striped raid arrays, dual xeon, and 2Gb ram.
> in smb.conf I'm using:
> socket options = TCP_NODELAY
> strict locking = no
> use sendfile = yes

Adding the last two options of my setup increased the upload rate by 
about 2MB/s, with peaks totaling to 20MB/s. The download rate has not 
been effected however.

> 6.1 should be easier to tune in that tcp.inflight is selectively
> disabled by default for low latency (LAN) connections.

I am using -CURRENT here, disabling net.inet.tcp.inflight improves the 
download rate by 2MB/s!

More information about the freebsd-performance mailing list