Re: Completely disable Hibernation
- Date: Tue, 13 Mar 2018 22:22:58 +0300
- From: Abdullah Ramazanoglu <ar018@xxxxxxxxx>
- Subject: Re: Completely disable Hibernation
On Tue, 13 Mar 2018 14:34:44 -0400
Felix Miata <mrmazda@xxxxxxxxxxxxx> 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.