Severe Smb slowdowns on NAS using Trunas since Tahoe 26.5.1 update

The title basically says it all.

I have a direct connection to one of my servers 10gig ports going to a 10gig soonnet thunderbolt adapter using a static ip that had been very well. Since Tahoe 26.5.1 or any version of Tahoe for that matter, anything involving accessing my smb shares has been a nightmare.

A lot of people have total disconnects since this new tahoe update. I rarely get those. Mostly my speed has dramatically reduced when accessing / transferring files. I am in the kbps sometimes due to w.e weird software side thing the mac is doing kicks in. Upon a fresh restart for a few minutes my speeds will return to normal until they inevitably quickly fall back down to a crawl.

I know the issue origin point is the mac because i have several other computers that are windows based connected to my server and they are not having any issues as well as all of my mobile devices. This is a known issue with tahoe and im dying to figure out a solution to this because i do a lot of my file arrangement / data entry work from my macbook and it really is a huge annoyance having 1/30th of my speed.

Any input would be greatly appreciated.

~Thanks

1 Like

I haven’t seen this myself, i have truenas scale as my time machine destination and am on current Tahoe.

you on scale or core?

Are you sure your ethernet cable is good? 10G really needs the ethernet cable to be good.

Im positive my cables are good. I’m on Trunas Scale i believe , System Version: 25.04.2.6.

I’ll run some tests here this evening.

I’m on current scale and have 10G connectivity but my disk pool is only 4 disks

I only have macOS and Linux here - but Time Machine is faster than a local usb hard disk for me by a lot.

To be clear I am on current Tahoe, direct into a usb 10G adapter, 10G switch and then 10G intel Nic on trueNAS

Is it possible your dock cable (to the Mac) is not amazing?

1 Like

What does your nsmb.conf looks like?

I haven’t had such problems with Tahoe and Truenas scale.

This is mine nsmb.conf:

[default]
streams=yes
soft=yes
signing_required=no
validate_neg_off=yes
dir_cache_off=yes
protocol_vers_map=4
file_ids_off=yes
aapl_off=false
port445=no_netbios
notify_off=no
mc_on=yes
mc_prefer_wired=yes

How do you mount the shares? Did you test the connection with iperf3?

Perhaps yo could try sharing/mounting with nfs?

2 Likes

for some reason this 10G NIC only connects at 2.5G on this machine (suspect its maybe a USB3.2 vs. M4 Max issue - connects at 10G on intel). but this is Blackmagic speed test over 2.5G networking to my TrueNAS scale box from Tahoe.

It has saturated 2.5GbE.

Maybe silly question - the Mac hasn’t decided to use the WIFI connection?

Check in network settings:

Make sure your wired network connection is at the top/first.

1 Like

Ill never rule out anything 100 % but i did just get through replacing this cable. I have a new nic as well because the old one had an issue. It seems to be very much a system side issue from what i can tell but perhaps i can run some hardware test.

At a glance i am not sure what this is. Were are you inputing this data? Definitely a bit of a layman as it pertains to networking and serves at this point. Fyi.

That file is a macOS SMB client config file, not something in TrueNAS. You would create/edit on the Mac, but I would first do one simpler split test: run between the Mac and the TrueNAS box while the SMB copy is slow. If iperf still shows near line rate, the link/NIC/cable are probably OK and the problem is SMB/macOS settings. If iperf also falls to kbps after a few minutes, then look harder at the Thunderbolt adapter, route order, Energy/Low Power settings, or link renegotiation.

1 Like

This is the proper troubleshooting approach.

iperf tests raw bandwidth, irrespective of protocol. If it looks good, then your network is performing OK and is not the cause. If it looks bad, then you know you have to focus in on networking (hardware, cables, drivers, etc)

If iperf looks good, then you you should start looking at SMB configurations, both server and client.

1 Like

As @quietbadger27 said, nsmb.conf is a SMB config file on mac. It’s located in /etc folder.

You can edit it in mac terminal:

sudo nano /etc/nsmb.conf

It will ask for your admin account password.

If you want to check the raw bandwidth between mac and Truenas you can do it with iperf3:

In Truenas shell:

iperf3 -s

On mac:

iperf3 -c ip_of_your_truenas

I’m not sure if mac has iperf3 by default, but you can install it with:

brew install iperf3

There is the possibility that your NIC is overheating and throttling. You can play with iperf3 options to test sustained performance.

1 Like

Shouldn’t need to mess with that file - mine is default out of box, editing config files manually is not really a good idea IMHO on macOS unless you really know that’s the root cause.

1 Like

A couple of things i should mention. I the mac direct connected with a self assigned ip to the server. My windows computers are connected to the server via a trendnet switch with some sfp 10gbyte ports.

When i just now connected my mac to one of those ports.. all of my speeds seem to be fine. The only reason the mac has a direction connection to the server as opposed to the switch is the fact that the switch only has 2 sfp 10gb ports which are reserved for the one windows computer i work on that needs 10gbps as well as the server it self so it can be accessed at 10gps.

It seems like the easiest solution is me getting a switch with more 10gbit ports which is what i have been wanting to do for a while.

Yes at this point even connecting into one of the slower 2.5gb ports on the switch is proving to be more worth my time. I will porbably just forego the nic to nic connection and use the more robust switch for everything from now on. Far more pros this way. Ill upgrade my switch to have everything on at least 10gb asap.

Thanks so much for the help everyone.

Derp

The cable I was plugged into with the Mac was only a 2.5 gig port.

Forgot I moved the cable for my Mac to 2.5 and used the 10G for my desktop :joy:

1 Like