Originally posted by starshipeleven
View Post
Announcement
Collapse
No announcement yet.
LG Has Been Working On Reduced Boot Times With Hibernation Optimizations
Collapse
X
-
Originally posted by carewolf View PostThat's not quite the same. It suspends to both disk and memory so that in case it loses power can still restore. It doesn't start with sleep and then to hibernation when battery runs low or after a set amount of time.
Comment
-
Originally posted by pal666 View Posthybrid suspend is exactly "start with sleep and then to hibernation" "after a set amount of time". i think amount of time is fixed, but that should be easy to change
Comment
-
Originally posted by carewolf View PostYou mean in systemd? I read it as if it would only go to hibernation if the battery ran out (it would prepare for it, so hibernation would be the backup in case that happened).
Comment
-
Originally posted by carewolf View Post
I wish somebody would implement a hybrid mode for Linux. But it might require some hardware assist to first bring the computer out of sleep-mode on a certain trigger.Last edited by yturmisil; 28 August 2019, 06:00 AM.
- Likes 1
Comment
-
Originally posted by pal666 View Postit won't make slow flash faster
Furthermore, as RAM size increases, it becomes more and more costly to save it to flash and restore it. Especially slow flash. Well, we HAVE to flush before yanking power, and have to restore whole ram to its state before it going to be operational. Clean booting could imply less RAM use, to begin with. Yes, at cost of loss of state, but I bet we can live with it for stuff like TVs, cameras and other "devices". Not to mention it brings device to clean, well defined and well tested operational state. Something people generally expect from devices like TVs, cameras and so on.
Furthermore, "clean" boot can provide "progressive" feedback, defer un-important initialization and loading, etc. Say, users are unlikely to notice e.g. network interface got up and configured few seconds later, etc. Just because they are rather unlikely to use it that fast. Especially on TV. Furthermore, RAM restore comes with rather unique quirks. Say, apps can be dead sure they established that connection. But it timed out long ago - on other side of link, who tired of waiting for (inactive) system. Sure, eventually some apps would get idea, kernel would eventually face errors, return that to apps, etc. However it still calls for live-looking facade when you actually have quite a zombie. And there are plenty of not so trivial things to sort out. Maybe that's why mentioned approach got only relatively limited use to the date. I'm a bit skeptical about LG being a "game changer" in this regard.
And uhm, if we're about this kind of suspend, the best I know is ... suspend to RAM and ensuring it stays energized. This way it at least avoids need to read RAM content from slow storage - so it could at least enjoy "instant" wakeup, at cost of being volatile and some side-effects. Its also possible to have hybrid approach, both saving state and going RAM, restoring it from storage if power lost, or just wakin up if it isn't case. But it implies at least slow shutdown time since RAM have to be flushed out.Last edited by SystemCrasher; 11 September 2019, 02:51 AM.
Comment
-
Originally posted by starshipeleven View PostGuess what? LG is interested in devices with a GUI here.
Comment
-
Originally posted by SystemCrasher View PostAnd so you can see how ppl managed to boot Qt based GUI in shy 0.3 second on boring and dated 1-core omap 3.
But uhm I'm dead sure LG is just some mediocre company which likely lacks expertise to do anything comparable.
Comment
Comment