在windows中如何正确设置待机与休眠How to set standby andsleep correctly in Windows
How to set standby and sleep correctly in Windows
A friend asked: one is editing the manuscript and studentscalled out to dinner, he may feel that the time is long, thecomputer is set to the standby state, the results came backafter not back to normal and the previous work was in vain. Fromthis encounter, the reader raises the question: "what is thematter of waiting and dormancy?"What is the difference betweenthem?
How to get into standby and sleep
Press "start + shutdown", and in the pop-up window, you' ll seethe last item is "standby"". How can there be no dormancy?Originally, the system is not enabled by default sleep, we needto set up their own, in the control panel, double-click the"Power Options" switch to "sleep" tab, check "enablehibernation" (see Figure 1) , you can see the "dormant" off themenu.
Advanced power management for computers
To master standby and sleep, you must first understand thefollowing two knowledge: ACPI and APM.
1. what is ACPI?
ACPI is the abbreviation of Advanced Configuration and Power
Interface, which means "advanced configuration and powerinterface", which is an industrial standard jointly developedby Microsoft, Intel and Toshiba.
ACPI mainly implements the following functions:
The user can make the computer open and close at the appointedtime;
Plug andplay devices canbe controlled andpoweredbyACPI whenthey are plugged in;
(3) when the computer is not used, the computer can enter thesleeping state, but some communication devices are opened;The operating system can allocate energy according to thespecific needs of peripherals and motherboards;
The operating system can reduce the clock frequency when theapplication does not require high time;
The use of notebook computerusers can specify the computer intoa low power state under the condition of low voltage, to ensurethat important applications running.
At the same time, ACPI can be divided into six different workingstates, namely S0 to S5, and their meanings are respectively:
S0: the computer works normally. All the hardware devices arein open or normal working condition;
S1: also known as POS (Power on Suspend, CPU stop working) ,other hardware devices are still working;
S2: shut down the CPU, but the rest of the hardware is stillrunn ing;
S3: usually called STR (Suspend to RAM, suspended to memory) ,writes the running data to memory, and then closes the harddisk;
S4: also known as STD (Suspend to Disk, hanging to the hard disk) ,the memory information is written to the hard disk, and thenall components stop working;
S5: all hardware devices (includingpower) are closed, that is,power off.
2. what is APM?
APM i s Advanced Power Manager (Advanced Power Management) : Thisis a kind of management mode to control, through the operatingsystem management computer hardware power, is actually acomputer power management program (software) , the differentversions, the functions are also different, such as APM
V1.0&V1. 1, the two versions are directly executive powermanagement by BIOS, APM and V1.2 is the first operating systemcan through the definition of power management, and then by theBIOS is responsible for the implementation of.
In today' s popular operating system, has been built in APM, andbefore the DOS era, APM operating system has not been introduced,
so unable to perform operations such as standby, sleep, restartcan only use the Reset key CtrlAltDelete key combination orp ower.
Power management settings in 3.BIOS
In general, the default setting for the motherboardmanufacturer to define BIOS is to start the "advanced powermanagement" function, which in most cases does not require ourown settings,
You can only use its default settings. If you can use the"advanced power management"before, but then failed, excludingthe system or other hardware may be considered in the BIOSsettings whether there is a problem. In this case, BIOS can beset to restore the default state. Method: start the computer,use the DEL key to enter the BIOS, use the arrow keys on thekeyboard to "Load Optimized Defaults", and then press F10 tosave and exit BIOS settings. Here Intel845PE motherboard, forexample, other types of motherboard is roughly the same, hereonly as a reference.
Examples of common settings of "Power Management Setup"Does ACPI Function: allow ACPI functionality?
The hanging type of ACPI Suspend Type:ACPI, usually there isonly one choice, that is, S1 (POS) state, in fact, this containsthe other pending state (S2, S3, S4)
Power Management: power management mode, default to User Define
(user defined) , and there is Min Saving (minimum) andMax Saving(max i mu m)
Video Off Method: display switch
You can set the value of the Blank Screen display not emittingelectron beam, can reduce power consumption; V/H SYNC +BlankBlank Screen said that in addition, but also by the BIOS tocontrol the display of horizontal and vertical synchronizationsignal, to save power, this is the default setting; DPMS Support,DPMS is a power management agreement between the display andgraphics. In both support DPMS status, as long as the BIOSsupport, graphics card can notify the monitor through thesignal into the power-saving mode.
HDD Power Down: set IDE hard disk in a long time without readingand writing operation, you can enter the power saving state,cut off the hard disk power to save power, default value isDisabled.
Modem Use IRQ: this option explains the IRQ number used by theport usedby theModem, so that the system can still bemonitoredin the power saving state. Whether Modem has activity, whichcan be set values: N/A, 3, 4, 5, 7, 9, 11. N/A does not indicateModem monitoring;
USB KB Wake-Up Drom S3: uses USB keyboard to wake up, the defaultvalue is "Disabled"".
Soft-Off by PWR-Button: this is the case the power switchfunction is set up in the boot state, press the power button
on more than four seconds, the system will shut down, if notmore than 4 seconds, the system will operate according to theset. You can set the value of Delay4Sec says more than4 secondsoff, if not more than 4 seconds into the Suspend mode, this isthe default setting; Instant-Off does not need to wait for 4seconds, just press the off button immediately shut down.How does the standby and sleep work?
1. why do you need to stand up and sleep?
Although the computer hardware is running faster and faster,but the volume of the operating system is also expanding, makingthe computer open, shut down, the startup and shutdownprocedures more and more, spending more and more time.Therefore, how to let the computer can quickly start, boot intothe Windows, has become a problem of concern to users.So, along with the hardware and software upgrades, operatingsystem to introduce the advanced power management, its role isto shut down part of the equipment in the computer is idle, thecomputer enters the waiting state of rest, so when you need touse a computer, can be directly from the waiting rest as soonas possible to restore to the original state, similar to thefast start at the same time, no effect; the computer can savea lot of energy.
2. save the data in memory - standby
As we all know, the speed of reading data from hard disk is muchlower than that from memory. Therefore, when the computer runs,
it first puts the data in the hard disk into memory, and thensends the data from memory to CPU for processing,
Then the processed data will be returned to memory first andthen written into the hard disk. Almost all of the running datais kept in memory. However, to enter the standby state, thatis, the current data stored in memory, and then the hard diskis closed, that is, STR to RAM (Suspend) .
Except the hard disk, or other devices in power waiting state(i.e. wake without re charging, put is on standby) , so the fanpower supply, CPU, graphics and other equipment or in the work,the keyboard indicator is lit. We can press any key or move themouse to wake the computer, when the hard disk will power andstart again, and then exchange data and memory, CPU and otherequipment, to complete the return to the original state of thetask.
3. put memory into hard disk - sleep
Sleep, in broad sense, includes two kinds of STD, Disk andSuspend to (STR) , and what we usually refer to as sleep isactually STD. When the computer goes into hibernation, thecomputer first copies the memory state to the hard disk, andthen closes the power. At this point, the computer is almostas quiet as the usual shutdown, and you can completely cut offthe power, because the data stored in the hard disk will notbe lost due to power failure! It' s the same way that Ghostmirrors the system, but unlike Ghost, the Ghost saves andrestores the whole system information, while the rest saves andrestores the system running information. Compared with standby,
sleep is not to wake up by the external device, and its normalboot and boot the computer; but compared to sleep after thestart of a computer without the need for a process to start,only to the memory in the hard disk read into memory.Because the data in memory is the computer "state", in orderto keep the state (can be understood as not compression) , thesystem must be hard to open up a space equal to the size andcapacity of memory to ensure that it can hold the whole memoryof the "current state", and this space is called hiberfil. sys,it the volume is generally the amount of physical memory (suchas computer memory is 256MB, the file size will also be 256MB,as shown inFigure 1) , andwe called pagefile. sys is the virtualmemory.
You know what?
Why don't hibernate be enabled in Windows 98?
There are two reasons: first, in the recently launched Windows98, a lot of hardware support for ACPI is not very good, soWindows 98 cannot automatically identify the ACPIspecification, but can be used to install the Windows 98 "Setup/PJ" command at the time of installation, or upgrade to Windows98 "advanced power management" drive, to support ACPI. Becauseof the defect of memory management in kernel of Windows 98,Windows 98 needs to restart the computer and empty memory toensure the system running normally and efficiently. Sleep isjust not empty memory information and stored in the hard diskinside, so sleep for Windows 98 system, it will lose itsoriginal meaning. In contrast, the NT kernel system is much
better in memory management, and can continue to use for manydays without restarting, and the system can still runefficiently.
Clever use of standby, sleep, to help you get twice the resultwith half the effort
Example 1: one button standby, one button shutdown
Open the power options in the control panel, switch to the"advanced" label "in the press the power button on my computer"is set to "off", "will be set to standby in the press the sleepbutton on my computer" "(see Figure 2) , such as" Power "key onthe keyboard is" off "and according to the" Sleep "key is the"standby ", is not a lot of convenience?
If your keyboard does not have a "Sleep" key, right-click onthe desktop and select a new shortcut",
In the pop-up dialog box"type the locationof the item in the"input "rundll32.exe powrprof.dll SetSuspendState", after thecompletion of it to set up a shortcut key combination, such as:CtrlF12. The function of this shortcut has a lot to dowith thesetting of "pressing the computer sleep button". If you changeit to "sleep", then it becomes a sleep shortcut.
Example 2: let the mouse do not disturb your rest
There are a lot of friendsmet because themouse is too sensitive,standby, slightly shaking table computer awakens you can openthe computer, start, run, type devmgmt.msc, open device manager,
CloudServer是一家新的VPS主机商,成立了差不多9个月吧,提供基于KVM架构的VPS主机,支持Linux或者Windows操作系统,数据中心在美国纽约、洛杉矶和芝加哥机房,都是ColoCrossing的机器。目前商家在LEB提供了几款特价套餐,最低月付4美元(或者$23.88/年),购买更高级别套餐还能三个月费用使用6个月,等于前半年五折了。下面列出几款特别套餐配置信息。CPU:1cor...
HostKvm是一家成立于2013年的国外主机服务商,主要提供VPS主机,基于KVM架构,可选数据中心包括日本、新加坡、韩国、美国、俄罗斯、中国香港等多个地区机房,均为国内直连或优化线路,延迟较低,适合建站或者远程办公等。商家本月针对香港国际机房提供特别7折优惠码,其他机房全场8折,优惠后2G内存香港VPS每月5.95美元起,支持使用PayPal或者支付宝付款。下面以香港国际(HKGlobal)为...
以前我们在参与到云服务商促销活动的时候周期基本是一周时间,而如今我们会看到无论是云服务商还是电商活动基本上周期都要有超过一个月,所以我们有一些网友习惯在活动结束之前看看商家是不是有最后的促销活动吸引力的,比如有看到阿里云年中活动最后一周,如果我们有需要云服务器的可以看看。在前面的文章中(阿里云新人福利选择共享性N4云服务器年79.86元且送2月数据库),(LAOZUO.ORG)有提到阿里云今年的云...