[Samba] SMB slow by design?

Edmundo Valle Neto edmundo.valle at terra.com.br
Sun Jan 28 01:14:19 GMT 2007


Jeremy Allison escreveu:
> On Sat, Jan 27, 2007 at 11:35:32PM +0100, Jan Engelhardt wrote:
>   
>> Ah I found it. This is smb.conf: http://pastebin.ca/330452
>> Removing SO_SNDBUF=8192 gives
>>
>> $ smbget smb://localhost/rt/blob.iso
>> [blob.iso] 41.08Mb of 171.06Mb (24.01%) at 41.08Mb/s ETA: 00:00:03
>>
>> perfect performance again. Wonder how that got in there *grumble*
>>     
>
> Yep, on modern kernels I don't think setting SNDBUF or RCVBUF is
> a good idea....
>
> Jeremy.
>   


Can you explain that a little better? Why is that good for older kernels 
and not for new ones? And what do you call modern kernels, any 2.6 kernel?

Regards.

Edmundo



More information about the samba mailing list