PSA: Use NFS on macOS Catalina/Mojave/HighSierra for 10gbe, smb is still broken
#skip_this_part
I know I saw this before, and its been discussed a lot, but I just want to reiterate for those that are not aware: DO NOT use SMB for macOS using Unraid if you are on 10gbe (1gb actually works great/ok).
After days of testing and losing my mind over why my 10gbe isnt working to its potential (9gbytes-10gbytes) transfer rates that I was getting on Windows.
SMB just doesnt work on macOS as it should (especially for 10gbe, I get less than 5MBytes/sec write and 50-60 on read)
After switching to NFS I now get proper 800mbytes write and 1.1gbytes write (slows down gradually to 700-900mbytes) using my SSD shares
I wish there was a way to manually update SMB on macOS like in the old days (see: http://eduo.info/apps/smbup) or better yet, a proper SMB configuration natively. But thats not an option at this time.
So for now, if you're coming here from google or just saw this thread on the forum because you searched for 'macos slow 10gbe unraid' there is nothing wrong with unraid, your setup (probably) its Apple's fault.
Unfortunately, as of now, Unraid does not allow you to specify a lot of settings through the gui for NFS (restrict to ip, enabling rw, insecure connections, proper permissions...etc) so you have to do it manually, which sucks a lot, but its your only option if you're running 10gbe.
#read_this_part
Below are my extra options that I added to the NFS Unraid settings, but please chime in if you know any better as I am not exactly an expert on the subject.
note: add these to your shares with the private security turned on.
*(sec=sys,rw,no_root_squash,insecure)
or if you want specific clients:
192.168.1.10(sec=sys,rw,no_root_squash,insecure) 192.168.1.12(sec=sys,rw,no_root_squash,insecure)
or maybe a specific range:
192.168.1.0/24(sec=sys,rw,no_root_squash,insecure)
if you're confused about the options, the first one is the one you should use. Also, you need to change 192.168.x.x part to your local network.