test/nvme_perf: add fio options for io_uring

io_uring engine benefits a lot from these options
for better results.

Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Change-Id: I1fbc62b88e1726f4ea1569c6ee6997164a9d09a6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5475
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
This commit is contained in:
Karol Latecki 2020-12-08 11:33:09 +01:00 committed by Tomasz Zawadzki
parent 1fae3687df
commit 2cae754c42

View File

@ -227,6 +227,15 @@ function create_fio_config() {
echo "gtod_reduce=1" >> $testdir/config.fio
fi
if [[ $PLUGIN =~ "uring" ]]; then
cat <<- EOF >> $testdir/config.fio
fixedbufs=1
hipri=1
registerfiles=1
sqthread_poll=1
EOF
fi
if [[ "$IO_BATCH_SUBMIT" -gt 0 ]]; then
echo "iodepth_batch_submit=$IO_BATCH_SUBMIT" >> $testdir/config.fio
fi