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.
[ Parent
| on HN ]
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.