Re: how to let systemd hibernate start/stop the swap area?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 31 Mar 2023, Phillip Susi wrote:
> 
> Michael Chapman <mike@xxxxxxxxxxxxxxxxx> writes:
> 
> > What specifically is the difference between:
> >
> > * swap does not exist at all;
> > * swap is full of data that will not be swapped in for weeks or months;
> 
> That's the wrong question.

Nevertheless it was the question I was faced with. I had servers with a 
huge amount of memory, a fair bit of swap, and ALL of that swap filled 
with stuff that would need to be entirely swapped back in at some point at 
a moments notice.

The solution was simple: turn off swap. Now there was no "swap everything 
back in" penalty, and since there was plenty of RAM anyway the change had 
little impact on the behaviour of the rest of the system.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux