Why may NFSv3 perform better than NFSv4.x?
Applies to
- ONTAP 9
- NFSv3 to 4.2
Answer
- There are several reasons:
- Locking is not required for NFSv3
- Locking adds more overhead for NFS clients and servers
- Locking also may require communication with other clients, adding further delays
- Each call is a separate RPC call in NFSv3
- This may be faster or slower depending on the workload
- Features like delegations offload requirements to other clients
- Other clients being required to handle delegations create extra delays
- NFSv4 retains state which may not perform as efficiently
- Older versions of Linux or ONTAP are not as optimized as newer versions for NFSv4.x optimal performance
- Locking is not required for NFSv3
Additional Information
additionalInformation_text