Sysctl

From DWIKI

Tuning linux with sysctl


Links

Tuning memory

vm.swappiness

Percentage of free memory before activating swap.

Default is 60



Links


vm.vfs_cache_pressure

Clear cache:

echo 1 > /proc/sys/vm/drop_caches

To free/clear all caches:

echo 3 > /proc/sys/vm/drop_caches