[Samba] SMB slow by design?

James A. Dinkel jdinkel at bucoks.com
Thu Feb 1 17:47:59 GMT 2007


> -----Original Message-----
> From: samba-bounces+jdinkel=bucoks.com at lists.samba.org [mailto:samba-
> bounces+jdinkel=bucoks.com at lists.samba.org] On Behalf Of Edmundo Valle
> Neto
> Sent: Saturday, January 27, 2007 7:14 PM
> To: Jeremy Allison
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] SMB slow by design?
> 
> 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
> 

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.

James



More information about the samba mailing list