[Samba] Tunning samba for better read performance

Jeremy Allison jra at samba.org
Wed Nov 19 09:37:45 MST 2014


On Wed, Nov 19, 2014 at 02:39:11PM +0530, Jagan Teki wrote:
> > Can you post your smb.conf?
> 
>  [global]
>         netbios name = %h
>         server string = Samba %v on (%h)
>         domain master = no
>         local master = no
>         preferred master = no
>         host msdfs = no
>         os level = 0
>         passdb backend = smbpasswd

^^^^
Remove - use a tdb passdb backend.

>         load printers = no
>         printcap name = /dev/null
>         use sendfile = yes
>         client signing = no
>         server signing = no
>         display charset = UTF8
>         unix charset = UTF8
>         min receivefile size = 128k

^^^^
Don't use the above. Doesn't do you
any good.

>         max connections = 50
>         max log size = 1000
>         log file = /var/log/samba/log.smbd
> # If using samba 3.6, uncomment below to enable SMB2
>         max protocol = SMB2

All the rest look fine. What version
of Samba are you using (that's the
first and most basic question you
should always include on a Samba
question :-) ?


More information about the samba mailing list