Chapter 1: Introduction Chapter 1: Introduction: 1.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts
Chapter 1: Introduction Chapter 1: Introduction: 1.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts
Chapter 1: Introduction Chapter 1: Introduction: 1.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts
OS is a resource allocator
Manages all resources
Decides between conflicting requests for efficient and
fair resource use
OS is a control program
Controls execution of programs to prevent errors and
improper use of the computer
Primary-- convenient
make the computer system convenient to use
Secondary-- efficient
use the computer hardware in an efficient manner
Computer-system operation
One or more CPUs, device controllers connect through
common bus providing access to shared memory
Concurrent execution of CPUs and devices competing for
memory cycles
return to
1 3
user
an interrupt
from device i a:=b+c
occurs d:=3*c
user program
case n
1 read perform
2
I/O
trap to
monitor
return to
system call n 3
user
d:=3*c
user program
Historical Review
Mainframe: Batch
Mainframe: Multiprogramming
Mainframe: Time-Sharing
Desktop Systems, PC
Parallel Systems
$RUN
$LOAD
$FNT
$JOB
program to be compiled
CPU Scheduling
Job 1
CPU
Job 2
Job 3
Job pool
Job 4
2, 4, 7, 8, 9, 10, 12 (a, c, e, g)
Due: Oct. 10, 2007