From 986426fd65ee7dae6b7f5663809797e8315b96f2 Mon Sep 17 00:00:00 2001 From: Sven Rademakers Date: Mon, 29 Jul 2024 09:04:44 +0100 Subject: [PATCH] tune vm This commits aims to reduce the amount of dirty pages in the cache by lowing the ratio of bytes allowed for page-caching Secondly, the vfs_cache_pressure is increased to put more emphasis on reclaiming inodes and dentries. --- tp2bmc/board/tp2bmc/overlay/etc/sysctl.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tp2bmc/board/tp2bmc/overlay/etc/sysctl.conf diff --git a/tp2bmc/board/tp2bmc/overlay/etc/sysctl.conf b/tp2bmc/board/tp2bmc/overlay/etc/sysctl.conf new file mode 100644 index 00000000..2a2bdb91 --- /dev/null +++ b/tp2bmc/board/tp2bmc/overlay/etc/sysctl.conf @@ -0,0 +1,3 @@ +vm.vfs_cache_pressure=130 +vm.dirty_ratio=10 +vm.overcommit_ratio=20