cc439ec2eb
Add the python script that we use to run NVMe driver performance test for different workloads. The scripts outputs a csv file that you can import to Excel and plot performance for different qd, rw mix & io size. The sh script performs the prework and then calls the py script. Change-Id: Id6fd0ff28221d8cf8b2c8a77e47288f9739341fc Signed-off-by: John Kariuki <John.K.Kariuki@intel.com> Reviewed-on: https://review.gerrithub.io/363315 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
20 lines
656 B
Bash
Executable File
20 lines
656 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../../..)
|
|
|
|
# Bind devices to NVMe driver
|
|
$rootdir/scripts/setup.sh
|
|
|
|
# Run Performance Test with 1 SSD
|
|
python $testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/examples/nvme/fio_plugin/fio_plugin 1
|
|
|
|
# 2 SSDs test run
|
|
python $testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/examples/nvme/fio_plugin/fio_plugin 2
|
|
|
|
# 4 SSDs test run
|
|
python $testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/examples/nvme/fio_plugin/fio_plugin 4
|
|
|
|
# 8 SSDs test run
|
|
python $testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/examples/nvme/fio_plugin/fio_plugin 8
|