reduce_swappiness
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
reduce_swappiness [2014/05/22 08:14] – admin | reduce_swappiness [2014/05/22 09:18] – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
If you have enough RAM, then you can reduce swappiness and thus avoid writes to swap. | If you have enough RAM, then you can reduce swappiness and thus avoid writes to swap. | ||
- | * Check current setting: < | + | * Check current setting: < |
+ | cat / | ||
* Change setting, edit **/ | * Change setting, edit **/ | ||
- | + | vi / | |
- | vi / | + | vm.vfs_cache_pressure=50</ |
- | | + | |
- | vm.vfs_cache_pressure=50</ | + | |
* Then activate the change. < | * Then activate the change. < | ||
reduce_swappiness.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1