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

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.

时间: 2024-11-03 22:24:47

Modern Operating System --- Power Management (OS Issues)的相关文章

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

The general approach most computer vendors take to battery conservation is to design the CPU, memory, and I/O devices to have multiple states: on, sleeping, hiberating, and off. To use the device, it must be on. When the device will not be needed for

Modern Operating System --- Power Management (Hard Disk)

Another major villain is the hard disk. It takes substantial energy to keep it spinning at high speed, even if there are no accesses. Many conputers, especially notebooks, spin the disk down after a certain number of seconds or minutes of inactivity.

Modern Operating System --- Power Management (CPU)

The CPU can also be managed to save energy. A notebook CPU can be put to sleep in software, reducing power usage to almost zero. The only thing it can do in this state is waking up when an interrupt occurs. Therefor, whenever the CPU goes idle, eithe

《modern operating system》 chapter 3 MEMORY MANAGEMENT 笔记

MEMORY MANAGEMENT The part of the operating system that manages (part of) the memory hierarchy is called thememory manager 这章感觉有点多...80 多页..看完都看了两天多,做笔记就更有点不想...有点懒了..但是要坚持下去,可以自己较劲 对于内存的抽象,最简单的抽象就是...没有抽象 和第一次看不一样,把summary放在最前面,对整个mamory management的

《modern operating system》 chapter 5 Input and output 注意事项

Input / Output It should also provide an interface between the devices and the rest of the system that is simple and easy to use. 于是乎这里就有了对于硬盘等IO设备的抽象. 5.1 PRINCIPLES OF I/O HARDWARE 5.1.1 I/0 Devices I/0 devices can be roughly divided into two categ

《modern operating system》 chapter 5 Input and output 笔记

Input / Output It should also provide an interface between the devices and the rest of the system that is simple and easy to use. 于是乎这里就有了对于硬盘等IO设备的抽象. 5.1 PRINCIPLES OF I/O HARDWARE 5.1.1 I/0 Devices I/0 devices can be roughly divided into two categ

Modern Operating System --- Thin Clients

Over the years, the main computing paradigm has oscillated between centralized and decentralized computing. The first computers, such as the ENIAC, were, in fact, personal computers, albeit large ones, because only one person could use one at once. T

Modern Operating System --- Chap 5.5 Clocks

Clock also called timers are essential to the operation of any multiprogrammed system for a variety of reasons. They maintain the time of day and prevent one process from monopolizing the CPU, among other things. The clock software can take the form

《modern operating system》 chapter 6 DEADLOCKS 笔记

DEADLOCKS Both processes are blocked and will remain so forever. This situation is called a deadlock. 6.1 RESOURCES 6.1.1 Preemptable and Nonpreemptable Resources Resources come in two types: preemptable and nonpreemptable. A preempt-able resource is