Spdk/examples
Shuhei Matsumoto 8e373044bf bdevperf: Create and use per lcore thread pool
If bdevperf runs with -C option and two or more NVMe bdevs,
two or more poll groups are created on each CPU core because bdevperf
creates one SPDK thread per job per CPU core in this case.

However, generally SPDK application creates one SPDK thread per CPU
core. We want bdevperf to immitate closely generic SPDK application
pattern.

For this requirement, create a thread poll made of per core threads.
Then, each job gets one of the threads whose lcore matches instead of
creating a new thread.

This feature is available only if bdevperf's config file is not used
because bdevperf's config file can specify cpumap per job.

Fixes issue #2933

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: I0bd5a72f9ee8deade6c4e8ca0cdea3c89ff2541f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16994
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2023-03-08 08:46:29 +00:00
..
accel examples/accel/perf: add support for xor 2023-02-21 08:33:18 +00:00
bdev bdevperf: Create and use per lcore thread pool 2023-03-08 08:46:29 +00:00
blob add Intel copyright notices (and/or SPDX lic) where missing 2022-11-10 08:28:53 +00:00
idxd example/idxd_perf: Adjust the printing data spacing to make it beautiful 2023-01-16 15:19:54 +00:00
interrupt_tgt Add SPDX header to various files 2022-11-29 08:27:51 +00:00
ioat update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme example/perf: add --use-every-core 2023-03-03 11:18:59 +00:00
nvmf examples/nvmf: explicitly set the initial value for local variables 2022-12-13 09:26:18 +00:00
sock examples/sock: close the right sock object 2022-12-16 09:26:11 +00:00
util add Intel copyright notices (and/or SPDX lic) where missing 2022-11-10 08:28:53 +00:00
vmd examples/vmd: Add nvme library to VMD example apps 2022-12-05 09:35:14 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00