[SPDK] Re: Why two perf processes can't scale out?
Cao, Gang <gang.cao at intel.com> Wed, 11 May 2022 08:11:42 +0000
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <PH0PR11MB5014A60AE549BABDE86EF12D83C89@PH0PR11MB5014.namprd11.prod.outlook.com> |
--===============7165184873089244162== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable These are two separate SPDK processes (nvmf_perf) and running on different = cores. Each SPDK process will create its own qpair and have its own qpair ID. This= resource is visible only for its own SPDK process. -----Original Message----- From: 645505358(a)qq.com <645505358(a)qq.com> = Sent: Tuesday, May 10, 2022 23:44 To: spdk(a)lists.01.org Subject: [SPDK] Re: Why two perf processes can't scale out? 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. _______________________________________________ SPDK mailing list -- spdk(a)lists.01.org To unsubscribe send an email to spdk-leave(a)lists.01.org --===============7165184873089244162==--