Merge changes I4d719edf,Icbdd5e18 into udc-d1-dev

* changes:
  Relax cpuset for OTA
  Set bg group throttle to 30 percent of cpu capacity
This commit is contained in:
Wei Wang 2023-04-28 15:55:20 +00:00 committed by Android (Google) Code Review
commit ebcd090cdb
2 changed files with 4 additions and 14 deletions

View file

@ -741,19 +741,9 @@ on property:sys.boot_completed=1
write /proc/vendor_sched/ta_uclamp_min 1
write /proc/vendor_sched/fg_uclamp_min 0
write /proc/vendor_sched/sys_prefer_idle 0
# cfs_rq clamp is using tg->uclamp setting
# align it with the vendor_group setting
write /proc/vendor_sched/bg_uclamp_max 512
write /dev/cpuctl/background/cpu.uclamp.max 50
write /proc/vendor_sched/bg_group_throttle 512
write /proc/vendor_sched/sysbg_uclamp_max 512
write /dev/cpuctl/system-background/cpu.uclamp.max 50
write /proc/vendor_sched/sysbg_group_throttle 512
write /proc/vendor_sched/dex2oat_uclamp_max 615
write /dev/cpuctl/dex2oat/cpu.uclamp.max 60
write /proc/vendor_sched/dex2oat_group_throttle 615
write /proc/vendor_sched/ota_uclamp_max 410
write /proc/vendor_sched/ota_group_throttle 410
# Set bg group throttle
write /proc/vendor_sched/vug_bg_group_throttle 308
# Set PMU freq limit parameters
write /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold 2

View file

@ -287,7 +287,7 @@
},
{
"Name": "OtaProfiles",
"Profiles": [ "OtaPerformance", "ServiceCapacityLow", "LowIoPriority", "TimerSlackHigh" ]
"Profiles": [ "OtaPerformance", "ProcessCapacityNormal", "LowIoPriority", "TimerSlackHigh" ]
}
]
}