aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r--Documentation/sysctl/vm.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 5b6da0fb5fbf..bd4b34c03738 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -746,8 +746,8 @@ Changing this takes effect whenever an application requests memory.
746vfs_cache_pressure 746vfs_cache_pressure
747------------------ 747------------------
748 748
749Controls the tendency of the kernel to reclaim the memory which is used for 749This percentage value controls the tendency of the kernel to reclaim
750caching of directory and inode objects. 750the memory which is used for caching of directory and inode objects.
751 751
752At the default value of vfs_cache_pressure=100 the kernel will attempt to 752At the default value of vfs_cache_pressure=100 the kernel will attempt to
753reclaim dentries and inodes at a "fair" rate with respect to pagecache and 753reclaim dentries and inodes at a "fair" rate with respect to pagecache and
@@ -757,6 +757,11 @@ never reclaim dentries and inodes due to memory pressure and this can easily
757lead to out-of-memory conditions. Increasing vfs_cache_pressure beyond 100 757lead to out-of-memory conditions. Increasing vfs_cache_pressure beyond 100
758causes the kernel to prefer to reclaim dentries and inodes. 758causes the kernel to prefer to reclaim dentries and inodes.
759 759
760Increasing vfs_cache_pressure significantly beyond 100 may have negative
761performance impact. Reclaim code needs to take various locks to find freeable
762directory and inode objects. With vfs_cache_pressure=1000, it will look for
763ten times more freeable objects than there are.
764
760============================================================== 765==============================================================
761 766
762zone_reclaim_mode: 767zone_reclaim_mode: