为什么NFSv3的性能优于NFSv4.x?
适用场景
- ONTAP 9
- NFSv3到4.2
问题解答
- 原因如下:
- NFSv3不需要锁定
- 锁定会增加NFS客户端和服务器的开销
- 锁定还可能需要与其他客户端进行通信、从而进一步增加延迟
- 在NFSv3中、每次调用都是一个单独的RPC调用
- 根据工作负载的不同、速度可能更快或更慢
- 委派等功能可将负载转移到其他客户端
- 其他客户端需要处理委派会造成额外的延迟
- NFSv4会保留可能无法高效执行的状态
- 较旧版本的Linux或ONTAP 不如较新版本的优化效果更好、无法实现NFSv4.x的最佳性能
- NFSv3不需要锁定
追加信息
附加信息 _text