Test
This test try to show the maximal number of connections a single NFSv4/ia32/Linux server is able to accept. The server export one directory (server:/). The difference between this test and the previous one is about the load of the server. In fact, if the two tests mount an unique exported directory on multiple mount points, this test launch an IOZone benchmark on each nfs4 share. br>
The test :
- exports one directory on the server
- creates 2048 mount points on the client
- mounts 2048 times the same remote directory on each previously created mount points
- lauches 2048 times IOZone. Each IOZone runs over one previously mounted nfs4 share and uses a different test file
Each Iozone instance is lauched with options : iozone -ace -f /mnt/{share_number}/file_test_{number}.
All 2048 Iozone instance runs successfully all standard tests (Files from 64ko to 512Mo, rsizes from 4ko to 1024ko). Total time to run all tests is 6 days.
Conclusion
NFSv4 is able to connect 2048 client with a hight load.
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
- Distribution : modified Fedora Core 2
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