Spdk/scripts/perf/nvme
paul luse eb53c23236 add (c) and SPDX header to bash files as needed
per Intel policy to include file commit date using git cmd
below.  The policy does not apply to non-Intel (C) notices.

git log --follow -C90% --format=%ad --date default <file> | tail -1

and then pull just the year from the result.

Intel copyrights were not added to files where Intel either had
no contribution ot the contribution lacked substance (ie license
header updates, formatting changes, etc)

For intel copyrights added, --follow and -C95% were used.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I2ef86976095b88a9bf5b1003e59f3943cd6bbe4c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15209
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-11-29 08:27:51 +00:00
..
fio_test.conf nvme/fio_test: add nvme performance test scripts 2017-06-20 15:08:34 -04:00
README scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
run_fio_test.py add (c) and SPDX header to python files as needed 2022-11-10 08:28:53 +00:00
run_fio_test.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00

These scripts are used to perform benchmark testing with fio.
The run_fio_test.py is the main script that runs the performance test and parses the test results.
Users can populate test parameters for different fio workloads in the lists (q_depth, io_size, workload_type, mix, core_mask and run_time) at the top of the run_fio_test.py script.
The run_fio_test.py puts the test results in a csv file named <hostname>_<num ssds>_perf_output.csv.
The run_fio_test.sh script demonstrates how to invoke the run_fio_test.py script with the
input parameters: path_to_fio_conf, path_to_ioengine and num_ssds. The run_fio_test.sh script will
call the SPDK setup.sh script to unbind NVMe devices from the kernel driver and bind them to the uio driver.
We include a sample fio configuration file that includes the parameters we use in our test environment.
The run_fio_test.py will append the NVMe devices to the end of the configuration file. The number of
NVMe devices used is specified using the num_ssds parameter.

Usage: ./run_fio_test.sh