Relax background restriction to 16.67%
To avoid background starvation and PI, especially for those low prio 130 threads within system_server, allocate more cpu shares for background sched group. Test: boot and torture a loaded device. Bug: 201428466 Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ia85814294f9534fd83388a72c574c04f631a185f
This commit is contained in:
parent
6896836e0e
commit
ab3747f65e
1 changed files with 2 additions and 2 deletions
|
@ -733,8 +733,8 @@ on property:sys.boot_completed=1
|
|||
write /sys/kernel/vendor_sched/sf_uclamp_min 30
|
||||
write /sys/kernel/vendor_sched/sf_prefer_idle 1
|
||||
|
||||
# Setup cpu.shares to throttle background group at 5%
|
||||
write /dev/cpuctl/background/cpu.shares 1024
|
||||
# Setup cpu.shares to throttle background group at 15%
|
||||
write /dev/cpuctl/background/cpu.shares 4096
|
||||
write /dev/cpuctl/system/cpu.shares 20480
|
||||
# We only have system and background groups holding tasks and the groups below are empty
|
||||
write /dev/cpuctl/camera-daemon/cpu.shares 20480
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue