mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
adjust watermark level
Increase watermark_scale_factor to 200 to better handle burst memory allocation. Bug: 251881967 Test: boot Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: Ibe663456671892f2ec0e5e20e592b80c96bd371b
This commit is contained in:
@@ -688,6 +688,9 @@ on property:sys.boot_completed=1
|
||||
swapon_all /vendor/etc/fstab.${ro.board.platform}
|
||||
write /proc/sys/vm/swappiness 100
|
||||
|
||||
# Adjust watermark level
|
||||
write /proc/sys/vm/watermark_scale_factor 200
|
||||
|
||||
# Back to default VM settings
|
||||
write /proc/sys/vm/dirty_expire_centisecs 3000
|
||||
write /proc/sys/vm/dirty_background_ratio 10
|
||||
|
||||
Reference in New Issue
Block a user