[Samba] 10GE performance issues

Владимир Терентьев tervladimir at gmail.com
Thu Feb 4 06:03:21 UTC 2016


Hi. Try add this to your config in global section.

socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=262140
SO_SNDBUF=262140
max xmit = 262140
stat cache = yes
max stat cache size = 262140
server max protocol = SMB2_10
server min protocol = NT1
client min protocol = NT1
client max protocol = SMB2_10
getwd cache = yes
read raw = yes
write raw = yes
level2 oplocks = yes
locking = yes
getwd cache = yes
use sendfile = yes
large readwrite = yes


2016-02-03 23:27 GMT+03:00 Martin Markert <martinmarkert at mac.com>:

> Hi,
> we have network performance issues with Samba (Version
> 4.2.7-SerNet-RedHat-19.el6) on one of our servers. The maximum throughput
> from client to server is 110 MB/s (read/write) under Windows 7 x64 (single
> 10GE NIC). When using NFS on a different Linux workstation we're getting
> much higher rates, around 500-700 MB/s. I still can't find the problem.
>
> Setup server:
> CentOS 6.6
> Samba 4.7.2
> Mellanox 10GE NIC with LACP bonding
> local attached storage: XFS, 1,5 GB/s read/write
>
> [global]
>
>      workgroup = ARRI
>      server string = Samba Server Version %v
>      netbios name = BARBARELLA
>
>      log file = /var/log/samba/%m_%a_%R.log
>      max log size = 50
>      log level = 1
>
>     security = ads
>     realm = ARRI.DE
>     encrypt passwords = Yes
>
>     winbind enum users = Yes
>     winbind enum groups = Yes
>     winbind use default domain = Yes
>     winbind nested groups = Yes
>     winbind separator = +
>     winbind offline logon = false
>
>     idmap config * : backend = tdb
>     idmap config * : range = 600-799
>     idmap config ARRI:backend = ad
>     idmap config ARRI:range = 800-19999
>     idmap config ARRI:schema_mode = rfc2307
>
>      allow trusted domains = Yes
>      server signing = mandatory
>      client signing = mandatory
>      client use spnego = Yes
>      ntlm auth = Yes
>      lanman auth = No
>
>      preferred master = no
>
>      printcap name = /etc/printcap
>      load printers = no
>
>
> Do you have any suggestions?
>
> Kind regards,
> Martin
> --
> Martin Markert
> Westendstr. 89
> 80339 München
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list