From 7618865b72338515bc7a745c82eedfdeda9d7dd1 Mon Sep 17 00:00:00 2001 From: Chungkai Mei Date: Thu, 8 Sep 2022 05:07:45 +0000 Subject: [PATCH] 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 Change-Id: I591c1ff8d0c9ed8d5a3b4861c9c5b715ed1c3eae --- conf/init.zuma.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 32a6fb3b..45cea0af 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -9,6 +9,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