|
2 | 2 | Scheduler Statistics |
3 | 3 | ==================== |
4 | 4 |
|
| 5 | +Version 16 of schedstats changed the order of definitions within |
| 6 | +'enum cpu_idle_type', which changed the order of [CPU_MAX_IDLE_TYPES] |
| 7 | +columns in show_schedstat(). In particular the position of CPU_IDLE |
| 8 | +and __CPU_NOT_IDLE changed places. The size of the array is unchanged. |
| 9 | + |
5 | 10 | Version 15 of schedstats dropped counters for some sched_yield: |
6 | 11 | yld_exp_empty, yld_act_empty and yld_both_empty. Otherwise, it is |
7 | 12 | identical to version 14. |
@@ -72,53 +77,53 @@ domain<N> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
72 | 77 |
|
73 | 78 | The first field is a bit mask indicating what cpus this domain operates over. |
74 | 79 |
|
75 | | -The next 24 are a variety of load_balance() statistics in grouped into types |
| 80 | +The next 24 are a variety of sched_balance_rq() statistics in grouped into types |
76 | 81 | of idleness (idle, busy, and newly idle): |
77 | 82 |
|
78 | | - 1) # of times in this domain load_balance() was called when the |
| 83 | + 1) # of times in this domain sched_balance_rq() was called when the |
79 | 84 | cpu was idle |
80 | | - 2) # of times in this domain load_balance() checked but found |
| 85 | + 2) # of times in this domain sched_balance_rq() checked but found |
81 | 86 | the load did not require balancing when the cpu was idle |
82 | | - 3) # of times in this domain load_balance() tried to move one or |
| 87 | + 3) # of times in this domain sched_balance_rq() tried to move one or |
83 | 88 | more tasks and failed, when the cpu was idle |
84 | 89 | 4) sum of imbalances discovered (if any) with each call to |
85 | | - load_balance() in this domain when the cpu was idle |
| 90 | + sched_balance_rq() in this domain when the cpu was idle |
86 | 91 | 5) # of times in this domain pull_task() was called when the cpu |
87 | 92 | was idle |
88 | 93 | 6) # of times in this domain pull_task() was called even though |
89 | 94 | the target task was cache-hot when idle |
90 | | - 7) # of times in this domain load_balance() was called but did |
| 95 | + 7) # of times in this domain sched_balance_rq() was called but did |
91 | 96 | not find a busier queue while the cpu was idle |
92 | 97 | 8) # of times in this domain a busier queue was found while the |
93 | 98 | cpu was idle but no busier group was found |
94 | | - 9) # of times in this domain load_balance() was called when the |
| 99 | + 9) # of times in this domain sched_balance_rq() was called when the |
95 | 100 | cpu was busy |
96 | | - 10) # of times in this domain load_balance() checked but found the |
| 101 | + 10) # of times in this domain sched_balance_rq() checked but found the |
97 | 102 | load did not require balancing when busy |
98 | | - 11) # of times in this domain load_balance() tried to move one or |
| 103 | + 11) # of times in this domain sched_balance_rq() tried to move one or |
99 | 104 | more tasks and failed, when the cpu was busy |
100 | 105 | 12) sum of imbalances discovered (if any) with each call to |
101 | | - load_balance() in this domain when the cpu was busy |
| 106 | + sched_balance_rq() in this domain when the cpu was busy |
102 | 107 | 13) # of times in this domain pull_task() was called when busy |
103 | 108 | 14) # of times in this domain pull_task() was called even though the |
104 | 109 | target task was cache-hot when busy |
105 | | - 15) # of times in this domain load_balance() was called but did not |
| 110 | + 15) # of times in this domain sched_balance_rq() was called but did not |
106 | 111 | find a busier queue while the cpu was busy |
107 | 112 | 16) # of times in this domain a busier queue was found while the cpu |
108 | 113 | was busy but no busier group was found |
109 | 114 |
|
110 | | - 17) # of times in this domain load_balance() was called when the |
| 115 | + 17) # of times in this domain sched_balance_rq() was called when the |
111 | 116 | cpu was just becoming idle |
112 | | - 18) # of times in this domain load_balance() checked but found the |
| 117 | + 18) # of times in this domain sched_balance_rq() checked but found the |
113 | 118 | load did not require balancing when the cpu was just becoming idle |
114 | | - 19) # of times in this domain load_balance() tried to move one or more |
| 119 | + 19) # of times in this domain sched_balance_rq() tried to move one or more |
115 | 120 | tasks and failed, when the cpu was just becoming idle |
116 | 121 | 20) sum of imbalances discovered (if any) with each call to |
117 | | - load_balance() in this domain when the cpu was just becoming idle |
| 122 | + sched_balance_rq() in this domain when the cpu was just becoming idle |
118 | 123 | 21) # of times in this domain pull_task() was called when newly idle |
119 | 124 | 22) # of times in this domain pull_task() was called even though the |
120 | 125 | target task was cache-hot when just becoming idle |
121 | | - 23) # of times in this domain load_balance() was called but did not |
| 126 | + 23) # of times in this domain sched_balance_rq() was called but did not |
122 | 127 | find a busier queue while the cpu was just becoming idle |
123 | 128 | 24) # of times in this domain a busier queue was found while the cpu |
124 | 129 | was just becoming idle but no busier group was found |
|
0 commit comments