From 9e751eb5cb8c566b843da982368317844ef3cfb9 Mon Sep 17 00:00:00 2001 From: tytydraco <74150843+CBG-leeco@users.noreply.github.com> Date: Thu, 25 Jul 2024 05:44:26 +0530 Subject: [PATCH] sched: Do not reduce perceived CPU capacity while idle CPUs that are idle are excellent candidates for latency sensitive or high-performance tasks. Decrementing their capacity while they are idle will result in these CPUs being chosen less, and they will prefer to schedule smaller tasks instead of large ones. Disable this. Signed-off-by: Tyler Nijmeh Signed-off-by: clarencelol Signed-off-by: Tashfin Shakeer Rhythm --- kernel/sched/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index f1bf5e12d..54441ed83 100755 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -43,7 +43,7 @@ SCHED_FEAT(DOUBLE_TICK, false) /* * Decrement CPU capacity based on time not spent running tasks */ -SCHED_FEAT(NONTASK_CAPACITY, true) +SCHED_FEAT(NONTASK_CAPACITY, false) /* * Queue remote wakeups on the target CPU and process them