Win8, the secret of the speed launch.

Source: Internet
Author: User
Tags sleep

For the Win7 system, the traditional Press power button boot process is this:

First step: Locate the master boot record (MBR) on the hard disk, and then the MBR reads the hard disk partition table (DPT).

Step Two: Locate the active primary partition, read the partition boot record of the active primary partition, and the reporter finds the bootmgr under the partition directory according to the boot record.

Step three: Bootmgr reads the BOOTBCD file and lists the operating system boot menu based on the BCD record, loads the winload.exe, and then loads the Win7 kernel.

Step Fourth: Load the necessary hardware and services into the Win7 desktop.

From the above boot process we can know that the first and second steps are the hardware reads before the operating system starts, which has nothing to do with the operating system version, and for the third step, the Win8 boot kernel and Win7 are roughly the same. So the secret of WIN8 's rapid boot is the fourth step (which is the most time-consuming step in the boot process), which is the WIN8 new hybrid Boot technology (hybridboot).

The hybrid start-up technology introduced by Win8 is realized through the extension of sleep technology. Traditional hibernation means that the system automatically converts all of the data in memory to a dormant file (that is, C:hiberfil.sys). It will then disconnect all equipment from the power supply into hibernation. During the recovery operation, the system reads the last data that was transferred to the C:hiberfil.sys file, and then restores the original operation state.

Win8 Sleep has done a further improvement, but we Win8 choose Sleep Shutdown (Single machine menu power button), Win8 will most of the system's core system, such as driver, system services, such as compression to memory, and then through the processing of user data into the hibernation file Hiberfil.sys ( That is, the user's current working status, such as the open Word document, will be the Metro program written to the Exchange file (that is, Win8 new C:swapfile.sys, the Metro program will automatically suspend to the background operation). When the data is all written, Windows notifies the firmware to shut down. So the next time we press the power button (if the search power is not disconnected, the computer is still in the power state), the system will directly wake up the system memory to start the last written data, read the hibernation file and swap files, and then the last shutdown state rendering, this is the WIN8 hybrid boot technology. As shown in the following illustration:

Obviously, the speed at which the Win8 hybrid starts is dependent on the last sleep shutdown, and the new technology is ready for the next boot from the last shutdown (eliminating the system kernel, hardware, and the time it takes to initialize the services). Because memory is read and written fast, this saves the data that was successfully loaded after the last time you entered the system (such as a service that starts automatically, a hardware device for add-ons), so the time it takes to start the Win8 hybrid technology is actually "read the memory data + read the hibernation file and swap time files." Most of the definition of boot time refers to the time that the power button is pressed to the desktop (excluding the time it takes to start the program), and the Win8 mixed boot time is mainly the time spent reading the memory data. Because memory is read and write faster, so for a higher computer, this memory read time (8 seconds) is very possible, this is the WIN8 press conference on the desktop 8 seconds to boot the secret!

The following figure shows a comparison of Win7 and Win8 boot speeds:

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.