A new post by Microsoft at Building Windows 8 blog reveals fast boot time in Windows 8. Windows 8 will boot faster than all previous Windows versions including Windows 7.
Here is what the official post says:
We designed Windows 8 so that you shouldn't have to boot all that often (and we are always going to work on reducing the number of required restarts due to patching running code). But when you do boot we want it to be as fast as possible.
Qualitatively, people say they prefer to shut down because they want to have their PC completely “off” so that it uses no power – either to preserve battery life or to reduce their energy use. Hibernate is also a good option for this since it similarly has no power draw, and many people really like it. However, it’s clearly not for everyone, since one of the other things we’ve heard is that many people want to turn their PCs on and have it be a “fresh start” rather than running all of the stuff from their previous session. Sleep/resume is the best option for fast on/off transitions on today’s PCs, but it still consumes some power in order to preserve the contents of RAM, which means battery drain – even if it’s only a little bit on a well optimized system. All of this is happening with the backdrop of how we all use our mobile phones today, which is almost never restarting them, and always using what feels closest to a sleep-like state.
Our challenge then, was to design a way to meet all of these desires on today’s PCs without requiring some special new hardware. These were our goals:
- Effectively zero watt power draw when off
- A fresh session after boot
- Very fast times between pressing the power button and being able to use the PC.
In Windows 7 we made many improvements to the boot path, including parallel initialization of device drivers, and trigger-start services, but it was clear we’d have to get even more creative (and less incremental) if we hoped to get boot performance anywhere close to fast enough to meet all of these needs.
Our solution is a new fast startup mode which is a hybrid of traditional cold boot and resuming from hibernate.
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).
It’s faster because resuming the hibernated system session is comparatively less work than doing a full system initialization, but it’s also faster because we added a new multi-phase resume capability, which is able to use all of the cores in a multi-core system in parallel, to split the work of reading from the hiberfile and decompressing the contents. For those of you who prefer hibernating, this also results in faster resumes from hibernate as well.
Another important thing to note about Windows 8’s fast startup mode is that, while we don’t do a full “Plug & Play” enumeration of all drivers, we still do initialize drivers in this mode. Those of you who like to cold boot in order to “freshen up” drivers and devices will be glad to know that is still effective in this new mode, even if not an identical process to a cold boot.
This new fast startup mode will yield benefits on almost all systems, whether they have a spinning HDD or a solid state drive (SSD), but for newer systems with fast SSDs it is downright amazing. Check out the video below to see for yourself:
Of course, there are times where you may want to perform a complete shutdown – for example, if you’re opening the system to add or change some hardware. We have an option in the UI to revert back to the Windows 7 shutdown/cold boot behavior, or since that’s likely a fairly infrequent thing, you can use the new /full switch on shutdown.exe. From a cmd prompt, run: shutdown /s /full / t 0 to invoke an immediate full shutdown. Also, choosing Restart from the UI will do a full shutdown, followed by a cold boot.
If you don't see a video here or can't play it, download it using following links:
That's superb news. It just took 8 seconds to boot in the video...
This article was posted by VG in following section: Windows 8.
If you enjoyed this article, subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our popular articles and archive to read other interesting articles.
randomcore
Hibernation is no option for me, because i'm using TrueCrypt. If a PC goes into hibernation mode with encrypted drives opened, the key remains in memory and can be read out using tools like Passwares Password Recovery Kit
win8ismetro
now that is fast as all hell wicked stuff someone needs to leak that version of windows 8 i wanna test it on my oldest machine its a pentuim 3 and 256 mb of ram with a 40gb hardrive and a intel crappy video card with 32mb of memory it ran windows 7 windows vista and windows xp very fast the boot up took 4 sec on each so this should be fun
Said Sikira X
RE: win8ismetro
what a troll, windows 7 on pentium 3 and 256 mb of RAM
hahahahaha
senthil
good job ms team!
Yvidhiatama
I spot, a new boot screen that has a circle shape and a new start screen. Hehe.. Is the boot screen new? And what animation is it?
Ahmad
@Yuidhiatama
It was HP logo, if I am not wrong, not a boot screen.
Faster boot will be for UEFI enabled boards, also this test is with 160 GB SSD so it is expected to be fast. Windows 7 in on test just took 21 sec over UEFI board and with SSD it will be just 15 sec in my opinion.
win8ismetro
i wasnt kidding all you have to do is change a file before you burn the dvd and bam easy as pie any moron can do it windows 7 was made with a limit of 512 mb of ram needed then the hackers made a patch to remove the limit so all you need is 64mb of ram and all you need is poweriso to edit the iso file replace a file after thatsave it in a bootable format then go install it runs fast and very well i been with windows from the first build to the final just cause you cant do it doesnt mean it cant be done
win8ismetro
and even windows 8 works on that pc do i need to upload a video for you
Jeet Chowdhury
dont know but after hibernt when i resume my pc. On desktop it hang or slow 4 5min atleast.
MuTz777
wOw. No comment...
MuTz777