adjust watermark level
Increase watermark_scale_factor to 200 to better handle burst memory allocation. Bug: 278075546 Test: boot Change-Id: Iaa6fb0f45924b3d73ebd76ae8554b58047f4755a Merged-in: Iaa6fb0f45924b3d73ebd76ae8554b58047f4755a Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
6f1e1dca4a
commit
b8d3dd7fde
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue