summaryrefslogtreecommitdiff
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-05-25 11:27:35 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-01 15:21:18 -0700
commit462213d1ac46410c42a48054bd2a149dd48109a3 (patch)
treeb6fd31190a91a749a058a525187f1506ba076299 /Documentation/scheduler
parent5160d93b6dc93a863c22f242f3ea4c8ae6c08076 (diff)
sched: eliminate sched_freq_account_wait_time knob
Kill unused scheduler knob sched_freq_account_wait_time. Change-Id: Ib74123ebd69dfa3f86cf7335099f50c12a6e93c3 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'Documentation/scheduler')
-rw-r--r--Documentation/scheduler/sched-zone.txt43
1 files changed, 16 insertions, 27 deletions
diff --git a/Documentation/scheduler/sched-zone.txt b/Documentation/scheduler/sched-zone.txt
index 52146f1d71ed..b422a6e731ce 100644
--- a/Documentation/scheduler/sched-zone.txt
+++ b/Documentation/scheduler/sched-zone.txt
@@ -920,7 +920,7 @@ The above counters are resued for nt_curr_runnable_sum and
nt_prev_runnable_sum.
"cpu demand" of a task includes its execution time and can also include its
-wait time. 'sched_freq_account_wait_time' tunable controls whether task's wait
+wait time. 'SCHED_FREQ_ACCOUNT_WAIT_TIME' controls whether task's wait
time is included in its 'curr_window' and 'prev_window' counters or not.
Needless to say, curr_runnable_sum counter of a cpu is derived from curr_window
@@ -934,7 +934,7 @@ PICK_NEXT_TASK
This represents beginning of execution for a task. Provided the task
refers to a non-idle task, a portion of task's wait time that
corresponds to the current window being tracked on a cpu is added to
- task's curr_window counter, provided sched_freq_account_wait_time is
+ task's curr_window counter, provided SCHED_FREQ_ACCOUNT_WAIT_TIME is
set. The same quantum is also added to cpu's curr_runnable_sum counter.
The remaining portion, which corresponds to task's wait time in previous
window is added to task's prev_window and cpu's prev_runnable_sum
@@ -969,7 +969,7 @@ TASK_MIGRATE
this event reflects actions taken under PICK_NEXT_TASK (i.e its
wait time is added to task's curr/prev_window counters as well
as src_cpu's curr/prev_runnable_sum counters, provided
- sched_freq_account_wait_time tunable is non-zero). After that update,
+ SCHED_FREQ_ACCOUNT_WAIT_TIME is non-zero). After that update,
src_cpu's curr_runnable_sum is reduced by task's curr_window value
and dst_cpu's curr_runnable_sum is increased by task's curr_window
value, provided sched_migration_fixup = 1. Similarly, src_cpu's
@@ -1113,17 +1113,7 @@ tracking mechanism maintains per task. If default values are used for
both this and sched_ravg_window then a total of 50ms of task history
would be maintained in 5 10ms windows.
-*** 7.11 sched_freq_account_wait_time
-
-Appears at: /proc/sys/kernel/sched_freq_account_wait_time
-
-Default value: 0
-
-This controls whether a task's wait time is accounted in its curr_window and
-prev_window attributes and thus in a cpu's curr_runnable_sum and
-prev_runnable_sum counters.
-
-*** 7.12 sched_migration_fixup
+*** 7.11 sched_migration_fixup
Appears at: /proc/sys/kernel/sched_migration_fixup
@@ -1132,7 +1122,7 @@ Default value: 1
This controls whether a cpu's busy time counters are adjusted during task
migration.
-*** 7.13 sched_freq_inc_notify
+*** 7.12 sched_freq_inc_notify
Appears at: /proc/sys/kernel/sched_freq_inc_notify
@@ -1144,7 +1134,7 @@ exceeds sched_freq_inc_notify, where freq_required is the frequency calculated
by scheduler to meet current task demand. Note that sched_freq_inc_notify is
specified in kHz units.
-*** 7.14 sched_freq_dec_notify
+*** 7.13 sched_freq_dec_notify
Appears at: /proc/sys/kernel/sched_freq_dec_notify
@@ -1157,7 +1147,7 @@ exceeds sched_freq_dec_notify, where freq_required is the frequency calculated
by scheduler to meet current task demand. Note that sched_freq_dec_notify is
specified in kHz units.
-** 7.15 sched_heavy_task
+*** 7.14 sched_heavy_task
Appears at: /proc/sys/kernel/sched_heavy_task
@@ -1169,7 +1159,7 @@ comparison. Scheduler will request a raise in cpu frequency when heavy tasks
wakeup after at least one window of sleep, where window size is defined by
sched_ravg_window. Value 0 will disable this feature.
-*** 7.16 sched_cpu_high_irqload
+*** 7.15 sched_cpu_high_irqload
Appears at: /proc/sys/kernel/sched_cpu_high_irqload
@@ -1187,7 +1177,7 @@ longer eligible for placement. This will affect the task placement logic
described above, causing the scheduler to try and steer tasks away from
the CPU.
-** 7.17 cpu.upmigrate_discourage
+*** 7.16 cpu.upmigrate_discourage
Default value : 0
@@ -1203,7 +1193,7 @@ overcommitted scenario. See notes on sched_spill_nr_run and sched_spill_load for
how overcommitment threshold is defined and also notes on
'sched_upmigrate_min_nice' tunable.
-*** 7.18 sched_static_cpu_pwr_cost
+*** 7.17 sched_static_cpu_pwr_cost
Default value: 0
@@ -1218,7 +1208,7 @@ within a cluster and possibly have differing value between clusters as
needed.
-*** 7.19 sched_static_cluster_pwr_cost
+*** 7.18 sched_static_cluster_pwr_cost
Default value: 0
@@ -1229,7 +1219,7 @@ power mode. It ignores the actual D-state that a cluster may be in and assumes
the worst case power cost of the highest D-state. It is means of biasing task
placement away from idle clusters when necessary.
-*** 7.20 sched_early_detection_duration
+*** 7.19 sched_early_detection_duration
Default value: 9500000
@@ -1240,7 +1230,7 @@ tick for it to be eligible for the scheduler's early detection feature
under scheduler boost. For more information on the feature itself please
refer to section 5.2.1.
-*** 7.21 sched_restrict_cluster_spill
+*** 7.20 sched_restrict_cluster_spill
Default value: 0
@@ -1259,7 +1249,7 @@ CPU across all clusters. When this tunable is enabled, the RT tasks are
restricted to the lowest possible power cluster.
-*** 7.22 sched_downmigrate
+*** 7.21 sched_downmigrate
Appears at: /proc/sys/kernel/sched_downmigrate
@@ -1272,7 +1262,7 @@ its demand *in reference to the power-efficient cpu* drops less than 60%
(sched_downmigrate).
-*** 7.23 sched_small_wakee_task_load
+*** 7.22 sched_small_wakee_task_load
Appears at: /proc/sys/kernel/sched_small_wakee_task_load
@@ -1284,7 +1274,7 @@ categorized as small wakee tasks. Scheduler places small wakee tasks on the
waker's cluster.
-*** 7.24 sched_big_waker_task_load
+*** 7.23 sched_big_waker_task_load
Appears at: /proc/sys/kernel/sched_big_waker_task_load
@@ -1443,7 +1433,6 @@ cpus are being reset. Changes to below attributes result in such a reset:
* sched_window_stats_policy (See Sec 2.4)
* sched_ravg_hist_size (See Sec 7.11)
* sched_migration_fixup (See Sec 7.12)
-* sched_freq_account_wait_time (See Sec 7.11)
<task>-0 [004] d.h4 12700.711489: sched_reset_all_windows_stats: time_taken 1123 window_start 0 window_size 0 reason POLICY_CHANGE old_val 0 new_val 1