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> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
Makefile |