|
Revision tags: v24.05, v24.09-pre, v24.05-rc1 |
|
| #
dfb2950f |
| 13-May-2024 |
Michal Berger <michal.berger@intel.com> |
scripts/check_format: Adjust bash code to adhere to shfmt v3.8.0
This bump ensures some of the obscure formatting bugs are finally squashed. All the adjustments introduced here adhere to what we alr
scripts/check_format: Adjust bash code to adhere to shfmt v3.8.0
This bump ensures some of the obscure formatting bugs are finally squashed. All the adjustments introduced here adhere to what we already try to enforce across the entire repo, but due to said bugs could not be implemented.
Remove SHFMT_NO_EDITORCONFIG since it's not supported in latest shfmt releases.
This patch doesn't introduce any functional change in the updated files.
Change-Id: Ia2b011b86c8fe12376c4a8455ee638473a9f7179 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23088 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
|
Revision tags: LTS, v24.01 |
|
| #
161ef3f5 |
| 24-Jan-2024 |
Michal Berger <michal.berger@intel.com> |
scripts/perf: Rename vhost_*master_core to vhost_*main_core
The initial implementation was based out of custom CI configuration which was not changed after the following commit:
https://review.spd
scripts/perf: Rename vhost_*master_core to vhost_*main_core
The initial implementation was based out of custom CI configuration which was not changed after the following commit:
https://review.spdk.io/gerrit/c/spdk/spdk/+/5353
So fix it now.
Change-Id: Ib5fcfc0d6535019c22066ccf36aabe6748c699e1 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21546 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v24.05-pre, v24.01-rc1 |
|
| #
b86184c5 |
| 13-Jan-2024 |
Michal Berger <michal.berger@intel.com> |
test/vhost: Add cpu gen wrapper around conf-generator
The goal here is to not use a static cpu configuration in vhost tests, but rather determine it dynamically based on the underlying topology.
Al
test/vhost: Add cpu gen wrapper around conf-generator
The goal here is to not use a static cpu configuration in vhost tests, but rather determine it dynamically based on the underlying topology.
Also, change vm[N]_node override var to VM[N]_NODE as existing implementation didn't really allow the user to override the node this way (since it was explicitly set by the conf-generator while constructing initial NUMA-aware setup).
Change-Id: I791afaa8ebbd77de85d1e29c2fa43d442c22cac8 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21420 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
| #
48945e3d |
| 14-Nov-2023 |
Michal Berger <michal.berger@intel.com> |
perf/vhost: Add nullglob,extglob opts
Previously conf-generator did depend on these being set by the scheduler/common.sh, but since the:
https://review.spdk.io/gerrit/c/spdk/spdk/+/19551
these wer
perf/vhost: Add nullglob,extglob opts
Previously conf-generator did depend on these being set by the scheduler/common.sh, but since the:
https://review.spdk.io/gerrit/c/spdk/spdk/+/19551
these were moved to autotest_common.sh. conf-generator is not meant to use it, so enable these opts directly inside of it.
Change-Id: I00a70250e2b240e27345a344848deb0fc406209e Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20581 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v23.09, v24.01-pre, v23.09-rc1, v23.05, v23.09-pre |
|
| #
cca7c14a |
| 08-May-2023 |
Michal Berger <michal.berger@intel.com> |
scripts/perf: Allow to override number of VMs to be pinned to nvme
Targeted for the vhost's TC3 use-case where single drive should be split along multiple VMs. E.g.:
# vm_count=2 ./conf-generator
scripts/perf: Allow to override number of VMs to be pinned to nvme
Targeted for the vhost's TC3 use-case where single drive should be split along multiple VMs. E.g.:
# vm_count=2 ./conf-generator -p disk # Generated automatically by conf-generator # NVMe Drives: 2 VM count: 2 0000:17:00.0,Nvme0,1,0 0000:18:00.0,Nvme1,1,1
vs
# vms_per_nvme=2 vm_count=2 ./conf-generator -p disk # Generated automatically by conf-generator # NVMe Drives: 1 VM count: 2 0000:17:00.0,Nvme0,2,0 1
Change-Id: I68ccaab896b763534cedbeac0331218b73cff454 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17982 Reviewed-by: Karol Latecki <karol.latecki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
|
Revision tags: v23.01.1, v23.01, v23.05-pre, v23.01-rc1, v22.01.2 |
|
| #
c1e9ed6d |
| 20-Oct-2022 |
Michal Berger <michal.berger@intel.com> |
perf/vhost: Auto generate VM cpu and disk map configs
The configuration is generated based on existing host's NUMA topology (as seen via sysfs) instead of a total number of cpus as it was done befor
perf/vhost: Auto generate VM cpu and disk map configs
The configuration is generated based on existing host's NUMA topology (as seen via sysfs) instead of a total number of cpus as it was done before. New logic attempts to load balance VMs and their cpus based on nvme drives' NUMA location. If there is no enough cpus left under the target node, all remaining nodes are checked. For the sake of the performance, cpus are not mixed between different numa nodes.
Disk map is created by mapping VMs to existing nvme drives based on their NUMA location. Extra VMs are assigned in bus order of the nvme drives.
SPDK cpus are split by matching the VM-to-nvme NUMA ratio. Static list can be defined as well to override this behavior.
https://trello.com/c/HSoRtQkO/401-deprecate-vhost-performance-python-helper-script
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: Ia63c6f9a472a685d252efd110eaba7b114a87d2c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12401 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
show more ...
|