[Samba] Inconsistent performance (4.1.6)

Jeremy Allison jra at samba.org
Thu Apr 10 10:04:03 MDT 2014


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.

Jeremy.


More information about the samba mailing list