From: Danny Wood Date: Tue, 14 May 2019 15:10:54 +0000 (+0100) Subject: j7elte: ramdisk: Decrease vfs_cache_pressure to improve the inode cache and speed... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fb0eb7d6dce88af1788d279f9f3d3a29cf31b46;p=GitHub%2FLineageOS%2Fandroid_device_samsung_j7elte.git j7elte: ramdisk: Decrease vfs_cache_pressure to improve the inode cache and speed up MTP Change-Id: I1a3dd377309d43082c349abcdc24a8786950967f --- diff --git a/ramdisk/etc/init.target.rc b/ramdisk/etc/init.target.rc index 2c4d49a..e379c31 100644 --- a/ramdisk/etc/init.target.rc +++ b/ramdisk/etc/init.target.rc @@ -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