The secret of Win8 switch speed improvement: Why is it faster than Win7?

  
After installing Win8, many people have experienced the amazing speed of their switch, especially the boot speed. Compared with Win7, it is not only a little bit better. On some ultrabooks and machines equipped with SSDs, the speed of the switch can be within a few seconds. For example, Surface Pro, in fact, the test system boot speed is 2 seconds, from start to automatic login to the start screen as long as 6 seconds.
What is the technology that improves the speed of the Win8 switch? If you want to summarize in the simplest sentence, it should be "system session hibernation", or simpler, "hybrid shutdown."

In the previous Windows OS, the typical shutdown sequence was:
1. Click "Shutdown".
2. Windows Broadcast runs the application shutdown information, allowing the application to save data and settings. The application can also ask for some extra time to end its current work.
3. Windows closes the user session for each logged in user.
4. Windows sends a shutdown message to the service, notifying that the shutdown has started, and then shutting down the service. If the service does not respond, the system will force the shutdown.
5. Windows broadcasts a message to the device, indicating that the device is shutting down.
6. Windows closes the system session (also known as "session 0").
7. Windows refreshes the system drive pending data to ensure full save.
8. Windows sends a signal to the system through the ACPI interface to power down the computer.
Looking at the typical shutdown steps above, do you also think about the UI performance on the screen corresponding to some steps~
Let's take a look at the main steps of the hybrid shutdown used by Windows 8:
1. "Shutdown".
2. Windows Broadcast runs the application shutdown information, allowing the application to save data and settings. The application can also ask for some extra time to end its current work.
3. Windows closes the user session for each logged in user.
4. The system session is dormant and powered down.
It is visible that Windows 8 only closes the user session and does not completely shut down the computer as before. At this point, Windows no longer waits and ends the system service and closes session 0, but puts it to sleep. This practice of shutting down user sessions + hibernation system services and system sessions is called "hybrid shutdown" and it is not difficult to understand.
Or it's a common point, it's like you need to assemble a professional mop before you clean it. After you have assembled it, you can start cleaning. Now, you can pick up the mop and start cleaning directly, because after you last cleaned, you didn't disassemble the mop as before.
The boot is a reverse process of shutdown, so with a hybrid shutdown, the boot is naturally faster. However, in addition to the RAID card, the general hard disk read speed will be slightly faster than the write speed, plus the system will notify and wait for the application to exit when shutting down, so from the senses, the boot process will appear faster than the shutdown process. some.
Copyright © Windows knowledge All Rights Reserved