Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
sysctl [2015/11/30 14:23] steve |
sysctl [2015/11/30 14:24] steve |
||
---|---|---|---|
Line 40: | Line 40: | ||
</code> | </code> | ||
- | See also [[https://en.wikipedia.org/wiki/Swappiness|the Wikipedia article]] for a reference. | + | [[https://en.wikipedia.org/wiki/Swappiness|Wikipedia references]] |
+ | |||
+ | * vm.swappiness = 0 - swap only to avoid an OOM | ||
+ | * vm.swappiness = 1 - minimum amount of swapping without disabling it completely | ||
+ | * vm.swappiness = 10 - recommended value when sufficient memory exists in a system |