LG8n: Enable zram

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-07-17 08:14:31 +08:00
parent 87b5d4ef6f
commit dc68943618

View file

@ -176,9 +176,9 @@ on post-fs-data
# zram # zram
write /sys/block/zram0/comp_algorithm lz4 write /sys/block/zram0/comp_algorithm lz4
write /proc/sys/vm/page-cluster 0 write /proc/sys/vm/page-cluster 0
write /proc/sys/vm/swappiness 100 write /proc/sys/vm/swappiness 60
write /sys/kernel/mm/swap/vma_ra_enabled false write /sys/kernel/mm/swap/vma_ra_enabled false
swapon_all /vendor/etc/fstab.enableswap swapon_all /vendor/etc/fstab.mt6789
# boot time fs tune # boot time fs tune
write /sys/block/mmcblk0/queue/iostats 0 write /sys/block/mmcblk0/queue/iostats 0