2017-05-30 22:46:04 +00:00
|
|
|
#!/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
|
2020-05-28 18:39:36 +00:00
|
|
|
$testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/build/fio/spdk_nvme 1
|
2017-05-30 22:46:04 +00:00
|
|
|
|
|
|
|
# 2 SSDs test run
|
2020-05-28 18:39:36 +00:00
|
|
|
$testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/build/fio/spdk_nvme 2
|
2017-05-30 22:46:04 +00:00
|
|
|
|
|
|
|
# 4 SSDs test run
|
2020-05-28 18:39:36 +00:00
|
|
|
$testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/build/fio/spdk_nvme 4
|
2017-05-30 22:46:04 +00:00
|
|
|
|
|
|
|
# 8 SSDs test run
|
2020-05-28 18:39:36 +00:00
|
|
|
$testdir/run_fio_test.py $testdir/fio_test.conf $rootdir/build/fio/spdk_nvme 8
|