All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

KFS Performance Testing

Last updated:2021-11-26 10:19:17

This topic describes how to test the bandwidth and input/output operations per second (IOPS) of a Kingsoft Cloud File Storage (KFS) file system in Linux CentOS by using FIO.

Usage notes

  • Make sure that the sunrpc_slot parameter is set properly. For more information, see "Why does the NFS client in Linux fail to reach the expected performance?" in FAQ.
  • The maximum bandwidth does not exceed the internal bandwidth of the Kingsoft Cloud Elastic Compute (KEC) instance that is used for testing. If the internal bandwidth of the KEC instance is 1 Gbps, the throughput of the file system can be up to 125 MB/s.
  • In this example, a single KEC instance is used for testing. We recommend that you use multiple KEC instances so that your KFS file system can achieve its optimal performance.
  • In this example, the KEC(S6) instance used for testing has 32 vCPUs, 62 GB memory, and an internal bandwidth of 12 Gbps.

Install FIO

Run the following command:

sudo yum install fio

Test the random read IOPS

Run the following command:

fio -numjobs=1 -iodepth=128 -direct=1 -ioengine=libaio -sync=1 -rw=randread -bs=4K -size=1G -time_based -runtime=60 -name=Fio -directory=/mnt

Test result: 43,100 1.png

Test the random write IOPS

Run the following command:

fio -numjobs=1 -iodepth=128 -direct=1 -ioengine=libaio -sync=1 -rw=randwrite -bs=4K -size=1G -time_based -runtime=60 -name=Fio -directory=/mnt

Test result: 11,300 2.png

Test the random read bandwidth

Run the following command:

fio -numjobs=1 -iodepth=128 -direct=1 -ioengine=libaio -sync=1 -rw=randread -bs=1M -size=1G -time_based -runtime=60 -name=Fio -directory=/mnt

Test result: 983 MB/s 3.png

Test the random write bandwidth

Run the following command:

fio -numjobs=1 -iodepth=128 -direct=1 -ioengine=libaio -sync=1 -rw=randwrite -bs=1M -size=1G -time_based -runtime=60 -name=Fio -directory=/mnt

Test result: 1045 MB/s 4.png

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback