SOLVED SMB Copy only 500 Mbit Truenas 12.beta.2.1

amichelf

Dabbler
Joined
Apr 10, 2020
Messages
24
Hi,
I realized that when copying data to and from my box I usually get only about 500-600Mbit over an Gigabit link, so the network is not fully saturated. It is not the network, because when I copy the same data from the same client to a windows server, I get the NIC saturated. I am not copying a lot of smaller files, even a 15 GB vhd is copied only at 500 Mbit.
I can rule out the hardware as on freenas it was not an issue to get full Gbit transfer.
Might this be caused on the implementations of the SMB Server and is therer any parameter for me to tune the performance here?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
What is output of testparm -s? Generally speaking, "tuning" should be avoided for the SMB service as most online guides are either dated or chock-full of bad advice.
 

amichelf

Dabbler
Joined
Apr 10, 2020
Messages
24
Hi anodos,
thank you for the reply, I did not modify not want to change any setting




Code:
root@storage[~]# testparm -s

Load smb config files from /usr/local/etc/smb4.conf

Loaded services file OK.

Server role: ROLE_DOMAIN_MEMBER



# Global parameters

[global]

        aio max threads = 2

        allow trusted domains = No

        bind interfaces only = Yes

        client ldap sasl wrapping = seal

        disable spoolss = Yes

        dns proxy = No

        domain master = No

        enable web service discovery = Yes

        kerberos method = secrets and keytab

        kernel change notify = No

        load printers = No

        local master = No

        logging = file

        max log size = 51200

        nsupdate command = /usr/local/bin/samba-nsupdate -g

        preferred master = No

        realm = DOMAIN.COM

        registry shares = Yes

        restrict anonymous = 2

        security = ADS

        server role = member server

        server string = FreeNAS Server

        template shell = /bin/sh

        unix extensions = No

        winbind cache time = 7200

        winbind enum groups = Yes

        winbind enum users = Yes

        winbind max domain connections = 10

        workgroup = DOMAIN

        idmap config *: range = 90000001-100000000

        idmap config amich
 
Last edited:

amichelf

Dabbler
Joined
Apr 10, 2020
Messages
24
I am sorry and thank you for your patience:
Code:
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER

# Global parameters
[global]
        aio max threads = 2
        allow trusted domains = No
        bind interfaces only = Yes
        client ldap sasl wrapping = seal
        disable spoolss = Yes
        dns proxy = No
        domain master = No
        enable web service discovery = Yes
        kerberos method = secrets and keytab
        kernel change notify = No
        load printers = No
        local master = No
        logging = file
        max log size = 51200
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        preferred master = No
        realm = DOMAIN.COM
        registry shares = Yes
        restrict anonymous = 2
        security = ADS
        server role = member server
        server string = FreeNAS Server
        template shell = /bin/sh
        unix extensions = No
        winbind cache time = 7200
        winbind enum groups = Yes
        winbind enum users = Yes
        winbind max domain connections = 10
        workgroup = DOMAIN
        idmap config *: range = 90000001-100000000
        idmap config domain: range = 20000-90000000
        idmap config domain: backend = rid
        idmap config * : backend = tdb
        directory name cache size = 0
        dos filemode = Yes


[Kopfinger]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/Kopfinger
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[Backup]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/Backup
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[Bilder]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/Bilder
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[Media]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/Media
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[Music]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/Music
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[Private]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/Private
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[Storage]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/Storage
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[VeeamBackup]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/VeeamBackup
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true


[VeeamHW]
        ea support = No
        kernel share modes = No
        path = /mnt/Pool/SMB-Shares/VeemHW
        posix locking = No
        read only = No
        vfs objects = aio_fbsd shadow_copy_zfs ixnas
        nfs4:chown = true
 
Top