numam-spdk/module/scheduler
Tomasz Zawadzki f8a961f5ea scheduler_dynamic: prioritize g_main_lcore during _find_optimal_core
_find_optimal_core was always consolidating idle threads to g_main_lcore.
Meanwhile for active threads lower lcore id were prioritized over the
higher ones.

So long as g_main_lcore can fit the active thread, it should be prioritized
over any other. Regardless of the lcore id.

Fix #2080

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I30b3a7353bcf243d4362b4db9dde5446c435d675
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9243
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2021-10-12 09:10:32 +00:00
..
dpdk_governor scheduler: create public API and subsystem for scheduler/governor 2021-09-07 07:33:03 +00:00
dynamic scheduler_dynamic: prioritize g_main_lcore during _find_optimal_core 2021-10-12 09:10:32 +00:00
gscheduler scheduler: create public API and subsystem for scheduler/governor 2021-09-07 07:33:03 +00:00
Makefile scheduler_dynamic: change directory name to just "dynamic" 2021-09-22 13:52:21 +00:00