But the swap partition is only used when you run out of ram right? If I have enough ram I should not worry about that.
No, it's used much more often. How often is determined by a value called swapiness.
100% this. An aggressive memory manager could preemptively write everything from memory to swap even though it's still in memory, in case it has to evict it quickly.
But the swap partition is only used when you run out of ram right? If I have enough ram I should not worry about that.
No, it's used much more often. How often is determined by a value called swapiness.
100% this. An aggressive memory manager could preemptively write everything from memory to swap even though it's still in memory, in case it has to evict it quickly.