j7elte: 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)
committerDario Trombello <dariotr@outlook.de>
Thu, 18 Jun 2020 19:41:24 +0000 (21:41 +0200)
Change-Id: I1a3dd377309d43082c349abcdc24a8786950967f

ramdisk/etc/init.target.rc

index 2c4d49a214a721dbd80b1ec423c22a8e61820d2c..e379c31f3dd742aa502c6d88bb5e112c2280434a 100644 (file)
@@ -4,8 +4,9 @@ on boot
     write /proc/sys/net/core/rmem_max 1048576
     write /proc/sys/net/core/wmem_max 2097152
 
-    # SSWAP
+    # Tune virtual memory
     write /proc/sys/vm/swappiness 130
+    write /proc/sys/vm/vfs_cache_pressure 50
 
 on fs
     # Permissions for LCD