From 9d120bcdbcac889aede4c7d688501bda4db1e262 Mon Sep 17 00:00:00 2001 From: Kurt McMillan Date: Mon, 19 Jan 2026 18:47:28 +0000 Subject: [PATCH 1/2] docs: Document how to use fio with hipfile --- docs/fio.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/fio.rst diff --git a/docs/fio.rst b/docs/fio.rst new file mode 100644 index 00000000..6e5cb68b --- /dev/null +++ b/docs/fio.rst @@ -0,0 +1,25 @@ +fio +=== + +A hipfile engine has been added to the ROCm fork of fio: +https://github.com/ROCm/fio/tree/hipFile + +To build fio with hipfile support use the following: :: + + $ cd ~ + $ git clone git@github.com:ROCm/hipFile.git + $ mkdir hipFile/build; cd hipFile/build + $ cmake .. && cmake --build . -j + + $ cd ~ + $ git clone git@github.com:ROCm/fio.git + $ cd fio && git checkout origin/hipFile + $ HIPFILE=$HOME/hipFile \ + CFLAGS="-I/opt/rocm/include -I$HIPFILE/include" \ + LDFLAGS="-L/opt/rocm/lib -L$HIPFILE/build/src/amd_detail -Wl,-rpath,$HIPFILE/build/src/amd_detail" \ + ./configure --enable-libhipfile + $ make -j + +Use the example workload file from the fio repository: :: + + $ GPU_DEV_IDS=0 FIO_DIR=PATH_TO_EXT_OR_XFS_DIRECTORY ~/fio/fio ~/fio/examples/libhipfile-hipfile.fio From da477e01ff05e27b875c8e41e152e3607cf6c304 Mon Sep 17 00:00:00 2001 From: Kurt McMillan Date: Mon, 19 Jan 2026 20:22:21 +0000 Subject: [PATCH 2/2] fixup: EXT -> EXT4 --- docs/fio.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fio.rst b/docs/fio.rst index 6e5cb68b..d35221af 100644 --- a/docs/fio.rst +++ b/docs/fio.rst @@ -22,4 +22,4 @@ To build fio with hipfile support use the following: :: Use the example workload file from the fio repository: :: - $ GPU_DEV_IDS=0 FIO_DIR=PATH_TO_EXT_OR_XFS_DIRECTORY ~/fio/fio ~/fio/examples/libhipfile-hipfile.fio + $ GPU_DEV_IDS=0 FIO_DIR=PATH_TO_EXT4_OR_XFS_DIRECTORY ~/fio/fio ~/fio/examples/libhipfile-hipfile.fio