perf/vhost: Add io_uring related options to fio configuration
https://trello.com/c/EFPM29gq/399-use-iouring-in-vhost-performance-tests Signed-off-by: Michal Berger <michallinuxstuff@gmail.com> Change-Id: I9bf8d9a121ffc1f52273fbe863bf9918e7399e59 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12428 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
008f8a8617
commit
0ee37d256a
@ -8,13 +8,24 @@ source "$rootdir/test/vhost/common.sh"
|
||||
fio_conf() {
|
||||
cat <<- FIO
|
||||
[global]
|
||||
ioengine=libaio
|
||||
ioengine=${ioengine:-libaio}
|
||||
thread=1
|
||||
group_reporting=1
|
||||
direct=1
|
||||
verify=0
|
||||
norandommap=1
|
||||
FIO
|
||||
|
||||
if [[ $ioengine == io_uring ]]; then
|
||||
cat <<- FIO_URING
|
||||
fixedbufs=${fixedbufs:-1}
|
||||
hipri=${hipri:-1}
|
||||
registerfiles=${registerfiles:-1}
|
||||
sqthread_poll=${sqthread_poll:-1}
|
||||
FIO_URING
|
||||
fi
|
||||
|
||||
cat <<- FIO
|
||||
[perf_test]
|
||||
stonewall
|
||||
description="Vhost performance test for a given workload"
|
||||
|
Loading…
Reference in New Issue
Block a user