aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cpu-freq
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-06-14 11:48:33 -0700
committerColin Cross <ccross@android.com>2011-06-14 11:48:33 -0700
commit9bb71b69d988cd7def734f0c4b1cdaaa27be16f7 (patch)
tree04bb70c657a01bef17d1f7d86f6e39f8e21b2fed /Documentation/cpu-freq
parentc086adace33b592fa8924e84a4f6d4e5bbe0b176 (diff)
parentd38c274febe1291ecce80b081ca7ecaa5db89719 (diff)
downloadkernel_samsung_espresso10-9bb71b69d988cd7def734f0c4b1cdaaa27be16f7.zip
kernel_samsung_espresso10-9bb71b69d988cd7def734f0c4b1cdaaa27be16f7.tar.gz
kernel_samsung_espresso10-9bb71b69d988cd7def734f0c4b1cdaaa27be16f7.tar.bz2
Merge branch 'android-3.0' into android-omap-3.0
Conflicts: Documentation/cpu-freq/governors.txt drivers/cpufreq/Kconfig drivers/cpufreq/Makefile include/linux/cpufreq.h Change-Id: I3df552521b721b7590883071633873caba33cffd
Diffstat (limited to 'Documentation/cpu-freq')
-rw-r--r--Documentation/cpu-freq/governors.txt36
1 files changed, 35 insertions, 1 deletions
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
index c2e3d3d..a33f9d4 100644
--- a/Documentation/cpu-freq/governors.txt
+++ b/Documentation/cpu-freq/governors.txt
@@ -28,6 +28,7 @@ Contents:
2.3 Userspace
2.4 Ondemand
2.5 Conservative
+2.6 Interactive
3. The Governor Interface in the CPUfreq Core
@@ -194,7 +195,40 @@ default value of '20' it means that if the CPU usage needs to be below
20% between samples to have the frequency decreased.
-2.6 Hotplug
+2.6 Interactive
+---------------
+
+The CPUfreq governor "interactive" is designed for latency-sensitive,
+interactive workloads. This governor sets the CPU speed depending on
+usage, similar to "ondemand" and "conservative" governors. However,
+the governor is more aggressive about scaling the CPU speed up in
+response to CPU-intensive activity.
+
+Sampling the CPU load every X ms can lead to under-powering the CPU
+for X ms, leading to dropped frames, stuttering UI, etc. Instead of
+sampling the cpu at a specified rate, the interactive governor will
+check whether to scale the cpu frequency up soon after coming out of
+idle. When the cpu comes out of idle, a timer is configured to fire
+within 1-2 ticks. If the cpu is very busy between exiting idle and
+when the timer fires then we assume the cpu is underpowered and ramp
+to MAX speed.
+
+If the cpu was not sufficiently busy to immediately ramp to MAX speed,
+then governor evaluates the cpu load since the last speed adjustment,
+choosing th highest value between that longer-term load or the
+short-term load since idle exit to determine the cpu speed to ramp to.
+
+The tuneable value for this governor are:
+
+min_sample_time: The minimum amount of time to spend at the current
+frequency before ramping down. This is to ensure that the governor has
+seen enough historic cpu load data to determine the appropriate
+workload. Default is 80000 uS.
+
+go_maxspeed_load: The CPU load at which to ramp to max speed. Default
+is 85.
+
+2.7 Hotplug
-----------
The CPUfreq governor "hotplug" operates similary to "ondemand" and