OSX Samba/NFS slow over high speed networking.

JamesMello

Cadet
Joined
Jan 16, 2023
Messages
3
We have a few different pools of TrueNas we are testing. One on 25GbE and one on 100GbE. NFS and SMB on Windows and Linux works as expected. However OSX is extremely slow. 300MBps transfers on a 40GbE line. Using Frametest we can achieve 2GBps writes and 2.7GBps reads on the storage through networking but things like MacOS finder copies and cvcp run at a fraction of this speed.

Are there any recommended tunables for both the mac clients and the TrueNas drive servers?
I turned off signing on the clients.

Mac OS versions are 13/12/11
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
OSX has been known to be a bit trigger happy when it comes to sync writes. Can you test with sync=disabled on the shared dataset to see if performance improves? If so, you might be a candidate for an SLOG.
 

JamesMello

Cadet
Joined
Jan 16, 2023
Messages
3
We have just adjusted sysctl tunings for buffers,ack,win size on the mac client and I am seeing some improvements. It's now at 500MBps but still a far cry from where we should be.

On the TrueNas side; I did have the auxillary tuning for =
Code:
strict sync = no
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You will probably want to disable sync at the dataset level for testing, to ensure that nothing is actually being synced.
 
Top