See also notes on 'cpu.upmigrate_discourage' tunable.
-*** 7.6 sched_enable_power_aware
-
-Appears at: /proc/sys/kernel/sched_enable_power_aware
-
-Default value: 0
-
-Controls whether or not per-CPU power values are used in determining
-task placement. If this is disabled, tasks are simply placed on the
-least capacity CPU that will adequately meet the task's needs as
-determined by the task load tracking mechanism. If this is enabled,
-after a set of CPUs are determined which will meet the task's
-performance needs, a CPU is selected which is reported to have the
-lowest power consumption at that time.
-
-*** 7.7 sched_ravg_hist_size
+*** 7.6 sched_ravg_hist_size
Appears at: /proc/sys/kernel/sched_ravg_hist_size
This tunable controls the number of samples used from task's sum_history[]
array for determination of its demand.
-*** 7.8 sched_window_stats_policy
+*** 7.7 sched_window_stats_policy
Appears at: /proc/sys/kernel/sched_window_stats_policy
samples), where M = sysctl_sched_ravg_hist_size
3. Use average of first M samples, where M = sysctl_sched_ravg_hist_size
-*** 7.9 sched_ravg_window
+*** 7.8 sched_ravg_window
Appears at: kernel command line argument
currently be set at boot time on the kernel command line (or the
default value of 10ms can be used).
-*** 7.10 RAVG_HIST_SIZE
+*** 7.9 RAVG_HIST_SIZE
Appears at: compile time only (see RAVG_HIST_SIZE in include/linux/sched.h)
both this and sched_ravg_window then a total of 50ms of task history
would be maintained in 5 10ms windows.
-*** 7.11 sched_migration_fixup
+*** 7.10 sched_migration_fixup
Appears at: /proc/sys/kernel/sched_migration_fixup
This controls whether a cpu's busy time counters are adjusted during task
migration.
-*** 7.12 sched_freq_inc_notify
+*** 7.11 sched_freq_inc_notify
Appears at: /proc/sys/kernel/sched_freq_inc_notify
by scheduler to meet current task demand. Note that sched_freq_inc_notify is
specified in kHz units.
-*** 7.13 sched_freq_dec_notify
+*** 7.12 sched_freq_dec_notify
Appears at: /proc/sys/kernel/sched_freq_dec_notify
by scheduler to meet current task demand. Note that sched_freq_dec_notify is
specified in kHz units.
-*** 7.14 sched_heavy_task
+*** 7.13 sched_heavy_task
Appears at: /proc/sys/kernel/sched_heavy_task
wakeup after at least one window of sleep, where window size is defined by
sched_ravg_window. Value 0 will disable this feature.
-*** 7.15 sched_cpu_high_irqload
+*** 7.14 sched_cpu_high_irqload
Appears at: /proc/sys/kernel/sched_cpu_high_irqload
described above, causing the scheduler to try and steer tasks away from
the CPU.
-*** 7.16 cpu.upmigrate_discourage
+*** 7.15 cpu.upmigrate_discourage
Default value : 0
how overcommitment threshold is defined and also notes on
'sched_upmigrate_min_nice' tunable.
-*** 7.17 sched_static_cpu_pwr_cost
+*** 7.16 sched_static_cpu_pwr_cost
Default value: 0
needed.
-*** 7.18 sched_static_cluster_pwr_cost
+*** 7.17 sched_static_cluster_pwr_cost
Default value: 0
the worst case power cost of the highest D-state. It is means of biasing task
placement away from idle clusters when necessary.
-*** 7.19 sched_early_detection_duration
+*** 7.18 sched_early_detection_duration
Default value: 9500000
under scheduler boost. For more information on the feature itself please
refer to section 5.2.1.
-*** 7.20 sched_restrict_cluster_spill
+*** 7.19 sched_restrict_cluster_spill
Default value: 0
restricted to the lowest possible power cluster.
-*** 7.21 sched_downmigrate
+*** 7.20 sched_downmigrate
Appears at: /proc/sys/kernel/sched_downmigrate
(sched_downmigrate).
-*** 7.22 sched_small_wakee_task_load
+*** 7.21 sched_small_wakee_task_load
Appears at: /proc/sys/kernel/sched_small_wakee_task_load
waker's cluster.
-*** 7.23 sched_big_waker_task_load
+*** 7.22 sched_big_waker_task_load
Appears at: /proc/sys/kernel/sched_big_waker_task_load
unsigned int __read_mostly sysctl_sched_spill_nr_run = 10;
/*
- * Control whether or not individual CPU power consumption is used to
- * guide task placement.
- * This sysctl can be set to a default value using boot command line arguments.
- */
-unsigned int __read_mostly sysctl_sched_enable_power_aware = 0;
-
-/*
* Place sync wakee tasks those have less than configured demand to the waker's
* cluster.
*/
struct rq *rq = cpu_rq(cpu);
unsigned int pc;
- if (!per_cpu_info || !per_cpu_info[cpu].ptable ||
- !sysctl_sched_enable_power_aware)
+ if (!per_cpu_info || !per_cpu_info[cpu].ptable)
/* When power aware scheduling is not in use, or CPU
* power data is not available, just use the CPU
* capacity as a rough stand-in for real CPU power
#else /* CONFIG_SCHED_HMP */
-#define sysctl_sched_enable_power_aware 0
-
struct cpu_select_env;
struct sched_cluster;