[Samba] SMB slow by design?

admin-listas admin-listas at satel-sa.com
Thu Feb 1 20:44:32 GMT 2007


Chris Garrigues escribió:
>> From:  Jeremy Allison <jra at samba.org>
>> Date:  Thu, 1 Feb 2007 09:56:25 -0800
>>
>> On Thu, Feb 01, 2007 at 11:47:59AM -0600, James A. Dinkel wrote:
>>     
>>> I don't know why, but I just tried this, removind the SNDBUF AND RCVBUF,
>>> and the file share does seem snappier.  I had never messed with these
>>> options, I just found several places that said setting these to 8192
>>> gave a performance increase, so I had always used them.  Not any more.
>>>       
>> The trouble with the Internet is that really old advice never dies :-).
>>     
>
> I just looked in my own config files and found:
>
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY SO_KEEPALIVE
>
> I removed SO_RCVBUF and SO_SNDBUF.
>
> Of course, I have no idea why any of these were defined in the first place.
>
> Should any of the others be removed as well?
>
> Chris
>
>   
HP DL380 G5, MSA20 RAID5 750GB
samba 3.0.23d en suse 10.1

SO_RCVBUF=8192 SO_SNDBUF=8192  it worked slow

change a

SO_RCVBUF=65535 SO_SNDBUF=65535

the yield increase 20%

it did not give time me to prove other parameters



More information about the samba mailing list