Hibernation: what is it and how does it work?

Often, users of a personal computer ask themselves: “Hibernation - what is it and how does it work?”. We will try to figure it out now, because this mode is very useful in many cases and significantly saves time.

Principle of operation

To answer the question: “Hibernation - what is it?”, I must say that we are talking about
computer sleep mode, which should not be confused with sleep. This feature has been implemented in current versions of the Windows operating system.

hibernation what is it

If we figure out what the hibernation mode of a computer is in its practical application and how it works, we note that when this function is activated, the computer turns off completely. However, before shutting down, the computer saves all applications, windows, and programs in which you worked, if you did not close them during the activation of this feature.

Software support

If you understand the question: “Hibernation - what is it at the software level?”, You need to say that the mode is implemented through the file “hiberfil.sys”. It is in this application that all data is recorded at the time the specified mode is launched.

what is computer hibernation mode

This file is located in the root of the main drive, while it (similar to the swap file) is a system resource, that is, by default it is not displayed in the directory. Note that the file size is equal to the amount of RAM on your computer.

On practice

Now we’ll talk about how to establish hibernation and consider an example of how this mode works. Imagine the following situation: you work simultaneously with

how to set hibernation
a large number of programs on your computer - you edit the image in Photoshop, use the browser through which you study the space of the Internet, listen to music and print in the Word text editor. Thus, a certain creative disorder is born, from which one does not want to refuse at all. Suddenly, you suddenly need to urgently go away on business for a few hours. However, you do not want to leave the computer turned on for a long time, and at the same time close all of the listed programs, saving each of them, there is no desire. Then you can activate the hibernation mode described above. Thanks to this solution, all the state of the current operating system will be recorded on the hibernation file space at the time of activation of the mode. After saving all the data, the computer will turn off automatically. During the next start-up, the Windows operating system will take the necessary data from the above file and restore the system to the state it was in during the last shutdown. Simply put, turning on your computer, you will again see the programs and windows that were active when the mode was activated. Thus, we figured out the definition and functions. Obviously, the mode is incredibly convenient, but it is worth remembering that for its implementation it constantly needs free space on the main disk, which is equal to the amount of RAM. So we figured out the question: "Hibernation - what is it?", And also described the principle of the regime.

Source: https://habr.com/ru/post/C45282/


All Articles