sapphire: ZRAM aggression to 60

- Add swappiness to 60

Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
Martin Liu
2023-09-12 15:49:21 +08:00
committed by kibria5
parent c3326798b6
commit 57c1c592cd

View File

@@ -73,6 +73,7 @@ on init
# ZRAM
on property:sys.boot_completed=1
write /proc/sys/vm/swappiness 60
# Set zRAM compression algorithm to lzo-rle
write /sys/block/zram0/comp_algorithm lzo-rle
# Enable zRAM data deduplication feature