From e6d32a0afa84085b68ef0af026aadd5693aa5eb6 Mon Sep 17 00:00:00 2001 From: Tyler Nijmeh Date: Fri, 23 Oct 2020 00:56:35 -0700 Subject: [PATCH] Reduce bias for dentries and inodes Signed-off-by: Tyler Nijmeh --- ktweak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ktweak b/ktweak index 61a16ee..465ad69 100644 --- a/ktweak +++ b/ktweak @@ -102,8 +102,8 @@ write /proc/sys/vm/stat_interval 10 # Swap to the swap device at a fair rate write /proc/sys/vm/swappiness 100 -# Allow more inodes and dentries to be cached -write /proc/sys/vm/vfs_cache_pressure 60 +# Prioritize page cache over simple file structure nodes +write /proc/sys/vm/vfs_cache_pressure 200 # Enable Explicit Congestion Control write /proc/sys/net/ipv4/tcp_ecn 1