diff options
author | Simon Shields <keepcalm444@gmail.com> | 2016-02-02 22:31:38 +1100 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-02-02 23:03:29 +1100 |
commit | 4e0a903a42f1acd7a01eacdcb2f5f5c50ebe135f (patch) | |
tree | c1d3e454aea97ad1423dc43856e899e11d122b29 /rootdir | |
parent | b6a0d03e64f725627828653e071e2b1e8d9b4347 (diff) | |
download | device_samsung_i9300-4e0a903a42f1acd7a01eacdcb2f5f5c50ebe135f.zip device_samsung_i9300-4e0a903a42f1acd7a01eacdcb2f5f5c50ebe135f.tar.gz device_samsung_i9300-4e0a903a42f1acd7a01eacdcb2f5f5c50ebe135f.tar.bz2 |
i9300: downclock more aggressively
previously, pegasusq would keep 3 or 4 cores active with static content
on the screen
tweak the governor's values so that sometimes we get down to 1 core
active with screen on, both by increasing the on/off clock speeds/rq sizes
of secondary cores, bumping up_threshold and encouraging faster downclocking.
Change-Id: I698bec823312cac7b859ed8d5ac303873fddc7bc
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.target.rc | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index 4b9b015..1c94d39 100644 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -3,6 +3,7 @@ on init # ko files for FM Radio insmod /system/lib/modules/Si4709_driver.ko + on post-fs-data # icd exec icd_check @@ -59,4 +60,21 @@ service gps-daemon /system/bin/sh /system/bin/gps_daemon.sh group system inet sdcard_rw gps seclabel u:r:glgps:s0 - +on property:dev.bootcomplete=1 +# boot on default pegasusq settings (for better performance) +# switch to more conservative settings after bootup is complete + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_1_1 500000 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_2_0 500000 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_2_1 700000 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_3_0 700000 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_3_1 900000 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_freq_4_0 900000 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_1_1 150 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_2_0 150 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_2_1 250 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_3_0 250 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_3_1 350 + write /sys/devices/system/cpu/cpufreq/pegasusq/hotplug_rq_4_0 450 + write /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold 90 + write /sys/devices/system/cpu/cpufreq/pegasusq/cpu_down_rate 10 + write /sys/devices/system/cpu/cpufreq/pegasusq/down_differential 3 |