cs231 ch1
cs231 ch1
Introduction
Operating System Concepts – 8th Edition Silberschatz, Galvin and Gagne ©2009
Four Components of a Computer System
Operating System Concepts – 8th Edition 1.2 Silberschatz, Galvin and Gagne ©2009
Computer System Structure
Operating System Concepts – 8th Edition 1.3 Silberschatz, Galvin and Gagne ©2009
What is an Operating System?
Operating System Concepts – 8th Edition 1.4 Silberschatz, Galvin and Gagne ©2009
Operating System Functions
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
Error in one program should not affect other
programs
Operating System Concepts – 8th Edition 1.5 Silberschatz, Galvin and Gagne ©2009
Computer System Organization
Computer-system operation
One or more CPUs, device controllers connect
through common bus providing access to shared
memory
Operating System Concepts – 8th Edition 1.6 Silberschatz, Galvin and Gagne ©2009
Computer-System Operation
Operating System Concepts – 8th Edition 1.7 Silberschatz, Galvin and Gagne ©2009
Computer Startup
Operating System Concepts – 8th Edition 1.8 Silberschatz, Galvin and Gagne ©2009
Storage Hierarchy
Operating System Concepts – 8th Edition 1.9 Silberschatz, Galvin and Gagne ©2009
Storage-Device Hierarchy
Operating System Concepts – 8th Edition 1.10 Silberschatz, Galvin and Gagne ©2009
Computer-System Architecture
Operating System Concepts – 9th Edition 1.11 Silberschatz, Galvin and Gagne ©2013
Symmetric Multiprocessing Architecture
Operating System Concepts – 9th Edition 1.12 Silberschatz, Galvin and Gagne ©2013
Operating System Structure
Operating System Concepts – 8th Edition 1.13 Silberschatz, Galvin and Gagne ©2009
Memory Layout for Multiprogrammed System
Operating System Concepts – 8th Edition 1.14 Silberschatz, Galvin and Gagne ©2009
Timesharing (multitasking) : CPU switches jobs so frequently that
users can interact with each job while it is running, creating interactive
computing
Response time should be < 1 second
Each user has at least one program executing in memory process
If several jobs ready to run at the same time CPU scheduling
If processes don’t fit in memory, swapping moves them in and out to run
Virtual memory allows execution of processes not completely in memory
Operating System Concepts – 8th Edition 1.15 Silberschatz, Galvin and Gagne ©2009
Syllabus :
References :
1. Stalling, W. Operating Systems: Internals and Design Principles. 9/e. Pearson, 2017.
End sem – 60 %
Mid sem – 40 %
**Subject to change
End of Chapter 1
Operating System Concepts – 8th Edition Silberschatz, Galvin and Gagne ©2009