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

Re: Is there any way to STD in Debian?



On 26.09.2024 19:38, Nicholas Geovanis wrote:

On Thu, Sep 26, 2024, 9:23 AM Alexander V. Makartsev <avbetev@gmail.com> wrote:
On 26.09.2024 14:51, YOYO wrote:
Hello everyone,
Recently, I need to cut off power supply with all my running tasks saved.
But it seems that the hibernate mode provided in Debian only allows me to 
Suspend to Ram(STR, or S3 mode in ACPI).
Is there any way to Suspend to Disk (STD, or S4 Mode in ACPI) in Debian?
Thank you for your replies in advance.

Best Regards,
Richard
Do you have a swap partition? It has to be sufficient in size and is necessary for Hibernation to work.

Do the usual rules-of-thumb for swap sizing apply in the case of hibernation? Or should it be larger than that?
My PC has 48GB of RAM and 8GB swap partition, so I have to check how much memory is used with "$ free -h" before hibernation.
In my case it is usually around 6GB, after I close some memory hogs (VMs) and "sync" storage, so 8GB swap partition is enough for me.


--
 With kindest regards, Alexander.
 Debian - The universal operating system
 https://www.debian.org

Reply to: