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 of a device driver, even

though a clock is neither a block device, like a disk, nor a character device, like a mouse.

Two types of clocks are commonly used in computers, and both are different form the clocks

and watches used by people. The simpler clock  are tied to the 100- or 200-volt power line

and cause an interrupt on every voltage cycle.

时间: 2024-10-13 22:30:17

Modern Operating System --- Chap 5.5 Clocks的相关文章

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

《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 --- 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》 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 --- 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 (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 (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》 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