All Products
Search
Document Center

:How can I modify the maximum number of concurrent NFS requests?

Last Updated:Oct 13, 2026

The Network File System (NFS) client limits the number of concurrent requests. The default limit in the compiled kernel is 2, which can critically affect performance. This topic describes how to increase this limit to 128 to improve performance.

  1. Install an NFS client. For more information, see Install an NFS client.
  2. Run the following commands to set the maximum number of concurrent NFS requests to 128.
    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
    Note The first time you install an NFS agent, run the preceding commands once with root permissions. You do not need to run the commands again.
  3. Optional:Run the following command to restart the Elastic Compute Service (ECS) instance.
    reboot
  4. Mount the file system. For more information, see Mount an NFS file system.
  5. Use the following command to verify the results.
    cat /proc/sys/sunrpc/tcp_slot_table_entries

    A return value of 128 indicates that the modification was successful.