Wow, Windows 8 boots under 10 seconds!

Posted by bink on September 9 2011, 9:40 PM.

Windows 8 boots under 10 seconds on most PC’s trick is to resume from a hibernated kernel session:

 

….in a traditional shutdown, we close all of the user sessions, and in the kernel session we close services and devices to prepare for a complete shutdown.

Now here’s the key difference for Windows 8: as in Windows 7, we close the user sessions, but instead of closing the kernel session, we hibernate it. Compared to a full hibernate, which includes a lot of memory pages in use by apps, session 0 hibernation data is much smaller, which takes substantially less time to write to disk. If you’re not familiar with hibernation, we’re effectively saving the system state and memory contents to a file on disk (hiberfil.sys) and then reading that back in on resume and restoring contents back to memory. Using this technique with boot gives us a significant advantage for boot times, since reading the hiberfile in and reinitializing drivers is much faster on most systems (30-70% faster on most systems we’ve tested).

See video: High quality MP4 | Lower quality MP4

Bar chart comparing Windows 8 fast startup times to Windows 7 cold boot times on 30 different PC configurations. The Windows 8 startup times are all between 15 and 33 seconds, while the Windows 7 cold boot times are between 25 and 72 seconds.

See full atrticle:

Delivering fast boot times in Windows 8 - Building Windows 8 - Site Home - MSDN Blogs