diff options
Diffstat (limited to 'Documentation/cpu-freq')
-rw-r--r-- | Documentation/cpu-freq/cpufreq-stats.txt | 10 | ||||
-rw-r--r-- | Documentation/cpu-freq/governors.txt | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/Documentation/cpu-freq/cpufreq-stats.txt b/Documentation/cpu-freq/cpufreq-stats.txt index 6a82948ff4bd..53d62c1e1c94 100644 --- a/Documentation/cpu-freq/cpufreq-stats.txt +++ b/Documentation/cpu-freq/cpufreq-stats.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | CPU frequency and voltage scaling statictics in the Linux(TM) kernel | 2 | CPU frequency and voltage scaling statistics in the Linux(TM) kernel |
3 | 3 | ||
4 | 4 | ||
5 | L i n u x c p u f r e q - s t a t s d r i v e r | 5 | L i n u x c p u f r e q - s t a t s d r i v e r |
@@ -18,8 +18,8 @@ Contents | |||
18 | 1. Introduction | 18 | 1. Introduction |
19 | 19 | ||
20 | cpufreq-stats is a driver that provices CPU frequency statistics for each CPU. | 20 | cpufreq-stats is a driver that provices CPU frequency statistics for each CPU. |
21 | This statistics is provided in /sysfs as a bunch of read_only interfaces. This | 21 | These statistics are provided in /sysfs as a bunch of read_only interfaces. This |
22 | interface (when configured) will appear in a seperate directory under cpufreq | 22 | interface (when configured) will appear in a separate directory under cpufreq |
23 | in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU. | 23 | in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU. |
24 | Various statistics will form read_only files under this directory. | 24 | Various statistics will form read_only files under this directory. |
25 | 25 | ||
@@ -53,7 +53,7 @@ drwxr-xr-x 3 root root 0 May 14 15:58 .. | |||
53 | This gives the amount of time spent in each of the frequencies supported by | 53 | This gives the amount of time spent in each of the frequencies supported by |
54 | this CPU. The cat output will have "<frequency> <time>" pair in each line, which | 54 | this CPU. The cat output will have "<frequency> <time>" pair in each line, which |
55 | will mean this CPU spent <time> usertime units of time at <frequency>. Output | 55 | will mean this CPU spent <time> usertime units of time at <frequency>. Output |
56 | will have one line for each of the supported freuencies. usertime units here | 56 | will have one line for each of the supported frequencies. usertime units here |
57 | is 10mS (similar to other time exported in /proc). | 57 | is 10mS (similar to other time exported in /proc). |
58 | 58 | ||
59 | -------------------------------------------------------------------------------- | 59 | -------------------------------------------------------------------------------- |
@@ -115,7 +115,7 @@ basic statistics which includes time_in_state and total_trans. | |||
115 | 115 | ||
116 | "CPU frequency translation statistics details" (CONFIG_CPU_FREQ_STAT_DETAILS) | 116 | "CPU frequency translation statistics details" (CONFIG_CPU_FREQ_STAT_DETAILS) |
117 | provides fine grained cpufreq stats by trans_table. The reason for having a | 117 | provides fine grained cpufreq stats by trans_table. The reason for having a |
118 | seperate config option for trans_table is: | 118 | separate config option for trans_table is: |
119 | - trans_table goes against the traditional /sysfs rule of one value per | 119 | - trans_table goes against the traditional /sysfs rule of one value per |
120 | interface. It provides a whole bunch of value in a 2 dimensional matrix | 120 | interface. It provides a whole bunch of value in a 2 dimensional matrix |
121 | form. | 121 | form. |
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt index f4b8dc4237e6..6a9c55bd556b 100644 --- a/Documentation/cpu-freq/governors.txt +++ b/Documentation/cpu-freq/governors.txt | |||
@@ -57,7 +57,7 @@ selected for each specific use. | |||
57 | 57 | ||
58 | Basically, it's the following flow graph: | 58 | Basically, it's the following flow graph: |
59 | 59 | ||
60 | CPU can be set to switch independetly | CPU can only be set | 60 | CPU can be set to switch independently | CPU can only be set |
61 | within specific "limits" | to specific frequencies | 61 | within specific "limits" | to specific frequencies |
62 | 62 | ||
63 | "CPUfreq policy" | 63 | "CPUfreq policy" |
@@ -109,7 +109,7 @@ directory. | |||
109 | 2.4 Ondemand | 109 | 2.4 Ondemand |
110 | ------------ | 110 | ------------ |
111 | 111 | ||
112 | The CPUfreq govenor "ondemand" sets the CPU depending on the | 112 | The CPUfreq governor "ondemand" sets the CPU depending on the |
113 | current usage. To do this the CPU must have the capability to | 113 | current usage. To do this the CPU must have the capability to |
114 | switch the frequency very quickly. There are a number of sysfs file | 114 | switch the frequency very quickly. There are a number of sysfs file |
115 | accessible parameters: | 115 | accessible parameters: |
@@ -137,11 +137,11 @@ have to be made in a row before the CPU frequency is actually lower. | |||
137 | If set to '1' then the frequency decreases as quickly as it increases, | 137 | If set to '1' then the frequency decreases as quickly as it increases, |
138 | if set to '2' it decreases at half the rate of the increase. | 138 | if set to '2' it decreases at half the rate of the increase. |
139 | 139 | ||
140 | ignore_nice_load: this parameter takes a value of '0' or '1', when set | 140 | ignore_nice_load: this parameter takes a value of '0' or '1'. When |
141 | to '0' (its default) then all processes are counted towards towards the | 141 | set to '0' (its default), all processes are counted towards the |
142 | 'cpu utilisation' value. When set to '1' then processes that are | 142 | 'cpu utilisation' value. When set to '1', the processes that are |
143 | run with a 'nice' value will not count (and thus be ignored) in the | 143 | run with a 'nice' value will not count (and thus be ignored) in the |
144 | overal usage calculation. This is useful if you are running a CPU | 144 | overall usage calculation. This is useful if you are running a CPU |
145 | intensive calculation on your laptop that you do not care how long it | 145 | intensive calculation on your laptop that you do not care how long it |
146 | takes to complete as you can 'nice' it and prevent it from taking part | 146 | takes to complete as you can 'nice' it and prevent it from taking part |
147 | in the deciding process of whether to increase your CPU frequency. | 147 | in the deciding process of whether to increase your CPU frequency. |