[Samba] SMB slow by design?

James A. Dinkel jdinkel at bucoks.com
Thu Feb 1 22:18:18 GMT 2007


> -----Original Message-----
> From: Chris Garrigues
> Sent: Thursday, February 01, 2007 2:06 PM
> 
> > 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
> 

I googled for IPTOS_LOWDELAY and found some information on it.  I
determined I don't want it, but it has advantages and disadvantages from
what I read.




More information about the samba mailing list