[SPDK] Re: Why two perf processes can't scale out?
645505358 at qq.com Tue, 10 May 2022 15:43:43 +0000
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <[email protected]> |
--===============9179501573628433607== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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:RDMA = adrfam:IPv4 traddr:192.168.2.86 trsvcid:5120 subnqn:nqn.2016-06.io.spdk:cno= de2" 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_qpa= ir (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. --===============9179501573628433607==--