Operating System: Chapter 1 - Introduction about What is an operating system? History of operating systems, The operating system zoo, Computer hardware review, Operating system concepts, System calls, Operating system structure.
Trang 3What is an Operating System
• It is an extended machine
– Hides the messy details which must be performed– Presents user with a virtual machine, easier to use
• It is a resource manager
– Each program gets time with the resource
– Each program gets space on the resource
Trang 6History of Operating Systems (3)
Trang 7History of Operating Systems (4)
– three jobs in memory – 3rd generation
Trang 10Computer Hardware Review (2)
(a) A threestage pipeline(b) A superscalar CPU
Trang 11Computer Hardware Review (3)
• Typical memory hierarchy
– numbers shown are rough approximations
Trang 12Computer Hardware Review (4)
Structure of a disk drive
Trang 13Computer Hardware Review (5)
One baselimit pair and two baselimit pairs
Trang 15Computer Hardware Review (7)
Structure of a large Pentium system
Trang 17Operating System Concepts (2)
(a) A potential deadlock. (b) an actual deadlock
Trang 18Operating System Concepts (3)
File system for a university department
Trang 20Operating System Concepts (5)
Two processes connected by a pipe
Trang 21Steps in Making a System Call
There are 11 steps in making the system call
read (fd, buffer, nbytes)
Trang 22Some System Calls For Process Management
Trang 23Some System Calls For File Management
Trang 24Some System Calls For Directory Management
Trang 25Some System Calls For Miscellaneous Tasks
Trang 27System Calls (2)
• Processes have three segments: text, data, stack
Trang 29System Calls (4)
(a) File system before the mount
(b) File system after the mount
Trang 30System Calls (5)
Some Win32 API calls
Trang 31Operating System Structure (1)
Simple structuring model for a monolithic system
Trang 32Operating System Structure (2)
Structure of the THE operating system
Trang 33Operating System Structure (3)
Structure of VM/370 with CMS
Trang 34Operating System Structure (4)
The clientserver model
Trang 35Operating System Structure (5)
The clientserver model in a distributed system
Trang 36Metric Units
The metric prefixes