mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-28 19:46:23 +00:00
stone: rootdir: increase swappiness
This commit is contained in:
@@ -99,7 +99,7 @@ on property:sys.boot_completed=1
|
||||
# Read only one page at a time
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
# Swap more aggressively
|
||||
write /proc/sys/vm/swappiness 20
|
||||
write /proc/sys/vm/swappiness 90
|
||||
# Set zRAM compression algorithm to LZ4
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
# Enable zRAM data deduplication feature
|
||||
|
||||
Reference in New Issue
Block a user