From e6afdd099c4509587b8400e498f41e40b097b11c Mon Sep 17 00:00:00 2001 From: Qais Yousef Date: Wed, 24 Apr 2024 00:55:42 +0000 Subject: [PATCH] init.zumapro.soc.rc: Disable rampup for most groups except top-app and adpf When auto margins are enabled busy tasks will get more appropriate and coherent rampup time when they get busy. But for most groups, this can lead to unnecessary power consumption. Disable it except for top-app, sf and camera group. For ADPF, a faster rampup is desired as these tasks are usually sensitive to all sources of latencies. So try to give them more performance faster. Bug: 339664411 Test: PTE A/B test Flag: NONE no behavior change Signed-off-by: Qais Yousef (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:909fadc268c0993e4313ff34a8415daf742c3c15) Merged-In: Ieb6f3de811d30b62f06809e73dc7df83c87d45d0 Change-Id: Ieb6f3de811d30b62f06809e73dc7df83c87d45d0 --- conf/init.zumapro.soc.rc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/conf/init.zumapro.soc.rc b/conf/init.zumapro.soc.rc index 2c6d4d5..919d396 100644 --- a/conf/init.zumapro.soc.rc +++ b/conf/init.zumapro.soc.rc @@ -28,6 +28,20 @@ on init write /proc/vendor_sched/groups/sys/uclamp_min 190 write /proc/vendor_sched/groups/sys/prefer_idle 1 + write /proc/vendor_sched/groups/bg/rampup_multiplier 0 + write /proc/vendor_sched/groups/cam/rampup_multiplier 1 + write /proc/vendor_sched/groups/cam_power/rampup_multiplier 1 + write /proc/vendor_sched/groups/dex2oat/rampup_multiplier 0 + write /proc/vendor_sched/groups/fg/rampup_multiplier 0 + write /proc/vendor_sched/groups/nnapi/rampup_multiplier 0 + write /proc/vendor_sched/groups/ota/rampup_multiplier 0 + write /proc/vendor_sched/groups/rt/rampup_multiplier 0 + write /proc/vendor_sched/groups/sf/rampup_multiplier 1 + write /proc/vendor_sched/groups/sys/rampup_multiplier 0 + write /proc/vendor_sched/groups/sys_bg/rampup_multiplier 0 + write /proc/vendor_sched/groups/ta/rampup_multiplier 1 + write /proc/vendor_sched/adpf_rampup_multiplier 2 + # governor setting write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor sched_pixel write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/up_rate_limit_us 500