How To Install filebench on Fedora 34

filebench is A model based file system workload generator

Introduction

In this tutorial we learn how to install filebench on Fedora 34.

What is filebench

Filebench is a file system and storage benchmark that allows to generate a high variety of workloads. It employs extensive Workload Model Language (WML) for detailed workload specification.

We can use yum or dnf to install filebench on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install filebench.

Install filebench on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install filebench using dnf by running the following command:

sudo dnf -y install filebench

Install filebench on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install filebench using yum by running the following command:

sudo yum -y install filebench

How To Uninstall filebench on Fedora 34

To uninstall only the filebench package we can use the following command:

sudo dnf remove filebench

filebench Package Contents on Fedora 34

/usr/bin/filebench
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/fdb17a44a429a30b834e0e3a6b35b18cbd3fab
/usr/share/doc/filebench
/usr/share/doc/filebench/AUTHORS
/usr/share/doc/filebench/COPYING
/usr/share/doc/filebench/ChangeLog
/usr/share/doc/filebench/LICENSE
/usr/share/doc/filebench/NEWS
/usr/share/doc/filebench/README
/usr/share/doc/filebench/TODO
/usr/share/filebench
/usr/share/filebench/workloads
/usr/share/filebench/workloads/compflow_demo.f
/usr/share/filebench/workloads/copyfiles.f
/usr/share/filebench/workloads/createfiles.f
/usr/share/filebench/workloads/filemicro_create.f
/usr/share/filebench/workloads/filemicro_createfiles.f
/usr/share/filebench/workloads/filemicro_createrand.f
/usr/share/filebench/workloads/filemicro_delete.f
/usr/share/filebench/workloads/filemicro_rread.f
/usr/share/filebench/workloads/filemicro_rwrite.f
/usr/share/filebench/workloads/filemicro_rwritedsync.f
/usr/share/filebench/workloads/filemicro_rwritefsync.f
/usr/share/filebench/workloads/filemicro_seqread.f
/usr/share/filebench/workloads/filemicro_seqwrite.f
/usr/share/filebench/workloads/filemicro_seqwriterand.f
/usr/share/filebench/workloads/filemicro_seqwriterandvargam.f
/usr/share/filebench/workloads/filemicro_seqwriterandvartab.f
/usr/share/filebench/workloads/filemicro_statfile.f
/usr/share/filebench/workloads/filemicro_writefsync.f
/usr/share/filebench/workloads/fileserver.f
/usr/share/filebench/workloads/fivestreamread.f
/usr/share/filebench/workloads/fivestreamreaddirect.f
/usr/share/filebench/workloads/fivestreamwrite.f
/usr/share/filebench/workloads/fivestreamwritedirect.f
/usr/share/filebench/workloads/listdirs.f
/usr/share/filebench/workloads/makedirs.f
/usr/share/filebench/workloads/mongo.f
/usr/share/filebench/workloads/netsfs.f
/usr/share/filebench/workloads/networkfs.f
/usr/share/filebench/workloads/oltp.f
/usr/share/filebench/workloads/openfiles.f
/usr/share/filebench/workloads/randomfileaccess.f
/usr/share/filebench/workloads/randomread.f
/usr/share/filebench/workloads/randomrw.f
/usr/share/filebench/workloads/randomwrite.f
/usr/share/filebench/workloads/ratelimcopyfiles.f
/usr/share/filebench/workloads/removedirs.f
/usr/share/filebench/workloads/singlestreamread.f
/usr/share/filebench/workloads/singlestreamreaddirect.f
/usr/share/filebench/workloads/singlestreamwrite.f
/usr/share/filebench/workloads/singlestreamwritedirect.f
/usr/share/filebench/workloads/tpcso.f
/usr/share/filebench/workloads/varmail.f
/usr/share/filebench/workloads/videoserver.f
/usr/share/filebench/workloads/webproxy.f
/usr/share/filebench/workloads/webserver.f
/usr/share/man/man1/filebench.1.gz

References

Summary

In this tutorial we learn how to install filebench on Fedora 34 using yum and dnf.