scheduler/dynamic: reduce SCHEDULER_CORE_LIMIT to 80%

This will lead the scheduler to be quicker to move
threads to an unused core - favoring performance over
power savings.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ibaa5edc61a4bdca5550bd23a562c3645fded25e9

Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9551
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Jim Harris 2021-09-20 09:55:13 -07:00 committed by Tomasz Zawadzki
parent bcff088852
commit 6c3728e958

View File

@ -52,7 +52,7 @@ struct core_stats {
static struct core_stats *g_cores;
#define SCHEDULER_LOAD_LIMIT 20
#define SCHEDULER_CORE_LIMIT 95
#define SCHEDULER_CORE_LIMIT 80
#define SCHEDULER_CORE_BUSY 95
static uint8_t