Restore uclamp.max for bg groups
These values could indicate if cpu is running important tasks. Bug: 201260585 Test: build pass Change-Id: I3d9cfef9070503b16862fb88fec11329eaf8f348
This commit is contained in:
parent
6daf750092
commit
525571a4c7
1 changed files with 6 additions and 0 deletions
|
@ -757,6 +757,12 @@ on property:sys.boot_completed=1
|
||||||
# Set bg group throttle
|
# Set bg group throttle
|
||||||
write /proc/vendor_sched/ug_bg_group_throttle 308
|
write /proc/vendor_sched/ug_bg_group_throttle 308
|
||||||
|
|
||||||
|
# Set uclamp.max for some groups, which could indicate cpu importance used in scheduling
|
||||||
|
write /proc/vendor_sched/bg_uclamp_max 512
|
||||||
|
write /proc/vendor_sched/sysbg_uclamp_max 512
|
||||||
|
write /proc/vendor_sched/ota_uclamp_max 512
|
||||||
|
write /proc/vendor_sched/dex2oat_uclamp_max 615
|
||||||
|
|
||||||
# Set PMU freq limit parameters
|
# Set PMU freq limit parameters
|
||||||
write /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold 2
|
write /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold 2
|
||||||
write /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold 59
|
write /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold 59
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue