I/O Systems

Basic components

Bus

A bus is a shared communication link, which uses a set of wires to connect multiple subsystems.

Advantages of buses are:

Single Bus

THis is the typical bus configuration in low cost computer systems.
IO commands, CPU instructions and data fetches are multiplexed together on the same bus.

2 Separate Buses

Used by high performance computers so that I/O transactions do not slow down the memory access.

Role of an operating system

Communication with the Processor

The way CPU sends and recieves data from the I/O device

RAID

Redundant Array of Independent Disks

RAID 0
It offers no redundancy (duplication), but it improves disk access.
RAID 1
It creates a mirror for every disk giving 100% redundancy, but at 2x the cost. 2 reads can be done in parallel but writing also needs to be done on both disks.
RAID 2
RAID 2 strips each byte into 1 bit per disk and uses additional disks to store Hamming codes for redundancy
• Hamming code information is time consuming to generate, so
RAID 2 is not used, instead RAID 3 uses the same idea but only stores parity information for redundancy
RAID 3
RAID 3 uses parity information for redundancy, and hence it is most suitable for small computer systems that require some but not total redundancy.