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, either waiting for I/O or because there is no work to do, it goes to

sleep.

On mang computers, there is a relationship between CPU voltage, clock cycke, and power usage. The CPU

voltage can often be reduced in software, which saves energy but also reduces the clock cycle (approximately

linearly). Since power comsumed is proportional to the square of the voltage, cutting the voltage in half makes

the CPU about half as fast but as 1/4 the power.

时间: 2024-08-03 07:06:48

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

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 (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 wh

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》 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 --- Chap 5.5.2 Clock Software

All the clock hardware does is to generate interrupts at known intervals. Everything else involving time must be done by the software, the clock driver. The exact duties of the clock dirver vary among operating systems, but ususally include most of t