修改nfs请求并发数
NFS 客户端会对同时允许发起的请求个数进行限制,默认值通常为 2,由于并发较低会导致客户端能够达到的吞吐较低。
echo "options sunrpc tcp_slot_table_entries=128" >> /etc/modprobe.d/sunrpc.conf
echo "options sunrpc tcp_max_slot_table_entries=128" >> /etc/modprobe.d/sunrpc.conf
sysctl -w sunrpc.tcp_slot_table_entries=128
reboot
重启之后查看是否生效
cat /proc/sys/sunrpc/tcp_slot_table_entries