From e88c6ebf7ca0b62bcb80b3bb887f8312a55e95c9 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Tue, 14 May 2019 16:10:54 +0100 Subject: [PATCH] j7elte: ramdisk: Decrease vfs_cache_pressure to improve the inode cache and speed up MTP Change-Id: I1a3dd377309d43082c349abcdc24a8786950967f --- ramdisk/etc/init.target.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1