How to install the Flexible I/O Tester (fio) performance benchmarking tool?
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Issue
- Need to install the
fio
(Flexible I/O Tester) performance benchmarking tool
Resolution
To use fio
(Flexible I/O Tester) in OpenShift Container Platform (OCP), refer to: How to Use 'fio' to Check Etcd Disk Performance in OpenShift.
In RHEL, the fio
performance benchmarking tools can be installed using the yum
command as shown below:
[root@localhost mq]# yum -y install fio
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 0:54:17 ago on Tue 01 Jan 2019 02:18:51 PM EST.
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing :
Installing : boost-program-options-1.66.0-6.el8.x86_64
Installing : boost-iostreams-1.66.0-6.el8.x86_64
Installing : boost-random-1.66.0-6.el8.x86_64
Installing : libpmem-1.5-2.el8.x86_64
Installing : libpmemblk-1.5-2.el8.x86_64
Installing : pciutils-3.5.6-4.el8.x86_64
Installing : rdma-core-19-3.el8.x86_64
Installing : libibverbs-19-3.el8.x86_64
Installing : librdmacm-19-3.el8.x86_64
Installing : libicu-60.2-7.el8.x86_64
Installing : boost-regex-1.66.0-6.el8.x86_64
Installing : librados2-1:12.2.7-9.el8.x86_64
Installing : librbd1-1:12.2.7-9.el8.x86_64
Installing : fio-3.7-3.el8.x86_64
Verifying : librados2-1:12.2.7-9.el8.x86_64
Verifying : libpmem-1.5-2.el8.x86_64
Verifying : libpmemblk-1.5-2.el8.x86_64
Verifying : boost-random-1.66.0-6.el8.x86_64
Verifying : boost-iostreams-1.66.0-6.el8.x86_64
Verifying : fio-3.7-3.el8.x86_64
Verifying : boost-program-options-1.66.0-6.el8.x86_64
Verifying : boost-regex-1.66.0-6.el8.x86_64
Verifying : librbd1-1:12.2.7-9.el8.x86_64
Verifying : rdma-core-19-3.el8.x86_64
Verifying : libibverbs-19-3.el8.x86_64
Verifying : librdmacm-19-3.el8.x86_64
Verifying : libicu-60.2-7.el8.x86_64
Verifying : pciutils-3.5.6-4.el8.x86_64
Installed products updated.
Installed:
fio-3.7-3.el8.x86_64 librados2-1:12.2.7-9.el8.x86_64 libpmem-1.5-2.el8.x86_64 libpmemblk-1.5-2.el8.x86_64 boost-random-1.66.0-6.el8.x86_64
boost-iostreams-1.66.0-6.el8.x86_64 boost-program-options-1.66.0-6.el8.x86_64 boost-regex-1.66.0-6.el8.x86_64 librbd1-1:12.2.7-9.el8.x86_64 rdma-core-19-3.el8.x86_64
libibverbs-19-3.el8.x86_64 librdmacm-19-3.el8.x86_64 libicu-60.2-7.el8.x86_64 pciutils-3.5.6-4.el8.x86_64
Complete!
Note: For full usage of the fio
command, please see man fio
.
Root Cause
The fio
performance benchmarking tools are not installed by default in RHEL.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments