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: Jim 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: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Jim Harris 2018-08-27 13:51:55 -07:00 committed by Ben Walker
parent b30a59d624
commit 5595a7cad7

View File

@ -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"