gs101: Align max uclamp value for background cgroup with vendor_group
Since cfs_rq clamp feature uses tg's value, align it with the vendor_group setting. Bug: 170508405 Test: build pass Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ie0c896de2022f435be5ea53ae3cecf5d80d2c067
This commit is contained in:
parent
b88bba7d35
commit
e31ba16606
1 changed files with 3 additions and 0 deletions
|
@ -624,6 +624,9 @@ on property:sys.boot_completed=1
|
|||
write /sys/kernel/vendor_sched/ta_uclamp_min 103
|
||||
write /sys/kernel/vendor_sched/fg_uclamp_min 0
|
||||
write /sys/kernel/vendor_sched/bg_uclamp_max 103
|
||||
# cfs_rq clamp is using tg->uclamp setting
|
||||
# align it with the vendor_group setting
|
||||
write /dev/cpuctl/background/cpu.uclamp.max 10
|
||||
|
||||
# Setup cpu.shares to throttle background group at 5%
|
||||
write /dev/cpuctl/background/cpu.shares 1024
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue