1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-09 17:07:33 +00:00
kata-containers/tests/metrics/storage
David Esparza 873386a349
metrics: update iodepth and job size fio parameters to improve workload
This PR updates the values of the fio parameters for iodepth
requests and for the number of jobs, in order to increase the
number of sequential operations.

Additionally, it adds the list of packages needed to parse the
results.

Fixes: 

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
2023-10-30 08:43:06 -06:00
..
blogbench_dockerfile metrics: Update blogbench Dockerfile 2023-07-12 20:37:27 +00:00
fio-dockerfile metrics: update iodepth and job size fio parameters to improve workload 2023-10-30 08:43:06 -06:00
web-tooling-dockerfile metrics: Adds blogbench and webtool metrics tests 2023-07-04 14:38:52 -06:00
blogbench.sh metrics: stop hypervirsor and shim at init_env stage 2023-07-18 12:05:29 -06:00
fio_test.sh metrics: update iodepth and job size fio parameters to improve workload 2023-10-30 08:43:06 -06:00
README.md metrics: removal of reference in the documentation to the dax test. 2023-10-10 15:55:59 -06:00
webtooling.sh metrics: Adds blogbench and webtool metrics tests 2023-07-04 14:38:52 -06:00

Kata Containers storage I/O tests

The metrics tests in this directory are designed to be used to assess storage IO.

Blogbench test

The blogbench script is based on the blogbench program which is designed to emulate a busy blog server with a number of concurrent threads performing a mixture of reads, writes and rewrites.

Running the blogbench test

The blogbench test can be run by hand, for example:

$ cd metrics
$ bash storage/blogbench.sh

fio test

The fio test utilizes the fio tool, configured to perform measurements upon a single test file.

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.

The results show the average bandwidth and average number of IOPS per I/O type in JSON format.

The fio test can be run by hand, for example:

$ cd metrics
$ bash storage/fio_test.sh