Professional Documents
Culture Documents
Intro
Intro
Welcome to CS 161 !
Welcome to CS 161 !
Us e r applic atio n
Us e r applic atio n
Us e r applic atio n
P ro te c tio n b o u n d a ry
Kernel
Me m o ry m a n a g e m e n t
P ro c e s s m a n a g e m e n t
Ac c o u n tin g
De v ic e d riv e rs
File s y s te m
Dis k I/O
TC P /IP s ta c k
C P U s u p p o rt
Ha rd wa re /s o ftwa re
in te rfa c e
G n a rly wo rld o f h a rd wa re
S o do I!
Time s lic e o n
s ingle CPU s ys te m
time
Co de
Data
Phys ic al RAM
S tac k
VM S ys te m
Co de
Data
S tack
S wap o ut to dis k
More OS Functions
Multiprocessor support
Filesystems
Network protocols
Prevent multiple apps from interfering with each other and with normal system
operation
10
Safety!
Efficiency
11
This course is the basis for future work in other areas of systems
12
In the Beginning...
There was no OS just libraries
Disk spooling
Disks were much faster than punchcards read stack onto disk while previous
program is running
With multiple programs on disk, need to decide which to run next!
But, CPU still idle while program accesses a peripheral (e.g., tape or disk!)
ENIAC, 1 945
IBM 360,
1 960s
13
Multiprogramming
To increase system utilization, multiprogramming OSs were invented
While one job waits for I/O to compile, CPU runs instructions from another job
need some way to know when devices are done performing I/O
14
Timesharing
To support interactive use, timesharing OS's were created
Timeslicing
15
Personal Computing
Totally changed the computing industry.
Apple I, 1 976
Co mmo do re VIC-20
(my rs t c o mpute r)
16
17
18
Distributed OS
Goal Make use of geographically distributed resources
workstations on a LAN
servers across the Internet
19
slow processors
small amount of memory (e.g. 8 MB)
no disk but maybe quasi-permanent storage such as EEPROM
Various wireless networks (cellular, Bluetooth, 802.11)
Exp a ns io n p ins
Ante n na
Hum id ity s e n s o r
Re s e t a nd us e r
p ro g ra m m a b le
b utto ns
Lig h t s e ns o rs
Ra d io c h ip
20
You will implement: system calls, scheduler, virtual memory system, filesystem
21
22
Syllabus
23
Grading
50% Programming Assignments
5 assignments in total
Graded on design document, code structure, and whether your code works
Most people who take this course do very well (lots of A's).
24
Course website:
http://www.eecs.harvard.edu/~mdw/course/cs161
Syllabus, lecture notes, assignments, etc.
Check frequently for updates!
25
Course Staff
Instructor: Matt Welsh (mdw@eecs.harvard.edu)
Teaching staff
G e o We rne r-Alle n
(we rne r@ e e c s )
Andre w Mc Co llum
(mc c o llum@ fas )
Contact info
26
TF Office Hours
27