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=e88c6ebf7ca0b62bcb80b3bb887f8312a55e95c9;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