I'm running a storage server that has to mount home-dirs of different users at several (5) centos servers. The NFS storage server has direct Fibrechannel storage (with high speed, verified).
When the NFS is mounted on a client, big file writes go fast (30MB/s). However lots of small files have a serious problem. If I write to the NFS, or even worse, copy files from one folder on the NFS to another NFS folder, this is very slow (~100kB/s). A first search revealed that NFS has the problem of doing slow file creations (somewhere 30 files /s). I understand that this will be a cause of slow speed with lots of small files.
Can this be solved with another NFS configuration or by using another protocol? It would not be feasable that users have to copy their files to a local disk each time.
my NFS configuration: NFS4
/etc/exports: /NFSFOLDER IP/MASK(rw,sync,no_root_squash_subtree_check) at client side: /etc/fstab IP:/NFSFOLDER /mountpoint nfs4
NFS settings are set to defaults.
Thanks in advance