On Mon, Sep 17, 2007 at 09:04:41PM -0500, Jacob Yocom-Piatt wrote:
> am having trouble getting samba on my 4.1-release machine to deliver 
> more than 3-7 MBps transfer speed. this is horribly slow, even on 100 
> Mbps, and i'm hoping there are folks out there who can assist me in 
> tuning this properly.
> 
> the following is set in smb.conf
> 
>   read raw = yes
>   write raw = yes
>   oplocks = yes
>   max xmit = 65535
>   dead time = 15
>   getwd cache = yes
> 
> ...
> 
>   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
> 
> besides this it's entirely default.
> 

TCP_NODELAY is a bad idea, it should only be used on interactive tcp
sessions like ssh or telnet. SO_SNDBUF=8192 SO_RCVBUF=8192 if this is in
bytes than you are halving the default buffer size. Depending on the
bandwith delay product you may need more than 8k (even the OpenBSD 16k are
to small in many cases).

Not sure if this helps getting more performance out of your system but
that's the most obvious things I have seen right now.
-- 
:wq Claudio

Reply via email to