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

Re: Completely disable Hibernation

On Tue, 13 Mar 2018 14:34:44 -0400
Felix Miata <mrmazda@earthlink.net> wrote:

> An additional option to answer the original question would be to
> reconfigure swap to be smaller than the amount of installed RAM.

Swap space needed for hibernation is considerably less than available
RAM. It is reported in "/sys/power/image_size". E.g. I have 4G RAM and
I need just 1,5G swap to be able to hibernate.

~$ cat /sys/power/image_size

So I would suggest a swap size of about a quarter of physical RAM in
order to make hibernation impossible.

Abdullah Ramazanoglu

Reply to: