Severe SMB Write Performance Bottleneck with macOS Client, Despite Proven 10GbE Network and Active Multichannel

Not sure if I missed it, but you still have not tried disabling smb signing on your Mac Studio right?

1 Like

No, we did try that to no effect.
Latest theory: which I am exploring now. is AVB/EAV Mode is enabled (and greyed out so I can’t turn it off). Apparently this is installed (I think) by Final Cut Pro (which came pre-installed). My understanding is this is a form of QoS type thing it it may block some bandwidth. Stay tuned…

Don’t get too excited. You can disable AVB/EAV mode by switching to ā€˜manual’ under network>hardware. Once I turned it off for both interfaces, there was, sadly, no change in performance.
Back to the drawing board.

So off on a tangent here but, I’ve been using WebDAV for several years now with my TrueNAS shares and MacOS clients in lieu of using SMB. I’ve personally found that WebDAV performs better for me than SMB especially over a WAN link. My observations are mostly subjective but WebDAV has worked out quite well for me. I’ve made my TrueNAS document shares available via a VM running apache httpd configured with TLS and the webdav module. From MacOS, I’m able to mount these shares using the finder and the WebDAV URL. I mount these shares from any where as I use cloudflare and cloudflare tunnels to access the WebDAV link. TrueNAS has a WebDAV app that you may install and run but, I chose to spin up my own version so that I could tweak the access logging better but, the TrueNAS app is essentially the same as what I’m running on my VM.

Having read this thread, I tested write speed from my wifi connected laptop a file on my mounted WebDAV share, my NAS has 1Gb Nics, and I get this using dd

106300440576 bytes (106 GB, 99 GiB) transferred 19.018s, 5590 MB/s

Just thought that I’d mention WebDAV as an alternative to SMB for Mac Users. I have had some difficulty with Windows clients however as they have been finicky to setup with TLS but, WebDAV on a Mac is very nice with the ability to mount a WebDAV share as a disk volume.

1 Like

I wonder if it could be the Network adapter.
I’ve heard of people having issues with Aquantia based 10GBE network chipsets and that is what’s in the Mac.

1 Like

I have the exact same issue on a M4 Mac Studio, while other macs in the office connecting to the very same SMB, M2 Mac Studio and 2019 Mac Pro can read and write from Truenas server at full 10Gbe, I can only Write not read at full speed, only get 10% read speeds.

As @PK1048 pointed out, the issue is unlikely to be with TrueNAS if Windows machines operate as expected but MacOS does not.

Bingo. I have a Mac writing to and from the NAS with a 10GbE fiber connection that does not use a copper Aquantia chip. My write speeds are constrained by the HDDs in my pool, not the network.

I would suggest trying out the QNAP SFP+ thunderbolt adapter to see if working around the Aquantia is the way to go. Use a DAC to connect to your switch / server or a non-copper transceiver (i.e. Fiber). 10GbE Copper is still going through growing pains.

I would also manually disable WiFi, as I have found the Network system settings in MacOS customarily ignore service priority settings. Thus, even if you set a network adapter priority sequence, MacOS cheerfully ignores it unless you restart the machine. This has been an issue for years and at this point I doubt it will ever be addressed.

2 Likes

macOS has known SMB client issues. Even with 10GbE and multichannel poor write performance can result. Try disabling signing or using NFS instead.