File operations are necessarily going to be slower over NFS. What I would like are some rough estimates of expected slowdown between local and NFS file operations, specifically for file creation when working on a properly tuned NFS file system.
I am noticing our NFS file system is 1,000 times slower for file creation (therefore nearly unusable when copying over large directories, for example). As I help our system administrators with this problem, I would like some expectations to serve as a baseline as we measure progress.
Adding additional info per Timothy's request:
NFS version 4 Protocol
ping stats from client to NFS server:
8 packets transmitted, 8 received, 0% packet loss, time 6999ms rtt min/avg/max/mdev = 0.167/0.216/0.244/0.029 ms io (input/output): 147584499 3271482498
The NFS file system is consistently 1,000 times slower. It is not simply a function of what is happening on the network.
Post Discussion Update
We have discovered a NFS configuration issue. By changing the exports to async from the default of sync, we have gained 60x increase in performance. async does come with a risk as the client does not wait for the data to be written to disk before preceding, so some files may become corrupted but the risk is minimal.