Spdk/examples/nvme
Jim Harris f353506f1c examples/nvme/perf: increase opts.num_io_queues when needed
By default we specify 1024 max_io_queues per controller.
But it's possible we need more for high connection count
use cases (i.e. -c 0xFF -P 512 which is 8 * 512 = 4096).
So dynamically configure opts.num_io_queues based on
the corresponding values.

Note: we have to change a couple of globals from int to
uint32_t to avoid signed v. unsigned comparison warnings.
Let's just do that in this patch instead of a separate
one.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Iba2d670c224a91e50377e622b154ce43eed94002
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17621
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2023-05-09 17:58:11 +08:00
..
abort examples/abort: check process_completions()'s status 2023-02-13 13:50:15 +00:00
arbitration update Intel copyright notices 2022-11-10 08:28:53 +00:00
cmb_copy update Intel copyright notices 2022-11-10 08:28:53 +00:00
discovery_aer update Intel copyright notices 2022-11-10 08:28:53 +00:00
fio_plugin update Intel copyright notices 2022-11-10 08:28:53 +00:00
hello_world update Intel copyright notices 2022-11-10 08:28:53 +00:00
hotplug hotplug: let device insertions/removals take priority 2023-01-09 11:16:50 +00:00
identify nvmf: add copy command support in get log page 2023-03-27 11:25:35 +00:00
nvme_manage nvme: support 64 LBA formats for NVM and ZNS command set 2023-02-15 10:37:56 +00:00
perf examples/nvme/perf: increase opts.num_io_queues when needed 2023-05-09 17:58:11 +08:00
pmr_persistence check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
reconnect update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00