a3xelte: ramdisk: decrease vfs_cache_pressure to improve the inode cache and speed...
authorDanny Wood <danwood76@gmail.com>
Tue, 14 May 2019 15:10:54 +0000 (16:10 +0100)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 14:28:43 +0000 (16:28 +0200)
Change-Id: I1a3dd377309d43082c349abcdc24a8786950967f

ramdisk/etc/init.target.rc

index 660b32cdc863608fb71cf2ae21f444e60d0fdb64..f5b09ded2298ce71b8aa8807be110bcef840977d 100644 (file)
@@ -17,8 +17,9 @@ on boot
     # Set min_free_kbytes to keep larger VM chuncks lying around
     write /proc/sys/vm/min_free_kbytes 32768
 
-    # Tune SSWAP
+    # Tune virtual memory
     write /proc/sys/vm/swappiness 160
+    write /proc/sys/vm/vfs_cache_pressure 50
 
 on fs
        # Permissions for LCD