Wednesday, December 15, 2010

Weak current College】 【windows 7 differences between sleep and Hibernate.


1. run the process description
Vista first came out, I will be what sleep sleep these things got sleepwalk, took a long time to study and test it out. I also think that they are of little value, almost useless, and after a long time practice only realize the truth. First of all to share with you, to sleep and Hibernate mechanisms make it clear that I think most people should understand it. Note: this section with respect to the power of the description does not completely rigid, just one image.
1.1 desktop General sleep (hybrid sleep off), and XP standby is a mean, that is, in addition to memory all devices other than off, memory only DC power supply (no clock input, this very important), wake-up time to restore power to the other device, and returns the job status.
1.2 desktop xp hibernation, also has this feature, put all the data in memory storage to the hard drive of a continuous space, and cut off all power. At the time of recovery, the hard disk in the temporary storage of memory data recovery into memory, and returns the job status.
1.2.1 in the power plan, go to sleep and Hibernate in the time difference between set and, of course, in accordance with normal logic to the former than the latter. So when you go to sleep after no sleep timer, wake-up call, until to the point, the system will automatically put the memory data into hard drive, disconnect all power to the device, enter hibernation.
1.2.2 hybrid sleep, that is, when the hybrid sleep turned on. Start sleep, memory data at the same time be saved in the hard disk, and memory still with electricity, access to good sleep. If an unexpected power failure, the next time you start from the hard disk data recovery into memory, i.e. Hibernate. Of course, if you sleep the sleep timer to automatically trigger, hibernation, and then there is no longer an offering for the data dump, as has already been done before. So says hybrid sleep = sleep + hibernate, which prevents the sudden power loss leading to loss of data.
1.3 notebook of sleep and Hibernate, notebook and desktop operation system. In the context of a battery-powered sleep state when the battery is depleted, the system will automatically save the memory data into the hard drive and power off, enter hibernation. Thus, there are two events can trigger a notebook from sleep to sleep: a power plan in time to Hibernate, or battery power battery is exhausted.
1.3.1 when notebook received AC power goes to sleep, and then disconnect the AC power supply. Then when the sleep into hibernation, still from a power plan in power "then sharing" decision of the scheduled time. That is the sleep timer in entering the sleep time you set up, would not be subsequently remove the AC power, and the timer is set to "use battery-powered" plan.
1.3.2 on notebook of hybrid sleep, you may notice. Machines installed system, the default is the hybrid sleep turned on, in order to prevent access to sleep after a sudden power loss brought about by the loss of data. And notebook because of battery-powered, there's a sudden power loss. Even if the battery runs out of slow, this is also the harbinger of may, when the battery is drained into the hard drive data into the dormant state.
2. on the question of time
This should be the focus of controversy, and I would like to illustrate the point. There is no doubt that, in accordance with the time sorting, sleep is the fastest, followed by the sleep, the slowest is shutdown and power-on cold boot. Majority holding time reasons against people, basic is said "I have quickly direct cold start, you start slow because you don't understand the optimization". I first express a concept:
2.1 work status, this concept is important, it means you can immediately start working system state. I think for many people, some programs must be running, such as qq, msn, mail and other communications software, such as some office documents (word, excel, ppt), such as listening to music software, such as specialized software, such as open several folder (in Explorer). I was just like, everybody has his own work status, own work (here is the generalized mean, including entertainment games) status will have a group of open software, and system settings. Therefore, a programme is fast, the speed depends on it to enter the working condition of time, rather than purely startup time.
2.2 start State and status of work, some people just come on one side, and ignore the other side. Cold start slowly, especially slow because vista starts to load large amounts of dll to load large amounts of since the start of the program. On the reduction of the start of the Add-ons to optimize startup speed Internet are everywhere, but you are never a problem, the wool from sheep. The result is more by decreasing the startup item for faster startup speed, boot status and operating status of the farther away, you still have to take a long time from the start State to State. For example you have qq from startup items in the deleted, suppose your computer must be using qq, do you manually open the qq don't spend time? or that you feel that you manually click on the open than it started even faster?
2.3 sleep wake-up time advantages, with a simple example to illustrate. Imagine you are writing an article, open two Word documents and 1 ppt, 3-5 pages to find information on qq, msn, mail to communicate, play music software, also open several folders, may also have some specialized software such as visualstudio. Now you want to sleep, then write up tomorrow. Those who say that they optimize the power on, try it out and then shutdown the machine, a cold boot, enter the system after the software is fully open access work status to see how much time you want. Even if you start the tuning of the good, the configuration and then nb, I don't believe you can be in 2 minutes into the working state, I need at least 5 minutes. Wake from sleep, however, to enter the work status as long as less than 10 seconds, this estimate is still conservative, are included into the inputThe user password, and you may need to reconnect the adsl time, 10 seconds is enough. 10 seconds can immediately begin work!
2.3.1 example above is in fact universal significance, this is a habit of changing. It was previously used to close the front of the computer to save all documents to put an end to all programs, and then leave. While in sleep mechanism, advocate everyone at any time to go directly to press the sleep button, the on resume, you can immediately go back to their original state. The opening and closing time is omitted, this is the quintessence of sleep. Cases also contain other factors, such as cold start and reopen the Web page you want to spend time, and even find those pages (the shortcut is to find a historical record, or if you have previously joined the Favorites) to spend time, and sleep wake up after which you can directly read already opened the page. Then on top of that, suppose you want to sleep, or hostel to power off, and you play the game hasn't hit keep counting? are you willing to shutdown? sleep can be the perfect solution to this problem. Introduce the essence of sleep and Hibernate, it is the moment to retain the status of your work, let you come back you can immediately resume into the work, not only save time, save people's actions. If you just use it as a startup, that misconception.
2.4 dormancy and cold start, same is loaded from the hard drive, the speed of the sleep-recovery still faster than cold start on a lot, especially your work status complex. The reason is simple, and hard drive continuous reading and writing speed is very fast, but bad random reading and writing skills. From a cold start to the work of the State of the hard drive to read around, everywhere software loaded dll, the loaded document ... everywhere Restore from suspend, is from the hard drive continuous space to read the data back into memory, so the speed. Continue to section 2.3 2g memory, for example, if the computer from hibernation, contains the post and enter the password, time, costs will not exceed 60 seconds.
3. on the component wear and energy issues
This is the second main contention, in fact it also exists a lot of misunderstanding, if slightly learned some electronics, one of the reason is easy to understand. Suspend and shutdown are does not require any power, and have explained the hibernate on section to better than shutdown, this section comparison on many is the relationship between sleep and Hibernate.
3.1 power dissipation and rated power, as a general rule a chip to work, you need a DC power supply, you also need a clock pulse input. Cpu requires external input clock frequency certainly, this frequency is called FSB, which will automatically adjust the cpu internal core frequency equal to the number of times that the FSB is the multiplier. Memory has its operating frequency, what ddr667, ddr800 refers to the memory of the operating frequency to 333MHz and 400MHz, because the clock ddr is rising and falling edge separately conducted a data read and write, so it's clock frequency is the frequency of its data. A concept is important, in the system configuration, say for a device is turned off energy-saving, actually refers to turn off the device's clock control, DC power supply did not cut off. Chip in DC power access without clock, power consumption is called the chip power dissipation, it is very small, its rated power (dynamic power) than completely negligible.

3.2 sleep power consumption in sleep state, generally in addition to the memory of another device DC power supply is cut off, if you open the usb-enabled, then the usb is electricity. Such cases, the actual power consumption is only a memory power dissipation, in fact, this is very small. General Notebook battery time, if you only surf the net like working in a document, probably around 3 hours. However, to sleep, the last time I sleep 2 and a half days, restore look there are 78% of the power. 3 hours with photovoltaic cells, 50 hours for only 20% of the difference is this.
3.3 symbol loss problems, this fact and the almost, chip components of loss also occurs mainly when working at the clock, in the same static loss is negligible. As for Hibernate and cold boot drive loss of comparison, I do not have to say, to listen to the sound of your hard disk and duration of the differences.


No comments:

Post a Comment