Introduction

References:

  1. Abraham Silberschatz, Greg Gagne, and Peter Baer Galvin, "Operating System Concepts, Eighth Edition ", Chapter 1

1.1 What Operating Systems Do

1.2 Computer-System Organization

1.2.1 Computer-System Operation

1.2.2 Storage Structure

1.2.3 I/O Structure

1.3 Computer-System Architecture

1.3.1 Single-Processor Systems

1.3.2 Multiprocessor Systems

  1. Increased throughput - Faster execution, but not 100% linear speedup.
  2. Economy of scale - Peripherals, disks, memory, shared among processors.
  3. Increased reliability
    • Failure of a CPU slows system, doesn't crash it.
    • Redundant processing provides system of checks and balances. ( e.g. NASA )

1.3.3 Clustered Systems

1.4 Operating-System Structure

A time-sharing ( multi-user multi-tasking ) OS requires:

1.5 Operating-System Operations

Interrupt-driven nature of modern OSes requires that erroneous processes not be able to disturb anything else.

1.5.1 Dual-Mode Operation

1.5.2 Timer

1.6 Process Management

An OS is responsible for the following tasks with regards to process management:

1.7 Memory Management

An OS is responsible for the following tasks with regards to memory management:

1.8 Storage Management

1.8.1 File-System Management

An OS is responsible for the following tasks with regards to filesystem management:

1.8.2 Mass-Storage Management

An OS is responsible for the following tasks with regards to mass-storage management:

Note the trade-offs regarding size, speed, longevity, security, and re-writability between different mass storage devices, including floppy disks, hard disks, tape drives, CDs, DVDs, etc.

1.8.3 Caching

From Figure 1.11 - Performance of various levels of storage
Level 1 2 3 4
Name registers cache main memory disk storage
Typical size < 1KB < 16MB < 64 GB > 100 GB
Implementation Technology custom memory with multiple ports, CMOS on-chip or off-chip CMOS SRAM CMOS DRAM magnetic disk
Access time ( ns ) 0.25-0.5 0.5-25 80-250 5,000,000
Bandwidth ( MB / s ) 20,000-100,000 5000-10,000 1000-5000 20-150
Managed by compiler hardware OS OS
Backed by cache main memory disk CD or tape

1.8.4 I/O Systems

The I/O subsystem consists of several components:

1.9 Protection and Security

1.10 Distributed Systems

1.11 Special-Purpose Systems

1.11.1 Real-Time Embedded Systems

1.11.2 Multimedia Systems

1.11.3 Handheld Systems

1.12 Computing Environments

1.12.1 Traditional Computing

1.12.2 Client-Server Computing

1.12.3 Peer-to-Peer Computing

1.12.4 Web-Based Computing

1.13 Open-Source Operating Systems

1.13.1 History

1.13.2 Linux

1.13.3 BSD UNIX

1.13.4 Solaris

1.13.5 Utility

1.14 Summary