mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-01-27 14:25:57 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user