Poor SMB/CIFS Mac OS X Performance

riggieri

Dabbler
Joined
Aug 24, 2018
Messages
42
Hi

Trying to figure out where my issues are seeing poor SMB/CIFS transfer speeds from Finder copies. Here is my setup.

FreeNAS Server 11.2-U2
Dual L5520 Xeon
96GB RAM
LSI 9207-8i Controller
4u 48 Bay Chenbro Chasis
Chelsio T420-BT set up in link aggregation.
Switch is Netgear XS716T
Pool1: 6x6 Vdevs RaidZ2, 4 of them 8TB drives, 2 of them 3TB drives.
Pool2: 6x4TB HGST NAS Drives in RaidZ2

The issue I am having is I am only seeing about half speed, 45-55MB/s transfers over SMB from Mac OS X clients We are a video post production company, and run 95% on Mac. On the 10G clients, we see about 300-400MB/s. AJA speed test with Sync Disabled runs at 112MB/s on 1G and 850MB/s on 10G.

Clients:
2012 Mac Pro 1Gb networking. OS X 10.13.5. Full Bandwidth on iPerf Test
2017 iMac Pro 10G networking. OS X 10.14.3. Full Bandwidth on iPerf Test
2018 Mac mini 10G networking. OS X 10.14.3. Full Bandwidth on iPerf Test


When testing with a AFP share on FreeNAS, I get 112MB/s from a 1G client as expected. That same 1G client can connect to one of the new Macs sharing over SMB and transfers at a full 112MB/s. So this leads me to believe it is the implenetation of SMB on FreeNAS. What can I do to help track down this issue?
 
Last edited:

riggieri

Dabbler
Joined
Aug 24, 2018
Messages
42
I did some more testing. I rolled back to a clean version of 11.1-U6 and imported Pool2. Initially I only saw 55MB/s to a 1G SMB client but 105MB/s over AFP. With some more testing, and working with SMB parameters, I got 115MB/s write speed over SMB.

Here is what I used.
socket options = TCP_NODELAY SO_RCVBUF=524288 SO_SNDBUF=524288 IPTOS_LOWDELAY


Still working on read speeds on the 1G clients and then I will move to 10G clients.
 
Top