Peter Nicolai Mathias Hansteen <[email protected]> wrote: > > 15. jan. 2022 kl. 15:52 skrev Mikolaj Kucharski <[email protected]>: > > > > I see. What would be recommented equation for a swap size, to have > > working hibernation, given an X bytes of physical memory? > > For hibernation to work you need swap at least equal to the size of the > machine’s physical memory if I remember correctly.
That is incorrect. The payload is compressed RLE of in-use memory, after discarding cached memory. It is not a 1:1 copy of physical memory. Upon resume, you see the number. It tends to be way less than 1/4 of memory, but it is hard to say.
