sched: fair: Modify capacity margins for atoll

This is tuned to match energy model characteristics and scheduler
efficiency enhancements.

Change-Id: Ia60e1ea888457fa1c0c0273cdd4b0180f0a87abf
Co-authored-by: Diep Quynh <remilia.1505@gmail.com>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
fourteen
Alexander Winkowski 3 years ago committed by Jenna
parent 5ad6d9e894
commit 3b8d6ff03e
  1. 8
      kernel/sched/fair.c

@ -189,13 +189,13 @@ unsigned int capacity_margin = 1280;
/* Migration margins */
unsigned int sysctl_sched_capacity_margin_up[MAX_MARGIN_LEVELS] = {
[0 ... MAX_MARGIN_LEVELS-1] = 1078}; /* ~5% margin */
[0 ... MAX_MARGIN_LEVELS-1] = 1735}; /* ~41% margin */
unsigned int sysctl_sched_capacity_margin_down[MAX_MARGIN_LEVELS] = {
[0 ... MAX_MARGIN_LEVELS-1] = 1205}; /* ~15% margin */
[0 ... MAX_MARGIN_LEVELS-1] = 2844}; /* ~64% margin */
unsigned int sched_capacity_margin_up[NR_CPUS] = {
[0 ... NR_CPUS-1] = 1078}; /* ~5% margin */
[0 ... NR_CPUS-1] = 1735}; /* ~41% margin */
unsigned int sched_capacity_margin_down[NR_CPUS] = {
[0 ... NR_CPUS-1] = 1205}; /* ~15% margin */
[0 ... NR_CPUS-1] = 2844}; /* ~64% margin */
#ifdef CONFIG_SCHED_WALT
/* 1ms default for 20ms window size scaled to 1024 */

Loading…
Cancel
Save