From 0e0aabfd872bb4aee441dd1f0334939d6b993c1d Mon Sep 17 00:00:00 2001 From: David Esparza Date: Mon, 9 Oct 2023 15:07:51 -0600 Subject: [PATCH] metrics: removal of reference in the documentation to the dax test. This PR removes the reference in the documentation to the DAX subtest of the FIO benchmark, because this metric is currently WIP. Fixes: #8159 Signed-off-by: David Esparza (cherry picked from commit 89c9454fca441bc2f03b72ac8c42dfa92063e0f1) Signed-off-by: Greg Kurz --- tests/metrics/storage/README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/metrics/storage/README.md b/tests/metrics/storage/README.md index 305c7e227d..cb9e3c8b62 100644 --- a/tests/metrics/storage/README.md +++ b/tests/metrics/storage/README.md @@ -16,12 +16,16 @@ $ bash storage/blogbench.sh ``` ## `fio` test -The `fio` test utilises the [fio tool](https://github.com/axboe/fio), configured -to perform measurements upon a single test file. +The `fio` test utilizes the [fio tool](https://github.com/axboe/fio), configured to perform measurements upon a single test file. -The test configuration used by the script can be modified by setting a number of -environment variables to change or over-ride the test defaults. +The test spawns 8 jobs that exercise the I/O types `sequential read`, `random read`, `sequential write` and `random write`, while collecting +data using a block size of 4 Kb, an I/O depth of 2, and uses the `libaio` engine on a workload with a size of 10 gigabytes for a period of +10 seconds on each I/O type. -## DAX `virtio-fs` `fio` Kubernetes tests +The results show the average bandwidth and average number of IOPS per I/O type in JSON format. -[Test](fio-k8s/README.md) to compare the use of DAX option in `virtio-fs`. +The `fio` test can be run by hand, for example: +``` +$ cd metrics +$ bash storage/fio_test.sh +```