How To Install fio.x86_64 on Amazon Linux 2

In this tutorial we learn how to install fio.x86_64 in Amazon Linux 2. fio.x86_64 is Multithreaded IO generation tool

Introduction

In this tutorial we learn how to install fio.x86_64 on Amazon Linux 2.

What is fio.x86_64

fio is an I/O tool that will spawn a number of threads or processes doing a particular type of io action as specified by the user. fio takes a number of global parameters, each inherited by the thread unless otherwise parameters given to them overriding that setting is given. The typical use of fio is to write a job file matching the io load one wants to simulate.

We can use yum to install fio.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install fio.x86_64.

Install fio.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install fio.x86_64 using yum by running the following command:

sudo yum -y install fio.x86_64

How To Uninstall fio.x86_64 on Amazon Linux 2

To uninstall only the fio.x86_64 package we can use the following command:

sudo yum remove fio.x86_64

fio.x86_64 Package Contents on Amazon Linux 2

/usr/bin/fio
/usr/bin/fio-btrace2fio
/usr/bin/fio-dedupe
/usr/bin/fio-genzipf
/usr/bin/fio-verify-state
/usr/bin/fio2gnuplot
/usr/bin/fio_generate_plots
/usr/bin/fio_latency2csv.py
/usr/bin/fiologparser.py
/usr/bin/fiologparser_hist.py
/usr/bin/genfio
/usr/share/doc/fio-2.14
/usr/share/doc/fio-2.14/COPYING
/usr/share/doc/fio-2.14/HOWTO
/usr/share/doc/fio-2.14/README
/usr/share/doc/fio-2.14/REPORTING-BUGS
/usr/share/doc/fio-2.14/examples
/usr/share/doc/fio-2.14/examples/1mbs_clients.fio
/usr/share/doc/fio-2.14/examples/aio-read.fio
/usr/share/doc/fio-2.14/examples/backwards-read.fio
/usr/share/doc/fio-2.14/examples/basic-verify.fio
/usr/share/doc/fio-2.14/examples/cpuio.fio
/usr/share/doc/fio-2.14/examples/disk-zone-profile.fio
/usr/share/doc/fio-2.14/examples/e4defrag.fio
/usr/share/doc/fio-2.14/examples/e4defrag2.fio
/usr/share/doc/fio-2.14/examples/enospc-pressure.fio
/usr/share/doc/fio-2.14/examples/falloc.fio
/usr/share/doc/fio-2.14/examples/fixed-rate-submission.fio
/usr/share/doc/fio-2.14/examples/flow.fio
/usr/share/doc/fio-2.14/examples/fsx.fio
/usr/share/doc/fio-2.14/examples/fusion-aw-sync.fio
/usr/share/doc/fio-2.14/examples/gfapi.fio
/usr/share/doc/fio-2.14/examples/iometer-file-access-server.fio
/usr/share/doc/fio-2.14/examples/jesd219.fio
/usr/share/doc/fio-2.14/examples/latency-profile.fio
/usr/share/doc/fio-2.14/examples/libhdfs.fio
/usr/share/doc/fio-2.14/examples/mtd.fio
/usr/share/doc/fio-2.14/examples/netio.fio
/usr/share/doc/fio-2.14/examples/netio_multicast.fio
/usr/share/doc/fio-2.14/examples/null.fio
/usr/share/doc/fio-2.14/examples/numa.fio
/usr/share/doc/fio-2.14/examples/pmemblk.fio
/usr/share/doc/fio-2.14/examples/poisson-rate-submission.fio
/usr/share/doc/fio-2.14/examples/rand-zones.fio
/usr/share/doc/fio-2.14/examples/rbd.fio
/usr/share/doc/fio-2.14/examples/rdmaio-client.fio
/usr/share/doc/fio-2.14/examples/rdmaio-server.fio
/usr/share/doc/fio-2.14/examples/ssd-steadystate.fio
/usr/share/doc/fio-2.14/examples/ssd-test.fio
/usr/share/doc/fio-2.14/examples/surface-scan.fio
/usr/share/doc/fio-2.14/examples/tiobench-example.fio
/usr/share/doc/fio-2.14/examples/waitfor.fio
/usr/share/doc/fio-2.14/examples/zipf.fio
/usr/share/fio
/usr/share/fio/graph2D.gpm
/usr/share/fio/graph3D.gpm
/usr/share/fio/math.gpm
/usr/share/man/man1/fio.1.gz
/usr/share/man/man1/fio2gnuplot.1.gz
/usr/share/man/man1/fio_generate_plots.1.gz
/usr/share/man/man1/fiologparser_hist.py.1.gz

References

Summary

In this tutorial we learn how to install fio.x86_64 on Amazon Linux 2 using yum.