The secret of Win8 speed start

  
For Win7 systems, the traditional push-button power-on process is like this:
Step 1: Find the master boot record (MBR) on the hard disk, then the MBR reads the hard disk partition table (DPT).
The second step: find the active primary partition, read the partition boot record of the active primary partition, the reporter finds the BOOTMGR under the partition directory according to the boot record.
Step 3: BOOTMGR reads the bootbcd file and lists the operating system boot menu according to the bcd record, then loads winload.exe and then loads the Win7 kernel.
Step 4: Load the necessary hardware and services into the Win7 desktop.
From the above startup process, we can know that the first step and the second step are the hardware reading before the operating system starts. This has nothing to do with the operating system version. For the third step, the Win8 boot kernel is roughly the same as Win7. Therefore, the secret of Win8's rapid booting is the fourth step of the startup (this is also the most time-consuming step in the whole boot process), which is the hybrid hybrid startup technology (HybridBoot) of Win8.
The hybrid boot technology introduced by Win8 is realized through the expansion of sleep technology. Traditional hibernation means that the system automatically dumps all the data in memory into a hibernation file (ie C:hiberfil.sys). Then it will cut off the power supply of all devices to sleep. During the recovery operation, the system reads the data that was last transferred to the C:hiberfil.sys file, and the original operation state is restored after the reading is completed.
Win8 sleep has been further improved, but when we choose sleep shutdown in Win8 (single machine menu power button), Win8 will compress most of the system's core systems, such as drivers, system services, etc. Memory, then write the Metro program to the swap file by processing the user data into the hiberfil.sys hiberfil.sys (that is, the user's current working state, such as an open Word document) (ie Win8 added C:swapfile.sys) , that the Metro program will automatically hang to run in the background). When the data is completely written, Windows notifies the firmware to shut down. So when we press the power button next time (provided that the power is not disconnected, the computer is still powered), the system will directly wake up the system memory to start the last written data, then read the hibernation file and exchange The file is then rendered in the state of the last shutdown, which is Win8's hybrid boot technology. As shown below:

Obviously, the speed of Win8 hybrid startup is dependent on the last sleep shutdown. This new technology is ready for the next boot from the last shutdown (Province Go to the system kernel, hardware and the time required for each service initialization). Because the memory read and write speed is very fast, and the saved data is successfully loaded after the last time it has entered the system (such as the automatically started service, the hardware device of the add-on), so the time spent by Win8's hybrid technology startup actually The above is "Read memory data + time to read hibernation files and exchange time files". The definition of boot time mostly refers to the time when the power button is pressed to the desktop (not including the time taken to start the program). The Win8 mixed boot time mainly refers to the time taken to read the memory data. Because the memory read and write speed is faster, this memory read time (8 seconds) is very likely for a computer with a higher configuration, which is the secret of the 8 seconds boot of the desktop on the Win8 conference!
The following figure shows the comparison of Win7 and Win8 boot speed:

Copyright © Windows knowledge All Rights Reserved