[CentOS] speed-tuning samba?

Fri Apr 15 08:45:48 UTC 2011
Andrzej Szymański <szymans at agh.edu.pl>

On 2011-04-14 20:16, Les Mikesell wrote:
> One thing in particular that I'd like to make faster is access to a set
> of libraries (boost, etc.) that are in a directory mapped by several
> windows boxes (mostly VM's on different machines)used as build servers.
>

I usually run samba with defaults, as playing with the settings did not 
change much in my case. However, I found in one of the IBM redbooks 
(http://www.redbooks.ibm.com/redpapers/pdfs/redp4285.pdf on page 131) 
that disabling tcp sack and dsack is recommended on a samba box working 
on a gigabit LAN (when samba host and clients are in the same LAN).

In one case it helped much, in the other it did not change anything, so 
you should try on your own:
sysctl -w net.ipv4.tcp_sack=0
sysctl -w net.ipv4.tcp_dsack=0

Andrzej