Sysctl: Difference between revisions
From DWIKI
m (→vm.swappiness) |
m (→vm.swappiness) |
||
Line 9: | Line 9: | ||
=Tuning memory= | =Tuning memory= | ||
==vm.swappiness== | ==vm.swappiness== | ||
Percentage of free memory before activating swap. | |||
Default is 60 | Default is 60 | ||
Revision as of 12:11, 12 July 2019
Tuning linux with sysctl
Links
- https://www.kernel.org/doc/Documentation/sysctl/vm.txt
- https://klaver.it/linux/sysctl.conf
- https://wiki.mikejung.biz/Sysctl_tweaks
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