Kevin Horton
Guru
- Joined
- Dec 2, 2015
- Messages
- 730
I'm troubleshooting poor performance copying from macOS 10.12.2 to an AFP share on a box running FreeNAS-9.10.1-U4, with 1GbE networking. The AFP share in question has quite a large number of files and directories. This post suggested that AFP shares with smaller numbers of files and directories had much better performance, and that does seem to be true. A new share to an empty dataset averages around 800 Mb/s when transferring a large file, whereas copying to the share with more files has very variable performance that bounces around between 100 and 400 Mb/s.
I'm wondering if the poor performance with large AFP shares is a problem with macOS, or with Netatalk on FreeNAS. Can anyone suggest any tweaks I could make either on FreeNAS or macOS to improve performance? For the moment, if I have a large amount of stuff to copy to FreeNAS, I'll send it to my small share, or use rsync. I'll also do some testing with CIFS. I had tested it when I first set up FreeNAS, and it performed worse than AFP at that time, but that was with FreeNAS 9.3, OS X 10.10, and much smaller shares. A lot has changed since then.
I'm wondering if the poor performance with large AFP shares is a problem with macOS, or with Netatalk on FreeNAS. Can anyone suggest any tweaks I could make either on FreeNAS or macOS to improve performance? For the moment, if I have a large amount of stuff to copy to FreeNAS, I'll send it to my small share, or use rsync. I'll also do some testing with CIFS. I had tested it when I first set up FreeNAS, and it performed worse than AFP at that time, but that was with FreeNAS 9.3, OS X 10.10, and much smaller shares. A lot has changed since then.