Last updated：2021-11-15 20:30:27
A Kingsoft Cloud Elastic Compute (KEC) instance connects to a Kingsoft Cloud File Storage (KFS) file system over an endpoint subnet in a virtual private cloud (VPC). The I/O performance is limited by the internal network throughput of the KEC instance and the performance of the KFS file system. The internal network throughput of a KEC instance depends on the purchased package. A larger package supports a higher throughput. If you need a high throughput, upgrade the specifications of your KEC instance. For more information, see Instance types.
KFS charges fees based on your peak storage usage per hour.
KFS supports NFS 3.0, CIFS, SMB 2.0, SMB 2.5, and SMB 3.0.
We recommend that you lock the file when one application is accessing the file so that other applications cannot modify the file at the same time.
|NFS 3.0||TCP: 111, 300, 302, 304, 2049
UDP: 300, 302, 304, 2049
|CIFS/SMB||TCP: 139, 445
UDP: 137, 138
In Linux, the number of concurrent NFS requests that are allowed on the NFS client is limited. The number of concurrent NFS requests is set to 2 in the kernel that is compiled in default settings. This seriously affects the performance of the NFS client.
After you install the NFS client, modify the number of concurrent NFS requests to improve the performance of the NFS client. Procedure:
Install the NFS client.
Run the following commands by using an account with the root privileges to modify the 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
Restart the KEC instance.
Run the following command to verify that the modification takes effect. If the returned value is 128, the modification is successful.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.