Professional Documents
Culture Documents
CH 1
CH 1
Operating Systems
Lecture 1:
Introduction
Weighting of Assessments:
Final-Term Examination 65%
Mid-Term Examination 10 %
100 %
3
Operating Systems
hardware.
4
Storage Structure
• Main memory – only large storage media that the CPU can
access directly
▫ Random access
▫ Typically volatile
• Secondary storage – extension of main memory that
provides large nonvolatile storage capacity
• Hard disks – rigid metal or glass platters covered with
magnetic recording material
▫ Disk surface is logically divided into tracks, which are subdivided
into sectors
▫ The disk controller determines the logical interaction between the
device and the computer
• Solid-state disks – faster than hard disks, nonvolatile
▫ Various technologies
▫ Becoming more popular
18
memory.
19
Computer-System Architecture
• Most systems use a single general-purpose processor
▫ Most systems have special-purpose processors as well
• Multiprocessors systems growing in use and importance
▫ Also known as parallel systems, tightly-coupled
systems
▫ Advantages include:
1. Increased throughput
2. Economy of scale
3. Increased reliability – graceful degradation or fault
tolerance
▫ Two types:
1. Asymmetric Multiprocessing – each processor is
assigned a specie task.
2. Symmetric Multiprocessing – each processor
performs all tasks
21
A Dual-Core Design
Clustered Systems
25
job may have to wait for some task, such as an I/O operation,
simply switches to, and executes, another job. When that job
Eventually the first job finishes waiting and gets the CPU
them, but the switches occur so frequently that the users can
user mode and kernel mode. A bit, called the mode bit
Process Management
Memory Management
directories
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
38
1.7 Caching
software.
42