Difference between revisions of "Sysctl"

From DWIKI
m
Line 16: Line 16:




===Links===
 
*[https://linuxhint.com/understanding_vm_swappiness/ Understanding vm.swappiness]
=== Links ===
 
*[https://linuxhint.com/understanding_vm_swappiness/ Understanding vm.swappiness]  
*https://major.io/2008/12/03/reducing-inode-and-dentry-caches-to-keep-oom-killer-at-bay/


==vm.vfs_cache_pressure==
==vm.vfs_cache_pressure==

Revision as of 10:18, 29 October 2021

Tuning linux with sysctl


Links

Tuning memory

vm.swappiness

Percentage of free memory before activating swap.

Default is 60



Links

vm.vfs_cache_pressure

To free/clear cache:

echo 3 > /proc/sys/vm/drop_caches