Is SMB broken in Ventura?
Seems like the current implementation of SMB (Samba) client is broken in macOS Ventura. I am running 13.5.1 on a brand new Mac Studio Max.
By "broken", I mean that the performance and stability is really bad. I have been struggling with this for a while now, and will summarize some findings here.
And yes, I have tried Googling and tried various settings, flags etc - but nothing gives me the required stability and speed (disabling .DS_Store etc...)
NFS is working much better and is very stable. Now that AFP is gone, and NFS is not developed any further, then SMB is the only future protocol for file sharing on Mac. The state of the current implementation seems to be extremely bad and not something to rely on.
Performance/Speed copying to SMB share
I created a new ZFS pool using two SSD disks on an Unraid server.
I then mounted this using SMB from my Mac. I copied apprx. 3000 pictures with size 20-30 MB per file.
The speed started about 80 MB/s but then went down to 25 MB/s and then was consistent on that speed. I saw that network was not being utilized at all - maybe 100-150 mbps out of 1 gbps.
I then mounted the same pool using NFS from my Mac. Did the same copying. The speed was now consistent 115 MB/s and it used all available network capacity (1 gbps).
Folder browsing on SMB share
When trying to browse folders on SMB share with many files in, it takes a very long time to display the files. NFS is much much faster.
Finder copying from SMB share
When trying to copy folders from SMB share with many subfolder and files, the copy gets stuck on "Preparing to copy"
Lightroom import to SMB share
When trying to import pictures into Lightroom where the destination for the photos are a SMB share, the whole Mac freezes and then restarts with some error generated. A total crash there.