diff --git a/rootdir/etc/init/hw/init.mt6789.rc b/rootdir/etc/init/hw/init.mt6789.rc index 5e9fca4..6149e5d 100644 --- a/rootdir/etc/init/hw/init.mt6789.rc +++ b/rootdir/etc/init/hw/init.mt6789.rc @@ -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