Troubled with the poor performance of SMB, I decided to use NFS instead. However, OS X does have some major performance hits. When you use Finder with NFS 4, it is terrible. I switched back to V3 and disabled the locking system. Since I am the only one working on this particular installation, it should not be a problem.
So, to mount nfs properly without experiencing performance hits in Finder, use the following:
sudo mount -t nfs -o nolocks,resvport,locallocks 192.168.0.5:/nfs/dev ./CodeRemote
This will improve pasting big files, transferring many files and other locking problems.