Computer-System Operation: Interrupts, I/O, and Storage Hierarchy

Written by Rohan Nandan on May 31, 2026 · 4 min read

Article Image

Operating system fundamentals are clarified by examining how hardware, I/O, and storage interact at runtime. This article summarizes the core mechanisms that keep a system responsive and coordinated.

Computer-System Operation

A modern computer system is built around shared access and concurrent activity:

This layout explains why the OS is coordination-heavy: the system executes multiple activities concurrently.

Interrupts and Traps

Interrupts are events raised by hardware or software. They signal the processor to finish the current instruction and immediately handle an Interrupt Service Routine (ISR).

Key points:

Bootstrapping and Startup

When a machine powers on or reboots, a bootstrap program runs first:

Without a reliable bootstrap sequence, nothing else in the system can run.

I/O Control Flow

Two core I/O control styles appear in OS design:

Synchronous I/O (Blocking)

Asynchronous I/O (Non-blocking)

Main Memory and Secondary Storage

Main memory is the only large storage the CPU can access directly:

Secondary storage extends main memory capacity:

Bits, Bytes, and Words

Storage is built from bits:

CPUs execute most operations in word-sized chunks rather than bit by bit.

Storage Units (Binary Prefixes)

Storage is measured in bytes and their binary multiples:

Manufacturers often round these to powers of ten, but systems typically use the binary values. Networking is the exception, measuring throughput in bits rather than bytes.

Storage Hierarchy and Caching

Storage systems are organized in a hierarchy defined by:

Caching copies data into faster storage layers. Main memory can be viewed as a cache for secondary storage.

Device Drivers and OS Interfaces

Each controller type has a device driver that:

This abstraction allows the OS to treat diverse hardware consistently.

Direct Memory Access (DMA)

For high-speed devices, DMA allows the controller to transfer blocks of data directly to main memory without CPU intervention.

Conclusion

Computer-system operation is defined by concurrency, interrupts, and layered storage. The OS orchestrates device controllers, memory, and I/O so that user programs can run smoothly and safely. These mechanisms are the foundation for everything from desktop responsiveness to high-performance server throughput.