All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] The parameter max_qpairs_per_ctrlr is misleading
@ 2020-04-30  3:58 Wenhua Liu
  0 siblings, 0 replies; only message in thread
From: Wenhua Liu @ 2020-04-30  3:58 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

When creating nvmf transport using command “rpc.py nvmf_create_transport”, there is a parameter max_qpairs_per_ctrlr. It means number of IO queues plus admin queue per controller. But when people talk about number of queues, usually it means number of IO queues. When someone creates nvmf transport, if he/she knows what max_qpairs_per_ctrlr mean and wants to have 8 IO queues, he/she will set this parameter to 9. If given 8, he/she will get only 7 IO queues.

In the worst case, if someone gives one to this parameter, he won’t get any IO queue !!!

I would suggest SPDK NVMF target changes the definition of this parameter and treat it as number of IO queues. Internally, SPDK should allow one extra qpair be created for admin queue.

Thanks,
-Wenhua Liu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-30  3:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  3:58 [SPDK] The parameter max_qpairs_per_ctrlr is misleading Wenhua Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.