SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Chapter 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 Introduction 1
Slide
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 Introduction 2
Slide
Computer 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 Introduction 3
Slide
Abstract View of System Components

Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 4
Slide
System Components

Hides the complexity of
machine language from
programmer
Instruction Set
Architecture
Physical devices grouped
together to form functional
units
Integrated circuit chips,
power supply, CRT

The operating system run in kernel or supervisor mode - protected
from user tampering
Compilers, editors and application programs run in user mode

Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 5
Slide
Functions 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 Introduction 6
Slide
Functions of an OS
Resource Management


Time management
 CPU



and disk transfer scheduling

Space management
 main



Synchronization and deadlock handling
 IPC,



and secondary storage allocation

critical section, coordination

Accounting and status information
 resource

usage tracking

Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 7
Slide
History 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 Introduction 8
Slide
History 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 Introduction 9
Slide
History 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 Introduction 10
Slide
History 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 Introduction 11
Slide
History 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 Introduction 12
Slide
Mainframe 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 Introduction 13
Slide
Memory Layout for a Simple Batch System

Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 14
Slide
Multiprogrammed 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 Introduction 15
Slide
OS 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 Introduction 16
Slide
Desktop 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 Introduction 17
Slide
Parallel 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 Introduction 18
Slide
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 Introduction 19
Slide
Distributed 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 Introduction 20
Slide
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 Introduction 21
Slide
Real-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 Introduction 22
Slide
Handheld 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 Introduction 23
Slide
Migration of Operating-System Concepts and Features

Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 24
Slide

Weitere ähnliche Inhalte

Was ist angesagt?

Operating Systems
Operating SystemsOperating Systems
Operating Systemsvampugani
 
operating system
operating systemoperating system
operating systemKadianAman
 
Windows Operating System
Windows Operating SystemWindows Operating System
Windows Operating Systemzaibs7242
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating SystemDivya S
 
Operating systems
Operating systemsOperating systems
Operating systems7867867861
 
Operating Systems
Operating SystemsOperating Systems
Operating SystemsIES Aramo
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsMukesh Chinta
 
windows operating system and its advancements
windows operating system and its advancementswindows operating system and its advancements
windows operating system and its advancementsparthrai2
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 
Operating Systems - "Chapter 4: Multithreaded Programming"
Operating Systems - "Chapter 4:  Multithreaded Programming"Operating Systems - "Chapter 4:  Multithreaded Programming"
Operating Systems - "Chapter 4: Multithreaded Programming"Ra'Fat Al-Msie'deen
 
Operating Systems Basics
Operating Systems BasicsOperating Systems Basics
Operating Systems Basicsnishantsri
 
Computer Software And its types
Computer Software And its typesComputer Software And its types
Computer Software And its typesMirza Kaleem
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File ManagementDamian T. Gordon
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating SystemJanki Shah
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating Systempriya_sinha02
 
Operating system
Operating systemOperating system
Operating systemAshit_24
 

Was ist angesagt? (20)

Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
operating system
operating systemoperating system
operating system
 
Windows Operating System
Windows Operating SystemWindows Operating System
Windows Operating System
 
Operating system
Operating systemOperating system
Operating system
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Files
FilesFiles
Files
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
windows operating system and its advancements
windows operating system and its advancementswindows operating system and its advancements
windows operating system and its advancements
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 
Operating Systems - "Chapter 4: Multithreaded Programming"
Operating Systems - "Chapter 4:  Multithreaded Programming"Operating Systems - "Chapter 4:  Multithreaded Programming"
Operating Systems - "Chapter 4: Multithreaded Programming"
 
Computer System Organization
Computer System OrganizationComputer System Organization
Computer System Organization
 
Operating Systems Basics
Operating Systems BasicsOperating Systems Basics
Operating Systems Basics
 
Computer Software And its types
Computer Software And its typesComputer Software And its types
Computer Software And its types
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating system
Operating systemOperating system
Operating system
 
Task Manager
Task ManagerTask Manager
Task Manager
 

Andere mochten auch

Windows 95 Powepoint Presentation
Windows 95 Powepoint PresentationWindows 95 Powepoint Presentation
Windows 95 Powepoint Presentationaedryanadovas
 
Electronic mail : Introduction, drafting effective email, email etiquettes
Electronic mail : Introduction, drafting effective email, email etiquettesElectronic mail : Introduction, drafting effective email, email etiquettes
Electronic mail : Introduction, drafting effective email, email etiquettesDinesh Sharma
 
INTRODUCTION TO OPERATING SYSTEM
INTRODUCTION TO OPERATING SYSTEMINTRODUCTION TO OPERATING SYSTEM
INTRODUCTION TO OPERATING SYSTEMTrinity Dwarka
 
Operating systems
Operating systemsOperating systems
Operating systemsanishgoel
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating SystemPriya Patra
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating systemMohammad Alam
 
Operating system introduction to operating system
Operating system   introduction to operating systemOperating system   introduction to operating system
Operating system introduction to operating systemjaydeesa17
 
Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1abhinav baba
 
Learning Session 2: Computer Basics, Operating Systems, File Management, an...
Learning Session 2:   Computer Basics, Operating Systems, File Management, an...Learning Session 2:   Computer Basics, Operating Systems, File Management, an...
Learning Session 2: Computer Basics, Operating Systems, File Management, an...Clint Born
 
4 various operating systems
4 various operating systems4 various operating systems
4 various operating systemsmyrajendra
 
Operating systems Basics
Operating systems BasicsOperating systems Basics
Operating systems BasicsSherif Mousa
 
Basics of Internet and WWW
Basics of Internet and WWWBasics of Internet and WWW
Basics of Internet and WWWSagar Rai
 
Overview of various types of operating system
Overview of various types of operating systemOverview of various types of operating system
Overview of various types of operating systemUmme habiba
 
Computer Internet Basics I
Computer Internet Basics IComputer Internet Basics I
Computer Internet Basics Idebbie43
 

Andere mochten auch (20)

Windows 95 Powepoint Presentation
Windows 95 Powepoint PresentationWindows 95 Powepoint Presentation
Windows 95 Powepoint Presentation
 
Electronic mail : Introduction, drafting effective email, email etiquettes
Electronic mail : Introduction, drafting effective email, email etiquettesElectronic mail : Introduction, drafting effective email, email etiquettes
Electronic mail : Introduction, drafting effective email, email etiquettes
 
INTRODUCTION TO OPERATING SYSTEM
INTRODUCTION TO OPERATING SYSTEMINTRODUCTION TO OPERATING SYSTEM
INTRODUCTION TO OPERATING SYSTEM
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
Windows 98
Windows 98Windows 98
Windows 98
 
Email Basics
Email BasicsEmail Basics
Email Basics
 
Operating system introduction to operating system
Operating system   introduction to operating systemOperating system   introduction to operating system
Operating system introduction to operating system
 
Windows 98
Windows 98Windows 98
Windows 98
 
Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1
 
Learning Session 2: Computer Basics, Operating Systems, File Management, an...
Learning Session 2:   Computer Basics, Operating Systems, File Management, an...Learning Session 2:   Computer Basics, Operating Systems, File Management, an...
Learning Session 2: Computer Basics, Operating Systems, File Management, an...
 
4 various operating systems
4 various operating systems4 various operating systems
4 various operating systems
 
Operating systems Basics
Operating systems BasicsOperating systems Basics
Operating systems Basics
 
Lesson 4 Types Of Operating Systems
Lesson 4 Types Of Operating SystemsLesson 4 Types Of Operating Systems
Lesson 4 Types Of Operating Systems
 
Basics of Internet and WWW
Basics of Internet and WWWBasics of Internet and WWW
Basics of Internet and WWW
 
Overview of various types of operating system
Overview of various types of operating systemOverview of various types of operating system
Overview of various types of operating system
 
Operating System
Operating SystemOperating System
Operating System
 
Computer Internet Basics I
Computer Internet Basics IComputer Internet Basics I
Computer Internet Basics I
 
Batch operating system
Batch operating system Batch operating system
Batch operating system
 

Ähnlich wie Introduction to operating syatem

Silberschatz / OS Concepts
Silberschatz /  OS Concepts Silberschatz /  OS Concepts
Silberschatz / OS Concepts Alanisca Alanis
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)Muhammad Osama
 
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
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsmanideepakc
 
Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221ChungHong22
 
Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231ChungHong22
 
Operating System-Chap 1-EnglishVersion_20231
Operating System-Chap 1-EnglishVersion_20231Operating System-Chap 1-EnglishVersion_20231
Operating System-Chap 1-EnglishVersion_20231ChungHong22
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating systemAnil Dharmapuri
 
Chap0_Historical Prospective.pdf
Chap0_Historical Prospective.pdfChap0_Historical Prospective.pdf
Chap0_Historical Prospective.pdfYuChianWu1
 
1 intro and overview
1 intro and overview1 intro and overview
1 intro and overviewBaliThorat1
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating SystemAiman Hafeez
 
Ch1 OS
Ch1 OSCh1 OS
Ch1 OSC.U
 

Ähnlich wie Introduction to operating syatem (20)

Silberschatz / OS Concepts
Silberschatz /  OS Concepts Silberschatz /  OS Concepts
Silberschatz / OS Concepts
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)
 
operating systems
operating systemsoperating systems
operating systems
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
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
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221
 
Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231
 
Operating System-Chap 1-EnglishVersion_20231
Operating System-Chap 1-EnglishVersion_20231Operating System-Chap 1-EnglishVersion_20231
Operating System-Chap 1-EnglishVersion_20231
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
 
Chap0_Historical Prospective.pdf
Chap0_Historical Prospective.pdfChap0_Historical Prospective.pdf
Chap0_Historical Prospective.pdf
 
1 intro and overview
1 intro and overview1 intro and overview
1 intro and overview
 
Chapter - 1
Chapter - 1Chapter - 1
Chapter - 1
 
Oslecture1
Oslecture1Oslecture1
Oslecture1
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating System
Operating SystemOperating System
Operating System
 
01.osdoc
01.osdoc01.osdoc
01.osdoc
 
Ch1 OS
Ch1 OSCh1 OS
Ch1 OS
 
OS_Ch1
OS_Ch1OS_Ch1
OS_Ch1
 

Kürzlich hochgeladen

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 

Kürzlich hochgeladen (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 

Introduction to operating syatem

  • 1. Chapter 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 Introduction 1 Slide
  • 2. 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 Introduction 2 Slide
  • 3. Computer 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 Introduction 3 Slide
  • 4. Abstract View of System Components Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 4 Slide
  • 5. System Components Hides the complexity of machine language from programmer Instruction Set Architecture Physical devices grouped together to form functional units Integrated circuit chips, power supply, CRT The operating system run in kernel or supervisor mode - protected from user tampering Compilers, editors and application programs run in user mode Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 5 Slide
  • 6. Functions 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 Introduction 6 Slide
  • 7. Functions of an OS Resource Management  Time management  CPU  and disk transfer scheduling Space management  main  Synchronization and deadlock handling  IPC,  and secondary storage allocation critical section, coordination Accounting and status information  resource usage tracking Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 7 Slide
  • 8. History 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 Introduction 8 Slide
  • 9. History 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 Introduction 9 Slide
  • 10. History 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 Introduction 10 Slide
  • 11. History 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 Introduction 11 Slide
  • 12. History 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 Introduction 12 Slide
  • 13. Mainframe 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 Introduction 13 Slide
  • 14. Memory Layout for a Simple Batch System Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 14 Slide
  • 15. Multiprogrammed 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 Introduction 15 Slide
  • 16. OS 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 Introduction 16 Slide
  • 17. Desktop 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 Introduction 17 Slide
  • 18. Parallel 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 Introduction 18 Slide
  • 19. 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 Introduction 19 Slide
  • 20. Distributed 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 Introduction 20 Slide
  • 21. 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 Introduction 21 Slide
  • 22. Real-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 Introduction 22 Slide
  • 23. Handheld 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 Introduction 23 Slide
  • 24. Migration of Operating-System Concepts and Features Silberschatz / OS Concepts / 6e - Chapter 1 Introduction 24 Slide