a3xelte: ramdisk: set '/proc/sys/vm/min_free_kbytes' on boot to keep more large VM...
authorDanny Wood <danwood76@gmail.com>
Fri, 14 Dec 2018 08:03:38 +0000 (08:03 +0000)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 14:28:37 +0000 (16:28 +0200)
Change-Id: Ibbe6976e3dee46565aff203d4a2fe23c68e19441

ramdisk/etc/init.target.rc

index 322871b570080bd4e58fb8d4da5feab0ccf8fadd..98850e7afa88717431696035f6fbe116061b846e 100644 (file)
@@ -14,6 +14,9 @@ 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
+
 on fs
        # Permissions for LCD
     chown system system /sys/class/lcd/panel/lux