Pages

Tuesday, December 4, 2012


Secret Windows 8 Boot Times were very fast


Boot times are one of the important things in the operating system. Of course, we do not like the name waiting. Moreover, we are ready to wait for Windows to use. When you first use Windows 7, I found that the boot timenya is shorter. And so, I do not have to wait long, now, Windows 8 come out and surprise my eyes, because it managed to boot with a time of 8 seconds.

Data from the user's computer that 57% of PC users and 45% of laptop users shut down the computer than they do Sleep. Basically, half of the average Windows user - the average do Shut down than Sleep.



Those people are basically thought it best to shut down because they want their PC really "off" and shut down the process does not require power. Of course, to keep the battery life and reduce energy use. Hibernate is a good option as well as Hibernate does not require power to do so, and many people are using Hibernate. But, not everyone does Hibernate.

People think because they want to turn on the computer is "Fresh". So, shut down is the most widely use than Hibernate. While the Sleep / Resume is a rapid method for direct work to the computer. Because, when we resume in 2 seconds, the PC is ready for use.

To that end, Microsoft is thinking to design Windows that follow the criteria desired by the user. This is the ultimate goal of Windows:

  • Does not require power
  • Fresh session after boot.
  • Span of time between pressing the power button and use the computer very quickly.
In Windows 7, Microsoft has done a lot in terms of boot time. Including parallel initialization of device drivers and trigger-start services. Still, the time it takes to boot is a bit long.

Before I explain how, Windows 8 boot time just 8 seconds. I will discuss how the Shut down and boot a simple way:

  1. Computer users press the "Shut down" in the start menu. Then the application will shutdown by calling APIs like ExitWindowsEx () or InitiateShutdown ().
  2. Windows will tell you if any programs are still running, giving us a chance to make the save on our work.
  3. Windows will close the user sessions in each active user.
  4. Windows sends a message to the service that the shutdown process will run, and the gradual shutdown. If the service does not respond, then Windows do so by force.
  5. Windows sends a message to the device, the shutdown will run.
  6. Windows closed session for the system (also known as "session 0")
  7. Windows checks all data pending on the system drive to check that it is stored securely.
  8. Windows sends a signal via the ACPI interface to the system to stop the power to the PC.
Booting process is as follows:

  1. After pressing the power button, the firmware of the PC running the Power-On Self Test (POST) and loads firmware settings. Pre-boot disk that ended when valit been detected.
  2. Firmware read the Master Boot Records (MBR), and run Bootmgr.exe. Bootmgr.exe found and begin the process of the Windows loader (Winload.exe) on the Windows partition.
  3. Essential drivers needed to start Windows Kernel to Kernel is loaded and started to walk, loading the Registry of memory and some marked with BOOT_START driver.
  4. Then the kernel handing control to the session manager process (Smss.exe) which will make the system session, and perform load and start the devices and drivers that are not marked with BOOT_START.
  5. Winlogon.exe will run, the user logon screen appears, the service control manager will start services, and Group Policy will run well. The three user logs in, create a session for Windows users.
  6. Explorer.exe starts, and the system makes the desktop window manager (DWM), which will start the desktop and display it.


The key point to remember is that in a traditional shutdown, Windows did the closing on all user session, and the kernel session, Windows closing services and devices to prepare for a complete shutdown.

Now, there are some things that make a difference Windows 8 with Windows 7, Windows did the closing on the user sessions, but not the kernel session. Kernel session had "Hibernate". Therefore, Windows can do a boot time trimming it effectively. Instead of having to close all sessions in the Kernel, do Hibernate is wise

The key point to remember is that in a traditional shutdown, Windows did the closing on all user session, and the kernel session, Windows closing services and devices to prepare for a complete shutdown.

Now, there are some things that make a difference Windows 8 with Windows 7, Windows did the closing on the user sessions, but not the kernel session. Kernel session had "Hibernate". Therefore, Windows can do a boot time trimming it effectively. Instead of having to close all sessions in the Kernel, do Hibernate is wise

The key point to remember is that in a traditional shutdown, Windows did the closing on all user session, and the kernel session, Windows closing services and devices to prepare for a complete shutdown.

Now, there are some things that make a difference Windows 8 with Windows 7, Windows did the closing on the user sessions, but not the kernel session. Kernel session had "Hibernate". Therefore, Windows can do a boot time trimming it effectively. Instead of having to close all sessions in the Kernel, do Hibernate is wise
The key point to remember is that in a traditional shutdown, Windows did the closing on all user session, and the kernel session, Windows closing services and devices to prepare for a complete shutdown.

Now, there are some things that make a difference Windows 8 with Windows 7, Windows did the closing on the user sessions, but not the kernel session. Kernel session had "Hibernate". Therefore, Windows can do a boot time trimming it effectively. Instead of having to close all sessions in the Kernel, do Hibernate is wise

t certainly makes the boot time of Windows 8 is very fast, because the "Hibernate" in session for a lighter system than to reopen the process that was already closed when the Shut down. And also, the other is a secret Microsoft has added a new multi-phase resume capatibility, which will make all the cores on the processor-core mutl to create a boot that parallel, to split the work into all cores.


0 comments:

Post a Comment