mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: Enable zram
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
87b5d4ef6f
commit
dc68943618
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue