Академический Документы
Профессиональный Документы
Культура Документы
Lesson 1:
Introduction to Operating Systems
Jesús Carretero Pérez
David Expósito Singh
José Daniel García Sánchez
Francisco Javier García Blas
Florin Isaila
Operating Systems 1
Why study Operating Systems?
Operating Systems 2
Understanding OS
Operating Systems 3
To make the right choice
Protect your
investment
Operating Systems 4
To develop software with good
performance
Operating Systems 5
An engineer must be
OPERATING SYSTEM
AGNOSTIC
Operating Systems 6
Four Components of a Computer
System
Operating Systems 7
Computer System Structure
Operating Systems 8
Computer System Organization
• 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
Operating Systems 9
How a Modern Computer Works
Operating Systems 10
Computer-System Operation
Operating Systems 11
Interrupt Timeline
Operating Systems 12
Common Functions of Interrupts
Operating Systems 13
Interrupt Handling
Operating Systems 14
I/O Structure
Operating Systems 15
Direct Memory Access Structure
Operating Systems 16
Storage-Device Hierarchy
Operating Systems 17
Performance of Various Levels of
Storage
Operating Systems 18
Migration of Integer A from Disk to
Register
• Multitasking environments must be careful to use most
recent value, no matter where it is stored in the storage
hierarchy
Operating Systems 19
Storage Structure
Operating Systems 20
Storage Hierarchy
Operating Systems 21
Caching
Operating Systems 22
What is an Operating System?
Operating Systems 23
Operating System Definition
• 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
Operating Systems 24
Operating System Definition (Cont)
Operating Systems 25
Operating System Structure
Operating Systems 26
Response time
Operating Systems 27
Memory Layout for Multiprogrammed
System
Operating Systems 28
Operating-System Operations
Operating Systems 29
Transition from User to Kernel Mode
Operating Systems 30
Process Management
Operating Systems 31
Process Management Activities
Operating Systems 32
Memory Management
Operating Systems 33
Storage Management
Operating Systems 34
Mass-Storage Management
• Usually disks used to store data that does not fit in main memory
or data that must be kept for a “long” period of time
• Proper management is of central importance
• Entire speed of computer operation hinges on disk subsystem and
its algorithms
• OS activities
– Free-space management
– Storage allocation
– Disk scheduling
• Some storage need not be fast
– Tertiary storage includes optical storage, magnetic tape
– Still must be managed
– Varies between WORM (write-once, read-many-times) and RW
(read-write)
Operating Systems 35
I/O Subsystem
Operating Systems 36
Protection and Security
Operating Systems 37
Conceptual structure
• Execution modes:
– User mode: Executes user processes.
– Kernel mode: Executes the OS kernel.
Operating Systems 38
Structure
Monolitics Layered
Operating
Systems Client/
Structured
Server
Modular
Operating Systems 39
Monolitic OS
Operating Systems 40
Layered OS
Operating Systems 41
Client/Server approach
Operating Systems 42
Modular
Operating Systems 43
Classifications
Operating Systems 44
OS startup
Operating Systems 45
Phases
ROM OS
OS Normal
resident
Boot Loader execution
part
Operating Systems 46
Computer Startup
Operating Systems 47
ROM boot
Operating Systems 48
OS loader
Operating Systems 49
Generating the OS
Generic Specific
Generation
OS OS
Operating Systems 50
OPERATING SYSTEMS:
Lesson 1:
Introduction to Operating Systems
Jesús Carretero Pérez
David Expósito Singh
José Daniel García Sánchez
Francisco Javier García Blas
Florin Isaila
Operating Systems 51