a5xelte: Remove VM tweaks as we are now using ZRAM
authorDanny Wood <danwood76@gmail.com>
Tue, 3 Aug 2021 14:56:09 +0000 (15:56 +0100)
committerDanny Wood <danwood76@gmail.com>
Tue, 3 Aug 2021 15:17:53 +0000 (16:17 +0100)
Change-Id: If7177138729c45ff13ac50fce7bdf0ebb693cb4a

ramdisk/etc/init.target.rc

index 2dce079c4c2a7498f7616bd8ea4541ac2a0be353..3bd323316f58c7bfaf1c62516f8b269e01a23402 100644 (file)
@@ -4,13 +4,6 @@ on boot
     write /proc/sys/net/core/rmem_max 2097152
     write /proc/sys/net/core/wmem_max 2097152
 
-    # Set min_free_kbytes to keep larger VM chuncks lying around
-    write /proc/sys/vm/min_free_kbytes 32768
-
-    # Tune virtual memory
-    write /proc/sys/vm/swappiness 160
-    write /proc/sys/vm/vfs_cache_pressure 50
-
 on fs
     # Permissions for LCD
     chown system system /sys/class/lcd/panel/ldu_correction
@@ -50,9 +43,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