Sample FIO Commands for Block Volume Performance Tests on Linux-based Instances
This topic describes sample FIO commands you can use to run performance tests for the Oracle Cloud Infrastructure Block Volume service on instances created from
Linux-based images.
Installing FIO
To install and configure FIO on your instances with Linux-based operating systems, run the commands applicable to the operating system version for your instance.
This applies to Ubuntu 20.04, Ubuntu 18.04, and Ubuntu Minimal 18.04.
FIO Commands 🔗
IOPS Performance Tests
Use the following FIO example commands to test IOPS performance. You can run the commands directly or create a job file with the command and then run the job file.
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fiorandomread.fio, with the following:
Add both the read IOPS and the write IOPS returned.
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fiorandomreadwrite.fio, with the following:
For workloads that enable you to take advantage of sequential access patterns, such as database workloads, you can confirm performance for this pattern by testing sequential reads.
Run the following command to test sequential reads:
In some cases you may see more consistent results if you use a job file instead of running the command directly. Use the following instructions for this approach:
Create a job file, fioread.fio, with the following:
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fiorandomread.fio, with the following:
Add both the read MBPs and the write MBPs returned.
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fiorandomread.fio, with the following:
For workloads that enable you to take advantage of sequential access patterns, such as database workloads, you can confirm performance for this pattern by testing sequential reads.
Run the following command to test sequential reads:
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fioread.fio, with the following:
Use the following FIO example commands to test latency performance. You can run the commands directly or create a job file with the command and then run the job file.
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fiorandomreadlatency.fio, with the following:
In some cases you might see more consistent results if you use a job file instead of running the command directly. Use the following steps for this approach.
Create a job file, fiorandomrwlatency.fio, with the following: