numam-spdk/test/vhost
Karol Latecki 6df2fa8c2e test/vhost_perf: refactor test scripts to use disk map
Use provided configuration file via --disk-map option
instead of creating bdevs and VMs in ordered sequence
(e.g. 0 to 10, etc.).

This allows to:
- specify which NVMe device we want to use
  (PCI BDF identifier)
- how to name it in  SPDK nvme bdev configuration
- how many splits or lvol bdevs to create on this device
- which VMs should use created bdevs

With CPU mask configuration file this allows to better
control resources when running the test (especially in
case of NUMA optimization where using sequential for/while
loops is not a good approach).

vm_count and max_disks parameters removed. These are not
needed anymore as they're controlled by config file.

Example of config file contents:
(BDF,Spdk NvmeBdev name,Split count,VM list)
0000:1b:00.0,Nvme1,2,2 3
0000:89:00.0,Nvme3,4,4 5 6 7

Change-Id: I9fc73458825d8072537aa04880765a048e034ce4
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464565
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-01-24 15:13:00 +00:00
..
common vhost: Delete scripts for manual testing 2019-05-16 11:16:30 +00:00
fio test: fix uses of deprecated RPCs 2019-11-07 22:55:38 +00:00
fiotest test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
fuzz test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
hotplug test/vhost: Fix. vm_run takes vm numbers as separate arguments. 2020-01-13 12:45:04 +00:00
initiator test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
integrity test/vhost: fix parted error 2020-01-15 14:28:51 +00:00
lvol test: Shellcheck - correct rule: $/${} is unnecessary on arithmetic variables. 2019-11-07 23:04:10 +00:00
migration test: eliminate case and suite from run_test 2019-12-24 08:24:42 +00:00
other rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
perf_bench test/vhost_perf: refactor test scripts to use disk map 2020-01-24 15:13:00 +00:00
readonly test: Shellcheck - correct rule: Word is on the form... 2019-11-13 15:03:11 +00:00
shared rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
vhost_boot test: fix error when running vhost_test.sh 2020-01-10 08:47:01 +00:00
windows test: Shellcheck - apply rule SC2155 2019-11-12 18:14:59 +00:00
common.sh test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
manual.sh test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
vhost.sh test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00