I am using Mac OS X Mountain Lion (GM).
My write speeds were VERY slow. An 11gb movie took over an hour to copy.
It took me a long time to figure out what is the root cause for my issue. I kept thinking it was the WD20EARS drives I'm using.
I have now switched from AFP to SMB, and the write speeds are excellent: less than 10 minutes for the same file.
There is something broken with the AFP protocol. It might be mountain lion, it might be Nas4free. Note that I switched to freenas 8 thinking the problem was only with the current release of nas4free, but the speed was the same.
Any help would be appriciated.
EDIT :
Ok, I seem to have found the issue.
It's the MTU setting. when I set MTU=9000 on nas4free and also set MTU=9000 in Mountain Lion, speeds jumped up really fast, it was as fast as copying to the internal drive. That's weird, since it wasn't necessary with freenas 0.7 and OS X Lion.
After setting this value, I had the very bad idea of trying to delete everything on the nas before beginning copying again
Why bad? Because deduplication and deleting a low of files without enough ram is VERY BAD FOR YOUR ZFS POOL:
http://mail.opensolaris.org/pipermail/z ... 50428.html
My server is now stuck on reboot due to:
pid 1025 (zpool), uid 0, was killed: out of swap space
I can't even access the nas from ssh anymore.
I will try to boot in safe mode when I get home and destroy the pool (not zfs itself, but zpool, see link above).
Then i'll try to recreate the pool without deduplication and see if that solves my problem.
can anyone recommend the optimal MTU setting for a realtek r8169 gigabit ethernet? Also, doesn't changing the value on Mountain Lion impact my internet connection which probably requires a 1500 value?
