Professional Documents
Culture Documents
1. Introduction
(Chapter 1, S&G)
Objectives
– introduce Operating System (OS) principles
OSes: 1. Intro 1
Contents
1. What is an OS?
2. Some History
– early systems, batch systems, multiprogramming,
time-sharing,
desktop systems
3. Recent Trends
– multiprocessor systems, distributed, clustered, real-
time, handheld, etc.
OSes: 1. Intro 2
1. What is an OS?
Operating System
Computer Hardware
OSes: 1. Intro 3
Features
The OS controls
– prevents users/programs adversely affecting the
hardware or other users
– the system should never crash
OSes: 1. Intro 5
OS Development
OSes: 1. Intro 6
2. Some History
OSes: 1. Intro 7
2.1. Early Systems
One person at a contol panel of switches
and lights
Load libraries/utilities from tape
Slow set-up
Very costly hardware
OSes: 1. Intro 8
2.2. Batch Systems
OSes: 1. Intro 9
Resident Monitor
Control Card
Loader Job Sequencing User Program Area
Interpreter
monitor
OSes: 1. Intro 10
Control Cards
User’s cards included control cards to guide
the monitor.
$END
data cards
$RUN
program cards
$JOB
OSes: 1. Intro 11
Off-line I/O Processing
On-line:
Off-line:
OSes: 1. Intro
tape drives tape drives 12
Spooling
Job pool on disk, scheduled by OS
disk
I/O
OSes: 1. Intro 13
Benefit Of Spooling
OSes: 1. Intro 14
2.3. Multiprogrammed Batch Systems
OSes: 1. Intro 15
2.4. Time-Sharing
Multiple jobs are executed by the CPU
switching between them
– as in multiprogramming
Disk management
Personal computers
– computer system dedicated to a single user
I/O devices
– keyboards, mice, display screens, small printers
OSes: 1. Intro 19
3. Recent Trends
3.1. Multiprocessor Systems
3.2. Distributed Systems
3.3. Clustered Systems
3.4. Real-time Systems
3.5. Handheld Systems
3.6. Computing Environments
OSes: 1. Intro 20
3.1. Multiprocessor Systems
OSes: 1. Intro 22
3.1.1. Symmetric Multiprocessing
OSes: 1. Intro 23
3.1.2. Asymmetric Multiprocessing
OSes: 1. Intro 24
3.2. Distributed Systems
Benefits:
– resource sharing, speed-up, reliability
– matches modern business practise
OSes: 1. Intro 26
3.3. Clustered Systems
OSes: 1. Intro 27
3.4. Real-time Systems
There are time constraints placed on
operations/data flows which must be met.
Uses:
– scientific experiments, medicine, industrial
control systems, home appliances, weapons
Two types:
– hard real-time systems
– soft real-time systems
OSes: 1. Intro 28
3.4.1. Hard Real-time Systems
OSes: 1. Intro 29
3.4.2. Soft Real-time Systems
OSes: 1. Intro 30
3.5. Handheld Systems
OSes: 1. Intro 31
3.6. Computing Environments
OSes: 1. Intro 32