adjust watermark level

Increase watermark_scale_factor to 200 to better handle
burst memory allocation.

Bug: 278075546
Test: boot
Change-Id: Iaa6fb0f45924b3d73ebd76ae8554b58047f4755a
Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
Martin Liu 2023-04-14 01:04:27 +08:00
parent cfbde9cab6
commit d6051c9a91

View file

@ -115,6 +115,9 @@ on init
write /sys/block/zram0/comp_algorithm lz77eh
write /proc/sys/vm/page-cluster 0
# Adjust watermark level
write /proc/sys/vm/watermark_scale_factor 200
# Some user code relies on ro.boot.hardware.revision
setprop ro.boot.hardware.revision ${ro.revision}