News for hackers. Stuff that matters.
Re:Making hibernation work under Linux Lockdown by jeffbee on Saturday February 27, 2021 @03:14PM (#26287746)
But what's the real value over a cold boot? Wake from hibernate takes a lot longer than a cold boot, and to me it doesn't seem to save any time.
Re:Making hibernation work under Linux Lockdown by watermelon0 on Saturday February 27, 2021 @03:25PM (#26287829)
You don't lose open apps, files, tabs, etc., so your work is not interrupted.

I've not perceived any time difference between cold boot and wake from hibernation, on a decently fast SSD.

Re:Making hibernation work under Linux Lockdown by l3s2d on Saturday February 27, 2021 @03:26PM (#26287844)
Which OS are you using? I've never noticed a difference between cold boot and hibernate on Linux.
Re:Making hibernation work under Linux Lockdown by bscphil on Saturday February 27, 2021 @04:03PM (#26288153)
Anecdata: back in the days when I was using Ubuntu (pre-Unity) on what was even at the time moderately old hardware, there was an obvious difference. Standard bootup took 20-30 seconds, resuming from hibernation took multiple minutes.

Just thinking about it on an abstract level, it's not that unintuitive that resuming from hibernation should be slower than both cold boot and resuming from sleep. When you cold boot you need to load the kernel and startup programs into memory. With hibernation you need to load the whole previous operating state into storage, which is going to mean multiple GBs need to be read from your swap partition into memory. It's not hard to imagine that on many systems the hard drive will be the slowest piece of hardware.

Re:Making hibernation work under Linux Lockdown by jeffbee on Saturday February 27, 2021 @03:47PM (#26288004)
Are you sure you're including the amortized lifetime cost of whatever you had to do / whatever you will have to do to troubleshoot Linux resume-from-disk?

I kid, but I do use Linux, it's just a Linux that doesn't even offer hibernate and boots cold in one second: ChromeOS.