Sysctl: Difference between revisions

From DWIKI
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

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