Linux.com

Benchmarking NFSv3 vs. NFSv4 file operation performance

Posted by: Johannes Truschnigg on June 20, 2008 09:50 AM
If you compare NFSv2/3 and NFSv4's performance when transferring large files over GBit links, you'll be nothing less than staggered by what margin NFSv4 (with "rsize=32768,wsize=32768" as mount-time options) manages to beat its predecessor. NFSv4 offers substantial benefit for my particular usage. Window-size is an important factor for NFSv2/3-filesystems, too.

You can further tweak network filesystem performance by reducing the number of interrupts your NIC generates: Intel Pro/1000 networking hardware, for example, offers a driver option to use rx-polling (CONFIG_E1000_NAPI=Y), which sped up my NFSv4 setup at home from ~85Mb/sec to as much as ~115Mb/s when transfering large files.

#

Return to Benchmarking NFSv3 vs. NFSv4 file operation performance