edit-icon download-icon

Why does my NFS run in Linux at MB speed

Last Updated: Oct 27, 2017

The Linux nfs client has restrictions on the number of NFS requests which can be simultaneously initiated. If the parameter is too small, it causes relatively poor I/O performance. In such cases, check the following parameter:

  1. cat /proc/sys/sunrpc/tcp_slot_table_entries

For the default kernel, the maximum value of this parameter is 256. For better performance, you can increase the value of this parameter. Run the following command as root:

  1. sudo sysctl -w sunrpc.tcp_slot_table_entries=128

After you apply the change, you must re-mount the file system.

Thank you! We've received your feedback.