SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 1
Chapter 1: IntroductionChapter 1: Introduction
What is an Operating System?
What are the components of an OS?
What does an OS do?
Short History of OSs
Different types of OSs
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 2
What is an Operating System?What is an Operating System?
A program that acts as an intermediary between a
user of a computer and the computer hardware.
Operating system goals:
 Execute user programs and make solving user problems
easier.
 Make the computer system convenient to use.
Use the computer hardware in an efficient manner.
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 3
Computer System ComponentsComputer System Components
1. Hardware – provides basic computing resources
(CPU, memory, I/O devices).
2.Operating system – controls and coordinates the
use of the hardware among the various application
programs for the various users.
3.Applications programs – define the ways in which
the system resources are used to solve the
computing problems of the users (compilers,
database systems, video games, business programs).
4.Users - (people, machines, other computers).
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 4
Abstract View of System ComponentsAbstract View of System Components
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 5
System ComponentsSystem Components
The operating system run in kernel or supervisor mode - protected
from user tampering
Compilers, editors and application programs run in user mode
Instruction Set
Architecture
Physical devices grouped
together to form functional
units
Integrated circuit chips,
power supply, CRT
Hides the complexity of
machine language from
programmer
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 6
Functions of an OSFunctions of an OS
User Environment - OS layer transforms bare
hardware machine into higher level abstractions
 Execution environment - process management, file
manipulation, interrupt handling, I/O operations,
language.
 Error detection and handling
 Protection and security
 Fault tolerance and failure recovery
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 7
Functions of an OSFunctions of an OS
Resource Management
 Time management
 CPU and disk transfer scheduling
 Space management
 main and secondary storage allocation
 Synchronization and deadlock handling
 IPC, critical section, coordination
 Accounting and status information
 resource usage tracking
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 8
History of Operating SystemsHistory of Operating Systems
Pre-electronic
 Charles Babbage (1792-1871) “analytical machine”
 Purely mechanical, failed because technology could not
produce the required wheels, cog, gears to the required
precision
First generation 1945 - 1955
 Aiken, von Neumann, Eckert, Mauchley and Zuse
 programming done via plugboards, no OS or language
 vacuum tubes
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 9
History of Operating SystemsHistory of Operating Systems
Second generation 1955 - 1965
 transistors more reliable than vacuum tubes
 jobs read in via punched cards
 batch systems introduced to reduce wasted time in
setting up and running jobs
•bring cards to 1401
•read cards to tape offline
•put tape on 7094 which does computing
•put tape on 1401 which prints output offline
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 10
History of Operating SystemsHistory of Operating Systems
Third generation 1965 – 1980
 IBM System/360: combine business and scientific computers into one
machine
 Computer will grow with client(memory, processor speed, number of I/O
devices etc.)
 Forerunner of 370, 4300, 3080 and 3090
 Use of integrated circuits provided major price/performance advantage over
2nd generation
 OS/360 had to meet conflicting needs which resulted in enormous and
complex operating system
 Introduced multiprogramming to make most efficient use of CPU
 Spooling: read jobs from cards to disk ready to load into memory and queue
output to disk for printing
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 11
History of Operating SystemsHistory of Operating Systems
In batch, total time from submitting a job to getting the output was a few
hours, very unproductive for programmers
Timesharing (a variant of multiprogramming) provides for user
interaction with the computer system
 On-line communication between the user and the system is provided; when the
operating system finishes the execution of one command, it seeks the next
“control statement” from the user’s keyboard.
 The CPU is multiplexed among several jobs that are kept in memory and on
disk (the CPU is allocated to a job only if the job is in memory).
 takes advantage of the idle CPU
 switch occurs so frequently that the user can interact with each program as it is
running
 each command is short so only a little CPU time is needed for each user
 each user is given the impression that the entire system is dedicated to his use
 Batch jobs could be running in background
 CTSS (Compatible Time Sharing System - MIT) was first success
Minicomputers and the development of UNIX
 UNIX was stripped down, one user version of MULTICS (extension of CTSS)
 Numerous variants : System V, BSD, POSIX (IEEE), MINIX, Linux
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 12
History of Operating SystemsHistory of Operating Systems
Fourth generation 1980 – present
 Large Scale Integrated chips
 personal computers
 1974: Intel developed 8080 chip (8 bit CPU), Gary Kildall wrote CP/M
OS (Intel gave him the rights) and formed Digital Research
 Early 1980s: IBM designed IBM PC. Bill Gates had BASIC interpreter
and recommended DR as an OS. Kildall sent subordinate to meeting
and refused to sign non-disclosure. Gates was asked for an OS, bought
DOS from Seattle Computer Products and offered IBM DOS/BASIC
package. Renamed it MS -DOS
 Early Windows versions ran on top of DOS, Windows 95 and beyond
and NT were full fledged OSs
 Network Operating Systems (user sees multiple computers)
 Distributed Operating Systems (user sees one processor)
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 13
Mainframe SystemsMainframe Systems
First computers used to solve many commercial and
scientific applications
 evolved from batch  time shared systems
Reduce setup time by batching similar jobs
 serial card readers were initial input device then disks enabled job
scheduling by the operating system
Automatic job sequencing – automatically transfers control
from one job to another.
 first rudimentary operating system.
 CPU often idle because of great differences in speed between
mechanical I/O vs. electronic devices
Early OS called resident monitor
 initial control in monitor
 control transfers to job
 when job completes control transfers pack to monitor
 eliminated intervention by programmer
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 14
Memory Layout for a Simple Batch SystemMemory Layout for a Simple Batch System
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 15
Multiprogrammed Batch SystemsMultiprogrammed Batch Systems
Several jobs from the pool of all submitted jobs are kept in main
memory at the same time, and the CPU is multiplexed among them.
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 16
OS Features Needed for MultiprogrammingOS Features Needed for Multiprogramming
Why multiprogramming?
 Increases CPU utilization by trying to always keep the
CPU busy processing some job
 I/O of one job causes switch to another job
Memory management – the system must allocate
the memory to several jobs.
CPU scheduling – the system must choose among
several jobs ready to run.
Allocation of devices.
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 17
Desktop SystemsDesktop Systems
Personal computers – computer system dedicated to a
single user.
I/O devices – keyboards, mice, display screens, small
printers.
User convenience and responsiveness.
Can adopt technology developed for larger operating
systems. Often individuals have sole use of computer and do
not need advanced CPU utilization of protection features.
May run several different types of operating systems
(Windows, MacOS, UNIX, Linux)
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 18
Parallel SystemsParallel Systems
Multiprocessor systems with more than on CPU in close
communication.
Tightly coupled system – processors share memory and a
clock; communication usually takes place through the
shared memory.
Advantages of parallel system:
 Increased throughput with more processors
 Economical – share peripherals, mass storage, power etc. as
opposed to individual PCs
 Increased reliability
 graceful degradation / fault tolerant
 failure of one processor will slow down but not halt the system
 other processors pick up the slack
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 19
Parallel Systems (Cont.)Parallel Systems (Cont.)
Symmetric multiprocessing
(SMP)
 Each processor runs and
identical copy of the
operating system.
 Many processes can run at
once without performance
deterioration.
 Most modern operating
systems support SMP
Asymmetric multiprocessing
 Each processor is assigned a specific task; controlling processor schedules
and allocates work to other processors.
 More common in extremely large systems
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 20
Distributed SystemsDistributed Systems
Distribute the computation among several physical
processors.
Loosely coupled system – each processor has its own local
memory; processors communicate with one another
through various communications lines, such as high-speed
buses or telephone lines.
Advantages of distributed systems.
 Resource sharing
 Computation speed up – load sharing
 Reliability
 Communications between processors and processes
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 21
Distributed Systems (cont)Distributed Systems (cont)
Requires networking infrastructure.
 TCP/IP is the most common network protocol
Local area networks (LAN) or Wide area
networks (WAN)
May be either client-server or peer-to-peer
systems.
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 22
Real-Time SystemsReal-Time Systems
Often used as a control device in a dedicated application such
as controlling scientific experiments, medical imaging systems,
industrial control systems, and some display systems.
Well-defined, fixed time constraints.
Hard real-time:
 Secondary storage limited or absent, data stored in short term memory,
or read-only memory (ROM)
 Not supported by general-purpose operating systems.
Soft real-time
 Limited utility in industrial control of robotics
 Useful in applications (multimedia, virtual reality) requiring advanced
operating-system features.
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 23
Handheld SystemsHandheld Systems
Personal Digital Assistants (PDAs)
Cellular telephones
Issues:
 Limited memory (512KB to 8MB) requires efficient
management
 Slow processors
 Small display screens.
Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 24
Migration of Operating-System Concepts and FeaturesMigration of Operating-System Concepts and Features

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Kernel. Operating System
Kernel. Operating SystemKernel. Operating System
Kernel. Operating System
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Process management os concept
Process management os conceptProcess management os concept
Process management os concept
 
GPU Programming
GPU ProgrammingGPU Programming
GPU Programming
 
Parallel processing Concepts
Parallel processing ConceptsParallel processing Concepts
Parallel processing Concepts
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Os Threads
Os ThreadsOs Threads
Os Threads
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Chapter 2: Operating System Structures
Chapter 2: Operating System StructuresChapter 2: Operating System Structures
Chapter 2: Operating System Structures
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
 
Linux Programming
Linux ProgrammingLinux Programming
Linux Programming
 
Evolution of operating system
Evolution of operating systemEvolution of operating system
Evolution of operating system
 
Case study windows
Case study windowsCase study windows
Case study windows
 
Chapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemChapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating System
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategies
 
Distributed shred memory architecture
Distributed shred memory architectureDistributed shred memory architecture
Distributed shred memory architecture
 
Storage Management
Storage ManagementStorage Management
Storage Management
 
Desktop and multiprocessor systems
Desktop and multiprocessor systemsDesktop and multiprocessor systems
Desktop and multiprocessor systems
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and Properties
 
Chapter 9 Operating Systems silberschatz
Chapter 9 Operating Systems silberschatzChapter 9 Operating Systems silberschatz
Chapter 9 Operating Systems silberschatz
 

Andere mochten auch

Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagnesarankumar4445
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-pptraj732723
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating Systempriya_sinha02
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating systemMohammad Alam
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 
Operation system structure
Operation system structureOperation system structure
Operation system structurebrysan30
 
Operating System
Operating SystemOperating System
Operating Systemjoygracia
 
Operating System - Unit I - Introduction
Operating System - Unit I - IntroductionOperating System - Unit I - Introduction
Operating System - Unit I - Introductioncscarcas
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basicssagar Ramdev
 
History of operating systems
History of operating systemsHistory of operating systems
History of operating systemsAfrasiyab Haider
 
Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Project Student
 
History of os.1
History of os.1History of os.1
History of os.1myrajendra
 

Andere mochten auch (20)

Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And GagneSlides For Operating System Concepts By Silberschatz Galvin And Gagne
Slides For Operating System Concepts By Silberschatz Galvin And Gagne
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 
Operation system structure
Operation system structureOperation system structure
Operation system structure
 
Operating System
Operating SystemOperating System
Operating System
 
Operating System - Unit I - Introduction
Operating System - Unit I - IntroductionOperating System - Unit I - Introduction
Operating System - Unit I - Introduction
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 
Basic os-concepts
Basic os-conceptsBasic os-concepts
Basic os-concepts
 
History of operating systems
History of operating systemsHistory of operating systems
History of operating systems
 
Ch2
Ch2Ch2
Ch2
 
Ch13 (1)
Ch13 (1)Ch13 (1)
Ch13 (1)
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...Operating System (Scheduling, Input and Output Management, Memory Management,...
Operating System (Scheduling, Input and Output Management, Memory Management,...
 
History of os.1
History of os.1History of os.1
History of os.1
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Mainframe
MainframeMainframe
Mainframe
 

Ähnlich wie Silberschatz / OS Concepts

Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatemRafi Dar
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)Muhammad Osama
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating systemAnil Dharmapuri
 
1 intro and overview
1 intro and overview1 intro and overview
1 intro and overviewBaliThorat1
 
Operating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - EngineeringOperating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - EngineeringYogesh Santhan
 
Introduction To operating System:
Introduction To operating System:Introduction To operating System:
Introduction To operating System:Munazza-Mah-Jabeen
 
Modern operating system.......
Modern operating system.......Modern operating system.......
Modern operating system.......vignesh0009
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsmanideepakc
 
CSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating SystemsCSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating SystemsDev Khare
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Amit Gupta
 
Intermediate Operating Systems
Intermediate Operating SystemsIntermediate Operating Systems
Intermediate Operating SystemsJohn Cutajar
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating SystemAiman Hafeez
 

Ähnlich wie Silberschatz / OS Concepts (20)

Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatem
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
 
01.osdoc
01.osdoc01.osdoc
01.osdoc
 
Chapter - 1
Chapter - 1Chapter - 1
Chapter - 1
 
1 intro and overview
1 intro and overview1 intro and overview
1 intro and overview
 
Operating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - EngineeringOperating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - Engineering
 
Introduction To operating System:
Introduction To operating System:Introduction To operating System:
Introduction To operating System:
 
operating systems
operating systemsoperating systems
operating systems
 
Operating System
Operating SystemOperating System
Operating System
 
Modern operating system.......
Modern operating system.......Modern operating system.......
Modern operating system.......
 
Cs1 3-operating systems
Cs1 3-operating systemsCs1 3-operating systems
Cs1 3-operating systems
 
Oslecture1
Oslecture1Oslecture1
Oslecture1
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
CSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating SystemsCSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating Systems
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
Intermediate Operating Systems
Intermediate Operating SystemsIntermediate Operating Systems
Intermediate Operating Systems
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 

Kürzlich hochgeladen

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Kürzlich hochgeladen (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

Silberschatz / OS Concepts

  • 1. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 1 Chapter 1: IntroductionChapter 1: Introduction What is an Operating System? What are the components of an OS? What does an OS do? Short History of OSs Different types of OSs
  • 2. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 2 What is an Operating System?What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals:  Execute user programs and make solving user problems easier.  Make the computer system convenient to use. Use the computer hardware in an efficient manner.
  • 3. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 3 Computer System ComponentsComputer System Components 1. Hardware – provides basic computing resources (CPU, memory, I/O devices). 2.Operating system – controls and coordinates the use of the hardware among the various application programs for the various users. 3.Applications programs – define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs). 4.Users - (people, machines, other computers).
  • 4. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 4 Abstract View of System ComponentsAbstract View of System Components
  • 5. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 5 System ComponentsSystem Components The operating system run in kernel or supervisor mode - protected from user tampering Compilers, editors and application programs run in user mode Instruction Set Architecture Physical devices grouped together to form functional units Integrated circuit chips, power supply, CRT Hides the complexity of machine language from programmer
  • 6. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 6 Functions of an OSFunctions of an OS User Environment - OS layer transforms bare hardware machine into higher level abstractions  Execution environment - process management, file manipulation, interrupt handling, I/O operations, language.  Error detection and handling  Protection and security  Fault tolerance and failure recovery
  • 7. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 7 Functions of an OSFunctions of an OS Resource Management  Time management  CPU and disk transfer scheduling  Space management  main and secondary storage allocation  Synchronization and deadlock handling  IPC, critical section, coordination  Accounting and status information  resource usage tracking
  • 8. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 8 History of Operating SystemsHistory of Operating Systems Pre-electronic  Charles Babbage (1792-1871) “analytical machine”  Purely mechanical, failed because technology could not produce the required wheels, cog, gears to the required precision First generation 1945 - 1955  Aiken, von Neumann, Eckert, Mauchley and Zuse  programming done via plugboards, no OS or language  vacuum tubes
  • 9. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 9 History of Operating SystemsHistory of Operating Systems Second generation 1955 - 1965  transistors more reliable than vacuum tubes  jobs read in via punched cards  batch systems introduced to reduce wasted time in setting up and running jobs •bring cards to 1401 •read cards to tape offline •put tape on 7094 which does computing •put tape on 1401 which prints output offline
  • 10. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 10 History of Operating SystemsHistory of Operating Systems Third generation 1965 – 1980  IBM System/360: combine business and scientific computers into one machine  Computer will grow with client(memory, processor speed, number of I/O devices etc.)  Forerunner of 370, 4300, 3080 and 3090  Use of integrated circuits provided major price/performance advantage over 2nd generation  OS/360 had to meet conflicting needs which resulted in enormous and complex operating system  Introduced multiprogramming to make most efficient use of CPU  Spooling: read jobs from cards to disk ready to load into memory and queue output to disk for printing
  • 11. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 11 History of Operating SystemsHistory of Operating Systems In batch, total time from submitting a job to getting the output was a few hours, very unproductive for programmers Timesharing (a variant of multiprogramming) provides for user interaction with the computer system  On-line communication between the user and the system is provided; when the operating system finishes the execution of one command, it seeks the next “control statement” from the user’s keyboard.  The CPU is multiplexed among several jobs that are kept in memory and on disk (the CPU is allocated to a job only if the job is in memory).  takes advantage of the idle CPU  switch occurs so frequently that the user can interact with each program as it is running  each command is short so only a little CPU time is needed for each user  each user is given the impression that the entire system is dedicated to his use  Batch jobs could be running in background  CTSS (Compatible Time Sharing System - MIT) was first success Minicomputers and the development of UNIX  UNIX was stripped down, one user version of MULTICS (extension of CTSS)  Numerous variants : System V, BSD, POSIX (IEEE), MINIX, Linux
  • 12. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 12 History of Operating SystemsHistory of Operating Systems Fourth generation 1980 – present  Large Scale Integrated chips  personal computers  1974: Intel developed 8080 chip (8 bit CPU), Gary Kildall wrote CP/M OS (Intel gave him the rights) and formed Digital Research  Early 1980s: IBM designed IBM PC. Bill Gates had BASIC interpreter and recommended DR as an OS. Kildall sent subordinate to meeting and refused to sign non-disclosure. Gates was asked for an OS, bought DOS from Seattle Computer Products and offered IBM DOS/BASIC package. Renamed it MS -DOS  Early Windows versions ran on top of DOS, Windows 95 and beyond and NT were full fledged OSs  Network Operating Systems (user sees multiple computers)  Distributed Operating Systems (user sees one processor)
  • 13. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 13 Mainframe SystemsMainframe Systems First computers used to solve many commercial and scientific applications  evolved from batch  time shared systems Reduce setup time by batching similar jobs  serial card readers were initial input device then disks enabled job scheduling by the operating system Automatic job sequencing – automatically transfers control from one job to another.  first rudimentary operating system.  CPU often idle because of great differences in speed between mechanical I/O vs. electronic devices Early OS called resident monitor  initial control in monitor  control transfers to job  when job completes control transfers pack to monitor  eliminated intervention by programmer
  • 14. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 14 Memory Layout for a Simple Batch SystemMemory Layout for a Simple Batch System
  • 15. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 15 Multiprogrammed Batch SystemsMultiprogrammed Batch Systems Several jobs from the pool of all submitted jobs are kept in main memory at the same time, and the CPU is multiplexed among them.
  • 16. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 16 OS Features Needed for MultiprogrammingOS Features Needed for Multiprogramming Why multiprogramming?  Increases CPU utilization by trying to always keep the CPU busy processing some job  I/O of one job causes switch to another job Memory management – the system must allocate the memory to several jobs. CPU scheduling – the system must choose among several jobs ready to run. Allocation of devices.
  • 17. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 17 Desktop SystemsDesktop Systems Personal computers – computer system dedicated to a single user. I/O devices – keyboards, mice, display screens, small printers. User convenience and responsiveness. Can adopt technology developed for larger operating systems. Often individuals have sole use of computer and do not need advanced CPU utilization of protection features. May run several different types of operating systems (Windows, MacOS, UNIX, Linux)
  • 18. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 18 Parallel SystemsParallel Systems Multiprocessor systems with more than on CPU in close communication. Tightly coupled system – processors share memory and a clock; communication usually takes place through the shared memory. Advantages of parallel system:  Increased throughput with more processors  Economical – share peripherals, mass storage, power etc. as opposed to individual PCs  Increased reliability  graceful degradation / fault tolerant  failure of one processor will slow down but not halt the system  other processors pick up the slack
  • 19. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 19 Parallel Systems (Cont.)Parallel Systems (Cont.) Symmetric multiprocessing (SMP)  Each processor runs and identical copy of the operating system.  Many processes can run at once without performance deterioration.  Most modern operating systems support SMP Asymmetric multiprocessing  Each processor is assigned a specific task; controlling processor schedules and allocates work to other processors.  More common in extremely large systems
  • 20. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 20 Distributed SystemsDistributed Systems Distribute the computation among several physical processors. Loosely coupled system – each processor has its own local memory; processors communicate with one another through various communications lines, such as high-speed buses or telephone lines. Advantages of distributed systems.  Resource sharing  Computation speed up – load sharing  Reliability  Communications between processors and processes
  • 21. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 21 Distributed Systems (cont)Distributed Systems (cont) Requires networking infrastructure.  TCP/IP is the most common network protocol Local area networks (LAN) or Wide area networks (WAN) May be either client-server or peer-to-peer systems.
  • 22. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 22 Real-Time SystemsReal-Time Systems Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems. Well-defined, fixed time constraints. Hard real-time:  Secondary storage limited or absent, data stored in short term memory, or read-only memory (ROM)  Not supported by general-purpose operating systems. Soft real-time  Limited utility in industrial control of robotics  Useful in applications (multimedia, virtual reality) requiring advanced operating-system features.
  • 23. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 23 Handheld SystemsHandheld Systems Personal Digital Assistants (PDAs) Cellular telephones Issues:  Limited memory (512KB to 8MB) requires efficient management  Slow processors  Small display screens.
  • 24. Silberschatz / OS Concepts / 6e - Chapter 1 IntroductionSlide 24 Migration of Operating-System Concepts and FeaturesMigration of Operating-System Concepts and Features