G
G
glmonarch2016-04-22 15:36:41
macOS
glmonarch, 2016-04-22 15:36:41

Mac OS - Slow NFS access speed?

Good afternoon! I have :
b7c2ceaa02be4130b26acf23fde9708c.png
1. Mac Pro (El Capitan) with Thunderbolt 2 ports
2. Accusys a16t2 share storage with RAID6 of 16 SATA drives connected to Mac Pro via Thunderbolt 2 port
3. Mac Pro connected to a 10Gbit switch using a 10Gbit Promise Sanlink adapter 2
4. An iMac mount (El Capitan) is connected to the same switch using the same adapter.
5. Two shares are created on Mac Pro physically lying on Accusys:
- AFP via MAC OS itself
- NFS share via NFS Manager
Access test from Mac Pro to storage using BlackMagic and AJA Test gives the results:
read: 1100MB/s
write: 1200MB /s
Access test from an iMAC client to an AFP share using the same BlackMagic (average result of 10 tests):
read: 720MB/s
write: 300Mb/s (by the way, is it normal that the speed difference is 2 times here?)
Access test from the same iMAC client on an NFS share by the same BlackMagic (average result of 10 tests):
read: 330MB /s
write: 30MB/s !!!
As a result of the tests, I conclude that the problem is somewhere in the NFS settings on the server or client? Until I understand. Maybe there are some best practices for setting up 10Gbit / s access on MAC OS and NFS? Maybe you need specific options when mounting shares or using another software for sharing via NFS? Or do you need to play with the size of MTU, Jumbo Frames? Poke, please, with your nose where to dig and how to achieve normal access speed via NFS from clients? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
glmonarch, 2016-04-29
@glmonarch

It seems that the topic of sharing NFS using OS X is not very popular. the results with the ball physically resting on the Mac Pro itself were just as dismal. There are some moves. On the entire route from mounting iMAC to Mac Pro, I turned on Jumbo Frames 9200, increased the number of NFS upload threads on Mac Pro to 64 (threads = 64), mounted the share on the client with the "async" option:
mount -t nfs -o async ip_of_mac_pro: /share /mnt/nfs_share
After the performed manipulations, the write speed on the ball was about 450MB / s, and the read speed from it was about 240MB / s. Let this not be an extravaganza, but at least some progress towards the truth.
Another interesting thing, I connected a NAS from QNAP to the same port of the QNAP switch for tests (I don’t remember the model), I shared the folder via NFS using standard methods from the web-muzzle, and on the client I stupidly connected this share from Finder ... and lo and behold - the speed for writing and reading was about 600MB / s without any shamanism. The point is in the implementation of nfsd under OS X. I smoke further.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question