Computer Architecture Assignment 1
Computer Architecture Assignment 1
Computer Architecture Assignment 1
TASK: ASSIGNMENT 1
Date: 10/6/2021
a) Distinguish between programmed i/o and interrupt driven
i/o and state how each effects the performance.
i) Programmed I/O
When the processor issues a command to the I/O module, it must wait until the
I/O
operation is complete. If the processor is faster than the I/O module, this is
wasteful of processor time.
The unique contribution of the RAID proposal is to address effectively the need for
redundancy. Although allowing multiple heads and actuators to operate in a
simultaneous manner achieves higher I/O and transfer rates, the use of multiple
devices increases the probability of failure. To compensate for this decreased
reliability, RAID makes use of stored parity information that enables the recovery of
data lost due to a disk failure.
The data lines provide a path for moving data among system modules.
The address lines are used to designate the source or destination of the data on
the data bus.
The control lines are used to control the access to and the use of the data and
address lines.
The I/O Module provides an interface between the computer system and the
outside wold.
Instruction Pipeline
In this, a stream of instructions can be executed by overlapping fetch, decode and
execute phases of an instruction cycle. This type of technique is used to increase the
throughput of the computer system.
An instruction pipeline reads instruction from the memory while previous
instructions are being executed in other segments of the pipeline. Thus we can
execute multiple instructions simultaneously. The pipeline will be more efficient if
the instruction cycle is divided into segments of equal duration.
Advantages of Pipelining
1. The cycle time of the processor is reduced.
2. It increases the throughput of the system
3. It makes the system reliable.