From 2cae754c42a731f57b427fb314edf67de5fdaa96 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Tue, 8 Dec 2020 11:33:09 +0100 Subject: [PATCH] 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 Change-Id: I1fbc62b88e1726f4ea1569c6ee6997164a9d09a6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5475 Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki Community-CI: Mellanox Build Bot --- test/nvme/perf/common.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/nvme/perf/common.sh b/test/nvme/perf/common.sh index 31ce5c736..476c2652a 100755 --- a/test/nvme/perf/common.sh +++ b/test/nvme/perf/common.sh @@ -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