From 617a7303f5244d957baae8dec07297540c9ad698 Mon Sep 17 00:00:00 2001 From: wanghailiangx Date: Wed, 1 Jun 2022 21:47:02 -0400 Subject: [PATCH] perf_adq: Increase number of io queues per namespace. Increase this -P(num-qpairs) value a bit to make the test run more stable. Fixes #2539 Change-Id: If38281ab490a53387fd97d7a63d0413d5bd4c191 Signed-off-by: wanghailiangx Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12859 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Changpeng Liu --- test/nvmf/target/perf_adq.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/nvmf/target/perf_adq.sh b/test/nvmf/target/perf_adq.sh index d6d2439cb..b83350711 100755 --- a/test/nvmf/target/perf_adq.sh +++ b/test/nvmf/target/perf_adq.sh @@ -151,9 +151,9 @@ pre_conf_for_adq traffic_classes start_nvmf_target 0xF sleep 2 -# The number of I/O connections from initiator is the core count * qpairs per ns, so here its 6. -# ADQ on target side will work if 6 connections are matched to two out of four cores on the target. -$perf -q 64 -o 4096 -w randread -t 15 -P 2 -c 0x70 \ +# The number of I/O connections from initiator is the core count * qpairs per ns, so here its 12. +# ADQ on target side will work if 12 connections are matched to two out of four cores on the target. +$perf -q 64 -o 4096 -w randread -t 15 -P 4 -c 0x70 \ -r "trtype:${TEST_TRANSPORT} adrfam:IPv4 traddr:${NVMF_FIRST_TARGET_IP} trsvcid:${NVMF_PORT} \ subnqn:nqn.2016-06.io.spdk:cnode1" & perfpid=$!