From: Danny Wood Date: Tue, 3 Aug 2021 14:56:09 +0000 (+0100) Subject: j7elte: Remove VM tweaks as we are now using ZRAM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=542dce8e74d0c61bd2fc16030289321f5eff656b;p=GitHub%2FLineageOS%2Fandroid_device_samsung_j7elte.git j7elte: Remove VM tweaks as we are now using ZRAM Change-Id: If7177138729c45ff13ac50fce7bdf0ebb693cb4a --- diff --git a/ramdisk/etc/init.target.rc b/ramdisk/etc/init.target.rc index e379c31..d786175 100644 --- a/ramdisk/etc/init.target.rc +++ b/ramdisk/etc/init.target.rc @@ -4,10 +4,6 @@ on boot write /proc/sys/net/core/rmem_max 1048576 write /proc/sys/net/core/wmem_max 2097152 - # Tune virtual memory - write /proc/sys/vm/swappiness 130 - write /proc/sys/vm/vfs_cache_pressure 50 - on fs # Permissions for LCD chown system radio /sys/class/lcd/panel/mcd_mode @@ -24,9 +20,6 @@ on fs copy /efs/Battery/prev_batt_capacity_max /sys/class/power_supply/battery/batt_capacity_max on property:sys.boot_completed=1 - write /proc/sys/vm/dirty_bytes 41943040 - write /proc/sys/vm/dirty_background_bytes 20971520 - # Set best cache size for internal and external storages write /sys/block/mmcblk0/bdi/read_ahead_kb 128 write /sys/block/mmcblk1/bdi/read_ahead_kb 2048