wok-next annotate linux/description.linux-cpufreq.txt @ rev 20299

Up remmina (1.2.0-rcgit.24)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 22:26:00 2017 +0100 (2017-11-09)
parents 119e586fb823
children
rev   line source
al@19583 1 CPU Frequency scaling
al@19583 2
al@19583 3 CPU Frequency scaling allows you to change the clock speed of CPUs on the fly.
al@19583 4 This is a nice method to save power, because the lower the CPU clock speed, the
al@19583 5 less power the CPU consumes.
al@19583 6
al@19583 7 Note that this driver doesn't automatically change the CPU clock speed, you
al@19583 8 need to either enable a dynamic cpufreq governor (see below) after boot, or use
al@19583 9 a userspace tool.
al@19583 10
al@19583 11 * 'performance' governor
al@19583 12 This cpufreq governor sets the frequency statically to the highest
al@19583 13 available CPU frequency.
al@19583 14 * 'powersave' governor
al@19583 15 This cpufreq governor sets the frequency statically to the lowest available
al@19583 16 CPU frequency.
al@19583 17 * 'userspace' governor for userspace frequency scaling
al@19583 18 Enable this cpufreq governor when you either want to set the CPU frequency
al@19583 19 manually or when a userspace program shall be able to set the CPU
al@19583 20 dynamically, like on LART <http://www.lartmaker.nl/>.
al@19583 21 * 'ondemand' cpufreq policy governor
al@19583 22 'ondemand' - This driver adds a dynamic cpufreq policy governor. The
al@19583 23 governor does a periodic polling and changes frequency based on the CPU
al@19583 24 utilization. The support for this governor depends on CPU capability to do
al@19583 25 fast frequency switching (i.e, very low latency frequency transitions).
al@19583 26 * 'conservative' cpufreq governor
al@19583 27 'conservative' - this driver is rather similar to the 'ondemand' governor
al@19583 28 both in its source code and its purpose, the difference is its optimisation
al@19583 29 for better suitability in a battery powered environment. The frequency is
al@19583 30 gracefully increased and decreased rather than jumping to 100% when speed
al@19583 31 is required.
al@19583 32 If you have a desktop machine then you should really be considering the
al@19583 33 'ondemand' governor instead, however if you are using a laptop, PDA or even
al@19583 34 an AMD64 based computer (due to the unacceptable step-by-step latency
al@19583 35 issues between the minimum and maximum frequency transitions in the CPU)
al@19583 36 you will probably want to use this governor.
al@19583 37 * 'schedutil' cpufreq policy governor
al@19583 38 This governor makes decisions based on the utilization data provided by the
al@19583 39 scheduler. It sets the CPU frequency to be proportional to the
al@19583 40 utilization/capacity ratio coming from the scheduler. If the utilization is
al@19583 41 frequency-invariant, the new frequency is also proportional to the maximum
al@19583 42 available frequency. If that is not the case, it is proportional to the
al@19583 43 current frequency of the CPU. The frequency tipping point is at
al@19583 44 utilization/capacity equal to 80% in both cases.