There are already many NAS performance test available. Because I need real-world file transfer rate for my Mac mini (Late 2012), I decide to create my own sample data and procedure to meet my needs. Here is how it works:
Mixed File Size Sample Data
My typical working files contains small document, photo, and big disk image files. Therefore, I create my sample data set with one 3,3GB VDI file, 851 jpeg photos for 2.9GB, and 6 AVI video for 911.2MB.
If you want to reduce performance gain from disk cache and buffer on NAS, make sure the total sample size is bigger than memory on NAS.
Connect to QNAP QTS
Because there is no performance different using Finder or mount in terminal, you may mount a shared folder via Samba and Network File System with any above. Using NFS to Share Files on QNAP Between OS X and Linux explains how to configure QTS properly if you have file permission issue with NFS. Mounting an NFS share from OS X on QNAPedia is also very helpful, too.
Here are sample server addresses in Finder when connecting to a shared folder [Public] in QTS at 192.168.1.2:
smb://192.168.1.2/Public
nfs://192.168.1.2/Public
Connect to Synology DSM
Because there is no performance different using Finder or mount in terminal, you may mount a shared folder via Samba and Network File System with any above. Using NFS to Share Files on Synology Between OS X and Linux explains how to configure DSM properly if you have file permission issue with NFS.
Here are sample server addresses in Finder when connecting to a shared folder [Public] in QTS at 192.168.1.2:
smb://192.168.1.2/Public
nfs://192.168.1.2/Public
Connect to Thecus WSS
Because there is no performance different using Finder or mount in terminal, you may mount a shared folder via Samba with any above.
Network File System must be used with mount in terminal with parameters explicitly because Disk Utility included in OSX 10.8 and after has removed mount and [Advanced Mount Parameters] features according to Mountain Lion NFS Mounts Missing In Disk Utility on Apple Support.
Here is a sample server addresses in Finder when connecting to a shared folder [Public] in QTS at 192.168.1.2 with Samba:
smb://192.168.1.2/Public
Here is a sample mount command and parameters in terminal when connecting to a shared folder [Public] in QTS at 192.168.1.2 with NFS to [/Public /Users/Amigo/wss] on OSX:
mount -t nfs -o soft,intr,rsize=8192,wsize=8192,timeo=900,retrans=3,proto=tcp 192.168.1.2:/Public /Users/Amigo/wss
Mac Os X: Mount NFS Share / Set an NFS Client on nixCraft provides more useful information about mount on OSX. Worth to read!
Connection
If you don’t have a Gigabit Ethernet hub on your router, try Connect NAS to your Mac Directly with Ethernet.
According to my MTU test, I keep it to use default 1500.
Reference
- Apple: Mac Developer Library: BSD System Manager’s Manual MOUNT(8)
- Apple: Mac mini (Late 2012) – Technical Specifications
- Apple: OS X
- Apple: Support: Mac Basics: The Finder organizes all of your files
- Apple: Support: Mountain Lion NFS Mounts Missing In Disk Utility
- Connect NAS to your Mac Directly with Ethernet
- Maximum MTU doesn’t mean Best Performance
- nixCraft: Mac Os X: Mount NFS Share / Set an NFS Client
- QNAP: QTS
- QNAP: QNAPedia: Mounting an NFS share from OS X
- Samba
- Synology: DiskStation Manager
- Using NFS to Share Files on QNAP Between OS X and Linux
- Using NFS to Share Files on Synology Between OS X and Linux
- Wiki: Cache (computing) – 2.4 Disk cache
- Wiki: Data buffer
- Wiki: Disk image
- Wiki: Disk Utility
- Wiki: Gigabit Ethernet
- Wiki: Ethernet hub
- Wiki: Network File System
- Wiki: Oracle VDI
- Wiki: Router (computing)
- Wiki: Terminal (OS X)
Filed under:
How-To Tagged:
Mac,
NAS,
NFS,
OSX,
QNAP,
Samba,
Synology,
Thecus,
WSS