Commit 5595a7ca authored by Jim Harris's avatar Jim Harris Committed by Ben Walker
Browse files

test/qos: adjust qos test parameters



Use 512 byte reads (instead of 8KB) to ensure we can
hit the expected IOPs rate.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I204dda9bf5cc168a3f080e6716cacc71fd8952cd

Reviewed-on: https://review.gerrithub.io/423583


Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarGangCao <gang.cao@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent b30a59d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ function check_qos_works_well() {
	local retval=0

	start_io_count=$($rpc_py get_bdevs_iostat -b $3 | jq -r '.[1].num_read_ops')
	$fio_py 8192 64 randread 5
	$fio_py 512 64 randread 5
	end_io_count=$($rpc_py get_bdevs_iostat -b $3 | jq -r '.[1].num_read_ops')

	read_iops=$(((end_io_count-start_io_count)/5))
@@ -44,7 +44,7 @@ fi
timing_enter qos

MALLOC_BDEV_SIZE=64
MALLOC_BLOCK_SIZE=4096
MALLOC_BLOCK_SIZE=512
IOPS_LIMIT=20000
rpc_py="python $rootdir/scripts/rpc.py"
fio_py="python $rootdir/scripts/fio.py"