Elastic Compute Service
Parameter | Description |
Parameter | Description |
group_reporting | Indicates a display mode of test results. If this parameter is specified, in the test results, aggregate statistics of each process are displayed, instead of grouped statistics by different tasks. |
direct | Whether to use direct I/O. Values:
|
iodepth | Indicates I/O queue depth during testing. For example, -iodepth=128 means FIO controls a maximum of 128 I/O requests at a time. |
rw | Indicates read/write policy during testing. Values:
|
ioengine | Indicates the I/O engine for FIO testing. libaio is commonly used, as it better fits typical application scenarios. |
bs | Indicates block size (I/O unit). Default value: 4 KiB. Read and write values can be specified separately in read,write format. Either value can be left empty to retain its default value. |
size | Indicates test file size. FIO completes reading/writing the entire specified file size before stopping the test, unless disrupted by other configurations (such as the parameter "runtime"). If this parameter is not specified, FIO uses the full size of the given file or device. You can also specify the size as a percentage (between 1 and 100). For example, size=20% means that FIO uses 20% of the full size of the given file or device. |
numjobs | Indicates the number of concurrent threads for testing. Default value: 1. |
runtime | Indicates test duration (how long FIO runs). If the value of this parameter is not specified, FIO will continue reading/writing the file of the size specified by "size" above in blocks of the size specified by "bs" until completion. |
filename | Indicates the path of the test target. You can specify the path as a storage device name or a file address. All FIO tests in this topic target entire volumes, which are raw volume tests that involve no file systems. To avoid accidentally testing other volumes (which may cause data loss), replace /dev/your_device (the example path in this topic) with your actual path. |
name | Indicates test task name. Set a name for your test task as you wish. The task name in this example is test. |