25GBe Ethernet + Powerful hardware, still very slow SMB file transfer

AndroidBot

Dabbler
Joined
Apr 25, 2021
Messages
28
Hi,

I just built my first TrueNAS server, I'm completely new to TrueNAS, but did my research, learned about Autotune and system tunables, as its FreeBSD, its actually almost identical to tuning I did to my pfSense firewall.

Anyway, my hardware:
2x Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
640 GB ECC RAM
36x 18TB Ultrastar Enterprise drives

Also using "Intel Solid-State Drive DC P4618 Series - solid state drive - 6.4 TB - PCI" for caching.


That being said, my SMB file transfers do no exceed 600-700MB / sec. What am I missing? Please advise. Thank you
 

AndroidBot

Dabbler
Joined
Apr 25, 2021
Messages
28
Also here's my current Tunables:

1619376751332.png
 

AndroidBot

Dabbler
Joined
Apr 25, 2021
Messages
28
And here's my smb4.conf:

```
root@truenas[/usr/local/etc]# cat smb4.conf
#
# SMB.CONF(5) The configuration file for the Samba suite
# $FreeBSD$
#

[global]
dns proxy = No
aio max threads = 2
max log size = 5120
load printers = No
printing = bsd
disable spoolss = Yes
dos filemode = Yes
kernel change notify = No
directory name cache size = 0
nsupdate command = /usr/local/bin/samba-nsupdate -g
unix charset = UTF-8
log level = 1 auth_json_audit:3@/var/log/samba4/auth_audit.log
obey pam restrictions = False
enable web service discovery = True
username map = /usr/local/etc/smbusername.map
username map cache time = 60
logging = file
server min protocol = SMB2_02
unix extensions = No
restrict anonymous = 2
server string = TrueNAS Server
bind interfaces only = Yes
netbios name = truenas
netbios aliases =
```
 

AndroidBot

Dabbler
Joined
Apr 25, 2021
Messages
28
I solved the problem, it needed jumbo frames, in both end interfaces (sender + receiver/TrueNAS) AND in the switch
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,448
I solved the problem, it needed jumbo frames, in both end interfaces (sender + receiver/TrueNAS) AND in the switch

Good find, this is common in a lot of these initial performance setups, people forget to set JF all the time :)
 

flashdrive

Patron
Joined
Apr 2, 2021
Messages
262
@AndroidBot
Which Jumbo Frame size did you configure at all the points?

9000
9014
 
Top