Swap control How to set when swap is used
Posted: Sat Sep 05, 2020 6:06 pm
Swapeness control is in
/etc/sysctl.conf
Change or adding the line
The number is the percentage point of how much free RAM there is.
When free RAM reaches this point, swap is used.
Set with the value to your preference.
How to Manage Swap Usage in Linux
https://www.maketecheasier.com/manage-swap-usage-linux/
/etc/sysctl.conf
Change or adding the line
Code: Select all
#Set swappiness value
vm.swappiness=10
When free RAM reaches this point, swap is used.
Set with the value to your preference.
How to Manage Swap Usage in Linux
https://www.maketecheasier.com/manage-swap-usage-linux/