码迷,mamicode.com
首页 > 其他好文 > 详细

Modern Operating System --- Power Management (OS Issues)

时间:2015-10-17 07:01:02      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:

The operating system plays a key role in energy management. It controls all the devices, so it

must decide what to shutdown and when to shut it down. If it shuts down a device and that

device is needed again quickly, there may be an annoying delay while it is restarted. On the

other hand, if it waits too long to shut down a device, energy is wasted of nothing.

The trick is to find algorithms and heuristics that let the operating system make good decision

about what to shut down and when. The trouble is that "good" is highly subjective. One user

may find it acceptable that after 30 seconds of not using the conputer it takes 2 seconds for it

to respond to a keystroke. Another user may swear a blue streak under the same conditions. In

the absence of audio input, the computer can not tell these users apart.

The Display

Let us now look at the big spenders of the energy budget to see what can be done about each one.

The biggest item in everyone‘s energy budget is the display. To get a bright sharp image, the screen

must be backlit nad that takes substantial energy. Many operating systems attempt tp save energy

here by shuting down the display when there has been no activity for some number of minutes. Often

the user can decide what the shutdown interval is, thus pushing the trade-off between frequent blanking

of the screen and using the battery up quickly back to the user (who probably really does not want it).

Turning off the display is a sleep state because it can be regenerated (from the video RAM) almost

instantaneously when any key is struck or the pointing device is moved.

Modern Operating System --- Power Management (OS Issues)

标签:

原文地址:http://www.cnblogs.com/miaoyong/p/4886810.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!