I got a FreeNAS Server running (FreeNAS 8RC2) with a raidz1 ZFS pool that shares a volume with both AFP and SAMBA to multiple Mac (All running Snow Leopards 10.6.6).
After some testing, I've noticed that after a while, the AFP performance degrades from 30-40 mbps or 7-8 mbps while SAMBA is able to sustain it (At least, it has not degraded until now.)
I candidly assumed that AFP would be somewhat faster (or at least equivalent) than Samba. I therefore assume that is something wrong with my setup for AFP...
After googling, I've applied the following on my Macs:
defaults write -g com.apple.AppleShareClient -dict-add afp_wan_threshold -int 50
defaults write -g com.apple.AppleShareClient -dict-add afp_wan_quantum -int 131702
However, it did not make any difference... Any idea what could be wrong?