10/14 10/14OS

名稱
10/14OS
日期
10/14
課程名稱
作業系統
指導教師
劉艾華
心得
1. Two reasons of why caches is useful is speed and efficient. A cache exists to speed up the time that the processor takes to obtain a bit of data. Typically, main memory is many times slower than the processor.

Caches solve the transfer problem by providing a buffer of intermediate speed between the components.

If the fast device finds the data it needs in the cache, it need not wait for the slower device.

if the cahce capacity more larger and it will makes mistakes by compulsion

2. the purpose of interrupts is a hardware-generated change of flow within the system.

An interrupt handler is called to deal with the cause of the interrupt;control is then returned to the interrupted context and instruction.
A trap is a software-generated interrupt. An interrupt can be used to signal the completion of an I/O to obviate the need for device polling.

A trap can be generated intentionally by a user program. It can be used to call operating system routines or to catch arithmetic errors.

3. device controller : A device controller is a part of a computer system that makes sense of the signals going to, and coming from the CPU. There are many device controllers in a computer system.

CPU : CPU is an important part of almost every computers. The CPU sends signals to control the other parts of the computer, almost like how a brain controls a body.
4. Installation requesting processor  When the installation is complete action Transmission interrupt signal to the processor