Sleep,Hibernate and Hybrid

Sleep is a power-saving state that allows a computer to quickly resume full-power operation (typically within several seconds) when you want to start working again. Putting your computer into the sleep state is like pausing a DVD player—the computer immediately stops what it’s doing and is ready to start again when you want to resume working.

睡眠时硬盘关闭,内存处于活动状态,CPU处于半活动状态,系统状态保存在内存中,当系统被激活(动下Mouse,或者键盘上的Key),系统马上回到睡眠前的状态

Hibernation is a power-saving state designed primarily for laptops. While sleep puts your work and settings in memory and draws a small amount of power, hibernation puts your open documents and programs on your hard disk, and then turns off your computer. Of all the power-saving states in Windows, hibernation uses the least amount of power. On a laptop, use hibernation when you know that you won't use your laptop for an extended period and won't have an opportunity to charge the battery during that time.

休眠主要是为笔记本设计的功能,当你选择休眠时系统会把内存里的所有数据存放在硬盘上(默认C:\hiberfil.sys),然后就是关机的流程了,当你下次打开电脑时,系统会把之前存放的文件再读回到内存,这样你就回到了休眠前的状态了(如哪些程序和窗口是开着的)

Hybrid sleep is designed primarily for desktop computers. Hybrid sleep is a combination of sleep and hibernate—it puts any open documents and programs in memory and on your hard disk, and then puts your computer into a low-power state so that you can quickly resume your work. That way, if a power failure occurs, Windows can restore your work from your hard disk. When hybrid sleep is turned on, putting your computer into sleep automatically puts your computer into hybrid sleep. Hybrid sleep is typically turned on by default on desktop computers.

Hybird主要是为台式机设计的,是睡眠和休眠的结合体,当你选择Hybird时,系统会像休眠一样把内存里的数据从头到尾复制到硬盘里(C:\hiberfil.sys),然后进入睡眠状态,即内存和CPU还是活动的,其他设置不活动,这样你想用电脑时就可以快速恢复到之前的状态了

问题1.睡眠时突然断电了,会出现什么状况?

答:睡眠时内存中的文件都Crash,数据也丢了。

问题2.Hybrid为什么是针对台式机设计的?

答:如果台式机睡眠,突然断电,那么就会发生数据丢失的状况(即问题1),如果使用Hybrid,突然断电后内存里的数据会丢失,但是之前存了一份在硬盘文件里。也就是说Hybrid期间,如果断电了,Hybrid等于休眠;如果没断电,Hybrid等于睡眠。

Sleep适用于笔记本和带有UPS的台式机

Hibernate都适用

Hybrid适用台式机(笔记本有电池,所以它是不需要Hybrid的)

猜你喜欢

转载自www.cnblogs.com/sundahua/p/9632127.html