+102
−0
+3
−1
+3
−1
+7
−3
Loading
This is useful for testing purposes, to place specific spdk_threads on specific cores. Specified core must be in the thread's cpumask. Usage: scripts/rpc.py framework_set_scheduler --mappings='2:0,5:1' This will move thread 2 to core 0 and thread 5 to core 1. Note: checking for failure when setting core-limit parameter on static scheduler has been removed. The whole mechanism for determine which optional parameters are accepted for different schedulers needs to be rethought, the current mechanism is not really working. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I16000805b8e2512f7ec6d84ee812d32bfcb2fd6d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24766 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Anisa Su <anisa.su@samsung.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>