Benchmark hipFile with fio#
fio is a flexible I/O tester commonly used for storage benchmarking. AMD maintains a fork at ROCm/fio that adds a libhipfile engine, letting you drive hipFile I/O workloads from fio job files. This page explains how to build the fork, configure it against a local hipFile build, and run an example workload.
Before you begin, install hipFile by following the steps in Install hipFile. The instructions below assume hipFile has been built but not necessarily installed system-wide.
To build the ROCm fio fork with the libhipfile engine, use the following commands:
git clone https://github.com/ROCm/fio.git
cd fio
git checkout hipFile
mkdir build && cd build
../configure --enable-libhipfile
make -j
make install
The resulting fio binary in the current directory includes the libhipfile I/O engine.