diff options
author | JP Abgrall <jpa@google.com> | 2011-11-17 17:57:09 -0800 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2011-11-17 17:57:09 -0800 |
commit | cba9655c68bc9c787333f63b18c564b70ffc40b2 (patch) | |
tree | a090fa49720e549666cb870c349a913c6e239da1 | |
parent | a481d09566d953b0f4e10d2e646d7e758628a758 (diff) | |
download | device_samsung_crespo-cba9655c68bc9c787333f63b18c564b70ffc40b2.zip device_samsung_crespo-cba9655c68bc9c787333f63b18c564b70ffc40b2.tar.gz device_samsung_crespo-cba9655c68bc9c787333f63b18c564b70ffc40b2.tar.bz2 |
crespo: init.herring: switch to "ondemand" governor
The current interactive governor is either too aggressive (power) or
not aggressive enough (gpu).
Ondemand seems viable now that Bug:5272232 is fixed.
Bug:5622174
Change-Id: I15dd81e70c87082b40431992dd3d361746295ef3
-rwxr-xr-x | init.herring.rc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/init.herring.rc b/init.herring.rc index 551e66b..6d6f029 100755 --- a/init.herring.rc +++ b/init.herring.rc @@ -29,11 +29,14 @@ on boot chown gps root /sys/class/sec/gps/GPS_PWR_EN/value chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value +# cpufreq, set ondemand governor + write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand + on fs mkdir /efs 0775 radio radio mount yaffs2 mtd@efs /efs nosuid nodev - chmod 770 /efs/bluetooth - chmod 770 /efs/imei + chmod 770 /efs/bluetooth + chmod 770 /efs/imei mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/system /system wait ro mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata /data wait noatime nosuid nodev nomblk_io_submit |