sched: set HMP scheduler's default initial task load to 100%
Set init_task_load to 100% to allow new tasks to wake up on the best performance CPUs. Change-Id: Ie762a3f629db554fb5cfa8c1d7b8b2391badf573 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
This commit is contained in:
parent
44af3b5e03
commit
28f67e5a50
2 changed files with 2 additions and 2 deletions
|
@ -1101,7 +1101,7 @@ tasks - they may be woken up on busy CPUs.
|
|||
|
||||
Appears at: /proc/sys/kernel/sched_init_task_load
|
||||
|
||||
Default value: 15
|
||||
Default value: 100
|
||||
|
||||
This tunable is a percentage. When a task is first created it has no
|
||||
history, so the task load tracking mechanism cannot determine a
|
||||
|
|
|
@ -2675,7 +2675,7 @@ static inline void decay_scaled_stat(struct sched_avg *sa, u64 periods);
|
|||
/* Initial task load. Newly created tasks are assigned this load. */
|
||||
unsigned int __read_mostly sched_init_task_load_pelt;
|
||||
unsigned int __read_mostly sched_init_task_load_windows;
|
||||
unsigned int __read_mostly sysctl_sched_init_task_load_pct = 15;
|
||||
unsigned int __read_mostly sysctl_sched_init_task_load_pct = 100;
|
||||
|
||||
static inline unsigned int task_load(struct task_struct *p)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue