init: set teo as cpu idle governor
To enhance system performance and save power, chagne idle governor to TEO. Test: boot to home Bug: 175800838 Signed-off-by: Chungkai Mei <chungkai@google.com> Change-Id: I591c1ff8d0c9ed8d5a3b4861c9c5b715ed1c3eae
This commit is contained in:
parent
f049d3926b
commit
776ba5911d
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ on init
|
|||
# CPU0 cannot be offline
|
||||
chmod 0444 /sys/devices/system/cpu/cpu0/online
|
||||
|
||||
# Set teo as cpu idle governor
|
||||
write /sys/devices/system/cpu/cpuidle/current_governor teo
|
||||
|
||||
# Boot time fs tuning
|
||||
write /sys/block/sda/queue/iostats 0
|
||||
write /sys/block/sda/queue/scheduler bfq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue