SMB Performance with Truenas 12

Morpheus187

Explorer
Joined
Mar 11, 2016
Messages
61
Hello

I upgraded to Truenas 12.0-u7 and noticed that the playback of certain movies on my Nvidia Shield got very laggy. ( 4K hdr files, very large )
I then reverted back to FreeNas 11.2-U8 and the problem went away, playback is absolutely smooth without any stuttering or lagging.

Truenas/Freenas is connected via a 10 GB link ( File Transfer from windows machine yielded about 300-400 MB/s, FreeNas around 400-600 MB/s. Shield is connected with gigabit ethernet. Playback of the same file works on my windows machine without stuttering.

Nvidia Shield pulls the files from Freenas/Truenas via SMB protocol ( Kodi 19 is installed )

Is there anything new or changed with SMB in Truenas that could explain this performance problems?

Specs:
Xeon E3-1245-v5 ( 8 core )
64GB ECC ram
8x6 TB WD-RED
10Gbit Ethernet

Thank you very much

Morpheus
 

Morpheus187

Explorer
Joined
Mar 11, 2016
Messages
61
Sorry for the late response

Here is the output of testparm -s

Code:

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

Loaded services file OK.

Weak crypto is allowed

Server role: ROLE_STANDALONE


# Global parameters

[global]

        aio max threads = 2

        bind interfaces only = Yes

        disable spoolss = Yes

        dns proxy = No

        enable web service discovery = Yes

        kernel change notify = No

        load printers = No

        logging = file

        max log size = 5120

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

        ntlm auth = ntlmv1-permitted

        registry shares = Yes

        restrict anonymous = 2

        server min protocol = NT1

        server role = standalone server

        server string = FreeNAS Server

        idmap config *: range = 90000001-100000000

        idmap config * : backend = tdb

        directory name cache size = 0

        dos filemode = Yes



[Storage]

        ea support = No

        path = /mnt/VOL1/Storage

        read only = No

        vfs objects = zfs_space zfsacl streams_xattr

        nfs4:chown = true



[Backup]

        ea support = No

        path = /mnt/VOL1/backup

        read only = No

        vfs objects = zfs_space zfsacl streams_xattr

        nfs4:chown = true




I did further testing and I discovered that smb probably isn't the problem as I noticed "Rx FCS Errors" and "Received with MAC Errors" on my switch.

When I changed back to Freenas, the problem went away. Now I wanted to collect troublshooting information and the problem seems to also have vanished for Truenas, the system is now up for 2 days and hasn't had any network related errors anymore, video playback is also smooth. I cannot rule out a strange "cabling" issue that led to intermittend failures that just happened with truenas and not with freenas.

It may also be a netzwork driver settings issue, but as the problem isn't appearing anymore, I can't collect any network related troubleshooting information. I will start a new thread in case the problem comes back and I can reliable trace it down to a Truenas issue.

Thank you very much.
 
Top