Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

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

AndroidBot

Neophyte
Joined
Apr 25, 2021
Messages
7
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

Neophyte
Joined
Apr 25, 2021
Messages
7
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

Neophyte
Joined
Apr 25, 2021
Messages
7
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
681
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

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

9000
9014
 
Top