Refer to this question (closed): Sharing folder from Linux to Mac, Samba or NFS?, most people suggested that NFS is faster and therefore I did a quick test:
- MacBook Pro / OSX Lion
- Ubuntu 12.04 inside VirtualBox (host only network)
On the Ubuntu VM install default samba and nfs server (resvport option is used for nfs client).
Test1: a folder of 1640 files (total 34M)
NFS: 2m16.760s
SMB: 0m43.772s
Test1: a single compressed file of 90M
NFS: 0m5.699s
SMB: 0m2.483s
As you can see, both SMB is performing much faster, are there any reason or anything I have missed during the configuration?