[SPDK] Re: Why two perf processes can't scale out?

Harris, James R <james.r.harris at intel.com> Wed, 11 May 2022 16:34:37 +0000
Newsgroups dev.linux.lists.spdk
Message-ID <[email protected]>
--===============6655614346083063554==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Each perf process creates its own controller when connecting to the remote =
target.  Each controller has its own admin queue (qid 0).

-Jim


=EF=BB=BFOn 5/10/22, 11:52 PM, "645505358(a)qq.com" <645505358(a)qq.com> wr=
ote:

    Hi,
    I have another question.
    I run two perf processes with the command line:
    "./build/examples/nvmf_perf -w write -q 1  -o 131072 -t 60 -r "trtype:R=
DMA adrfam:IPv4 traddr:192.168.2.86 trsvcid:5120 subnqn:nqn.2016-06.io.spdk=
:cnode2" and designate lcore with -c 0x5 in the second process.
    I found that both of them use the same qpair.
    Sepcifically, I print out the qpair ID in function nvme_ctrlr_create_io=
_qpair (i.e., qid =3D spdk_nvme_ctrlr_alloc_qid(ctrlr) ).
    Both of them use the qpair with ID equal to 0.
    So, why do they use the same qpair ? =

    Will this cause resource competition?

    Thanks.
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org


--===============6655614346083063554==--