Sysctl: Difference between revisions

From DWIKI
(Created page with "Tuning linux with sysctl https://klaver.it/linux/sysctl.conf https://wiki.mikejung.biz/Sysctl_tweaks")
 
mNo edit summary
Line 1: Line 1:
Tuning linux with sysctl
Tuning linux with sysctl


https://klaver.it/linux/sysctl.conf
 
https://wiki.mikejung.biz/Sysctl_tweaks
=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==
 
Default is 60
 
 
 
==vm.vfs_cache_pressure==
 
To free/clear cache:
echo 3 > /proc/sys/vm/drop_caches

Revision as of 14:41, 24 April 2019

Tuning linux with sysctl


Links

Tuning memory

vm.swappiness

Default is 60


vm.vfs_cache_pressure

To free/clear cache:

echo 3 > /proc/sys/vm/drop_caches