Disable proactive compaction
From field data, sometimes kcompactd is pretty activated and can impact critical CUJs. Disable it first to mitigate the impact. Bug: 332916849 Test: boot Change-Id: I22aded6be919279d04b4032a64a6bf15111fe1c3 Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
1d8aca9321
commit
da3aed8ec3
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ on init
|
|||
write /sys/block/zram0/comp_algorithm lz77eh
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
# disable proactive compaction
|
||||
write /proc/sys/vm/compaction_proactiveness 0
|
||||
|
||||
# Some user code relies on ro.boot.hardware.revision
|
||||
setprop ro.boot.hardware.revision ${ro.revision}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue