Test
A simple test tool was written to test the maximal NFSv4 mount allowed and the maximum NFSv4 export a server can perform. It creates and exports a directory on a server and mounts it on the client. It repeats the operation up to 5000 time. Each export time is measured (from the client) and the resulting graph is displayed below br>
Conclusion
I note a clear change of behaviours when the number of exported directories reaches 2128. At this point, time to export one directory is near 1second (0.97s).
br>
Total time to mount 2128 directories is ~1243seconds (20minutes).
br>
Software configuration
- Server :
- Export options are :
/export *(rw,wdelay,insecure,no_root_squash,no_subtree_check,fsid=0)
- mount options, NFSv4 :
rsize=32768,wsize=32768,timeo=14,intr,noauto
- Linux 2.6.12-rc4-CITI_NFS4_ALL-1
hardware configuration
(Client and Server) br>
- 2 processors : Intel(R)
- Xeon(TM) CPU 2.80GHz, cache 512 KB
- Total memory: 2Gb
- Ethernet: 1Gb/s link
- Distribution : modified Fedora Core 2