Linked by diegocg on Sun 13th May 2012 23:48 UTC
Linux Lennart Poettering, the author of systemd, has announced: "I just put a first version of a wiki document together that lists a couple of easy optimizations to get your boot times down to [less than] 2s. It also includes a list of suggested things to hack on to get even quicker boot-ups."
Thread beginning with comment 518065
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:


"Does sleep/hibernation support in drivers really add complexity, or just require drivers to be written correctly?"

It's both actually.

Unless the system is placed in light sleep where peripherals continue to draw power, they will have to be reinitialized upon restart, but now we need new mechanisms to ensure the OS state that was saved to disk upon hibernation can be fully restored. This kind of state synchronization is far from trivial, especially when there are physical bus changes between hibernation sessions like USB devices being changed around.

"Also, saving the state of the 30+ terminal and app windows I have open is not simple for my desktop -- no desktop I've ever used has done it correctly."

Yeah unfortunately most applications and operating systems weren't designed to enable applications to save and restore their session state. I have read about an OS/API that does it though, despite searching I wasn't able to find it's name again though.

Hibernation adds shutdown delays, although these are less annoying that bootup delays. In theory though, a well tuned normal bootup should beat a hibernation bootup because hibernation saves and restores fragmented ram, which is wasteful.

Reply Parent Score: 2