Make sure we have some overlap with when it swaps and the left memory space.

30 means, start using swap when <=30% of free memory is left
we reserve 20% of space for ZRAM compressed SWAP meaning 10% safety

This 10% margin feels safer then the hard 80/20 ratio we had.
This commit is contained in:
j1nx 2021-03-02 13:36:55 +01:00
parent 97608c67cd
commit 364d8be816
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
vm.swappiness = 20
vm.swappiness = 30