summaryrefslogtreecommitdiffstats
path: root/init.tuna.rc
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-10-28 14:51:11 -0700
committerTodd Poynor <toddpoynor@google.com>2011-10-28 14:53:34 -0700
commit9325a044fc4d051d76bbcc7521ac32af216cd20d (patch)
treed434cf09e5ab48d0c675b366801f6fc63d27b827 /init.tuna.rc
parente6f399a540256c671f638306545b2bc04654a58f (diff)
downloaddevice_samsung_tuna-9325a044fc4d051d76bbcc7521ac32af216cd20d.zip
device_samsung_tuna-9325a044fc4d051d76bbcc7521ac32af216cd20d.tar.gz
device_samsung_tuna-9325a044fc4d051d76bbcc7521ac32af216cd20d.tar.bz2
tuna: interactive governor timer 100ms, min sample 10ms
Significant power savings in Navigation, video encode, and games. Change-Id: Ia8bd64c11b8ccd33fda62f7920d79fa5222da06e Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-xinit.tuna.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 2dabb9d..980e964 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -41,6 +41,10 @@ on boot
# Lower maximum frequency when screen is off
write /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq 700000
+# cpufreq interactive governor: timer 100ms, min sample 10ms
+ write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 100000
+ write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 10000
+
on fs
mkdir /factory 0775 radio radio
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system wait ro