[Samba] Inconsistent performance (4.1.6)

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Apr 11 05:32:27 MDT 2014


On Thu, Apr 10, 2014 at 09:04:03AM -0700, Jeremy Allison wrote:
> On Thu, Apr 10, 2014 at 06:47:28AM -0600, gabe mart wrote:
> > 
> >    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=131072
> > SO_SNDBUF=131072
> 
> Remove the above. It's pure voodoo and hasn't
> been needed for many many years with modern kernels.
> 
> >    aio read size = 16384
> > 
> >    aio write size = 16384
> > 
> >    write cache size = 268435456
> 
> >    min receivefile size = 16384
> 
> I get the feeling you're just adding 'performance'
> options here without understanding what they do.
> Especially 'write cache size' :-).
> 
> Remove all the above and re-benchmark. Add them
> in, one by one after reading the man pages *carefully*.
> 
> aio read/write isn't much use without the aio_pthread
> module for example.

Isn't the aio_pthread module in 4.1 mainly for the async
file creation code? Isn't the code that is affected by "aio
read/write size" enabled by default these days?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list