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 37f633a5ae
commit 0edf1634b4

View file

@ -176,9 +176,9 @@ on post-fs-data
# zram
write /sys/block/zram0/comp_algorithm lz4
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
swapon_all /vendor/etc/fstab.enableswap
swapon_all /vendor/etc/fstab.mt6789
# boot time fs tune
write /sys/block/mmcblk0/queue/iostats 0