SlideShare una empresa de Scribd logo
1 de 17
1: Operating Systems Overview1
Jerry Breecher
OPERATING SYSTEMS
OVERVIEW
1: Operating Systems Overview2
WHAT IS AN OPERATING SYSTEM?
• An interface between users and hardware - an environment "architecture”
• Allows convenient usage; hides the tedious stuff
• Allows efficient usage; parallel activity, avoids wasted cycles
• Provides information protection
• Gives each user a slice of the resources
• Acts as a control program.
OPERATING SYSTEM
OVERVIEW
1: Operating Systems Overview3
OPERATING
SYSTEM OVERVIEW
The Layers Of
A System
Program Interface
Humans
User Programs
O.S. Interface
O.S.
Hardware Interface/
Privileged Instructions
Disk/Tape/Memory
1: Operating Systems Overview4
A mechanism for scheduling jobs or processes. Scheduling can be as simple
as running the next process, or it can use relatively complex rules to pick
a running process.
A method for simultaneous CPU execution and IO handling. Processing is
going on even as IO is occurring in preparation for future CPU work.
Off Line Processing; not only are IO and CPU happening concurrently, but
some off-board processing is occurring with the IO.
OPERATING
SYSTEM OVERVIEW
Components
1: Operating Systems Overview5
The CPU is wasted if a job waits for I/O. This leads to:
• Multiprogramming ( dynamic switching ). While one job waits for a
resource, the CPU can find another job to run. It means that several jobs
are ready to run and only need the CPU in order to continue.
CPU scheduling is the subject of Chapter 6.
All of this leads to:
• memory management
• resource scheduling
• deadlock protection
which are the subject of the rest of this course.
OPERATING
SYSTEM OVERVIEW
Components
1: Operating Systems Overview6
Other Characteristics include:
• Time Sharing - multiprogramming environment that's also interactive.
• Multiprocessing - Tightly coupled systems that communicate via shared memory. Used
for scientific applications. Used for speed improvement by putting together a number of off-
the-shelf processors.
• Distributed Systems - Loosely coupled systems that communicate via message passing.
Advantages include resource sharing, speed up, reliability, communication.
• Real Time Systems - Rapid response time is main characteristic. Used in control of
applications where rapid response to a stimulus is essential.
OPERATING
SYSTEM OVERVIEW
Characteristics
1: Operating Systems Overview7
OPERATING
SYSTEM OVERVIEW
Characteristics
Interrupts:
• Interrupt transfers control to the interrupt service routine generally, through the
interrupt vector, which contains the addresses of all the service routines.
• Interrupt architecture must save the address of the interrupted instruction.
• Incoming interrupts are disabled while another interrupt is being processed to prevent
a lost interrupt.
• A trap is a software-generated interrupt caused either by an error or a user request.
• An operating system is interrupt driven.
1: Operating Systems Overview8
OPERATING
SYSTEM OVERVIEW
Hardware
Support
These are the
devices that make
up a typical system.
Any of these
devices can cause
an electrical
interrupt that grabs
the attention of the
CPU.
1: Operating Systems Overview9
OPERATING
SYSTEM OVERVIEW
Hardware
Support
Sequence
of events
for
processing
an IO
request.
Comparing
Synchronous
and
Asynchronous
IO Operations
1: Operating Systems Overview10
OPERATING
SYSTEM OVERVIEW
Hardware
Support
This is O.S.
Bookkeeping. These
structures are
necessary to keep
track of IO in progress.
1: Operating Systems Overview11
Very fast storage is very expensive. So the Operating System manages a hierarchy of
storage devices in order to make the best use of resources. In fact, considerable effort
goes into this support.
OPERATING
SYSTEM OVERVIEW
Storage
Hierarchy
Fast and Expensive
Slow an Cheap
1: Operating Systems Overview12
Performance:
OPERATING
SYSTEM OVERVIEW
Storage
Hierarchy
1: Operating Systems Overview13
Caching:
•Important principle, performed at many levels in a computer (in hardware,
operating system, software)
•Information in use copied from slower to faster storage temporarily
•Faster storage (cache) checked first to determine if information is there
• If it is, information used directly from the cache (fast)
• If not, data copied to cache and used there
•Cache smaller than storage being cached
• Cache management important design problem
• Cache size and replacement policy
OPERATING
SYSTEM OVERVIEW
Storage
Hierarchy
1: Operating Systems Overview14
The goal is protecting the Operating System and
others from malicious or ignorant users.
The User/Supervisor Mode and privileged
instructions.
Concurrent threads might interfere with others.
This leads to protection of resources by
user/supervisor mode. These resources include:
I/O Define I/O instructions as privileged; they
can be executed only in Supervisor
mode. System calls get us from user to
supervisor mode.
OPERATING
SYSTEM OVERVIEW
Protection
1: Operating Systems Overview15
Memory A user program can only access its own logical memory. For
instance, it can't modify supervisor code. Depends on an address
translation scheme such as that shown here.
OPERATING
SYSTEM OVERVIEW
Protection
1: Operating Systems Overview16
CPU A clock prevents programs from using all the CPU time. This
clock causes an interrupt that causes the operating system to gain control
from a user program.
OPERATING
SYSTEM OVERVIEW
Protection
For machines connected together, this protection must extend across:
Shared resources,
Multiprocessor Architectures,
Clustered Systems
The practice of this is called “distributed operating systems”.
1: Operating Systems Overview17
WRAPUP
We’ve completed our first overview of an Operating System – this was
the equivalent of a Satellite picture.
The next view will be at the level of a high flying plane.
After that, we’ll be at ground level, looking at pieces in detail.
OPERATING SYSTEM OVERVIEW

Más contenido relacionado

La actualidad más candente

Fault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating systemFault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating systemanujos25
 
Functions of the Operating System
Functions of the Operating SystemFunctions of the Operating System
Functions of the Operating Systemandyr91
 
Fault avoidance and fault tolerance
Fault avoidance and fault toleranceFault avoidance and fault tolerance
Fault avoidance and fault toleranceJabez Winston
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)Arti Parab Academics
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating SystemDr. Pankaj Zope
 
Fault Tolerance System
Fault Tolerance SystemFault Tolerance System
Fault Tolerance Systemprakashjjaya
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating Systemvivek223
 

La actualidad más candente (19)

Os lecture 6
Os lecture 6Os lecture 6
Os lecture 6
 
Os lecture 5
Os lecture 5Os lecture 5
Os lecture 5
 
Fault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating systemFault tolerance techniques for real time operating system
Fault tolerance techniques for real time operating system
 
1.introduction
1.introduction1.introduction
1.introduction
 
Operating System Structure
Operating System StructureOperating System Structure
Operating System Structure
 
Rtos By Avanish Agarwal
Rtos By Avanish AgarwalRtos By Avanish Agarwal
Rtos By Avanish Agarwal
 
Functions of the Operating System
Functions of the Operating SystemFunctions of the Operating System
Functions of the Operating System
 
Fault avoidance and fault tolerance
Fault avoidance and fault toleranceFault avoidance and fault tolerance
Fault avoidance and fault tolerance
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
ITT
ITTITT
ITT
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Unit 4 Real Time Operating System
Unit 4 Real Time Operating SystemUnit 4 Real Time Operating System
Unit 4 Real Time Operating System
 
System design
System designSystem design
System design
 
How to choose an RTOS?
How to choose an RTOS?How to choose an RTOS?
How to choose an RTOS?
 
Os
OsOs
Os
 
Fault Tolerance System
Fault Tolerance SystemFault Tolerance System
Fault Tolerance System
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Process
ProcessProcess
Process
 

Similar a Section01 overview

OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESsuthi
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsvampugani
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system conceptsArnav Chowdhury
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfnikhil287188
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfFahanaAbdulVahab
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John LadoMark John Lado, MIT
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturejeetesh036
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxakhilagajjala
 
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptxUNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptxLeahRachael
 

Similar a Section01 overview (20)

Section01-Overview.ppt
Section01-Overview.pptSection01-Overview.ppt
Section01-Overview.ppt
 
Os
OsOs
Os
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTES
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
Operating system Chapter One
Operating system Chapter OneOperating system Chapter One
Operating system Chapter One
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system concepts
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdf
 
chapter1.ppt
chapter1.pptchapter1.ppt
chapter1.ppt
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdf
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
1. Introduction to OS.ppt
1. Introduction to OS.ppt1. Introduction to OS.ppt
1. Introduction to OS.ppt
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Os1
Os1Os1
Os1
 
OS-ch01-2024.ppt
OS-ch01-2024.pptOS-ch01-2024.ppt
OS-ch01-2024.ppt
 
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptxUNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 

Más de Vimarsh Padha

Thecarvakaphilosophy 110628012341-phpapp02
Thecarvakaphilosophy 110628012341-phpapp02Thecarvakaphilosophy 110628012341-phpapp02
Thecarvakaphilosophy 110628012341-phpapp02Vimarsh Padha
 
Sectorsofproduction1
Sectorsofproduction1Sectorsofproduction1
Sectorsofproduction1Vimarsh Padha
 
Sectorsofproduction1 (1)
Sectorsofproduction1 (1)Sectorsofproduction1 (1)
Sectorsofproduction1 (1)Vimarsh Padha
 
Section01 overview (1)
Section01 overview (1)Section01 overview (1)
Section01 overview (1)Vimarsh Padha
 
Presentation1mbe 140614095933-phpapp02
Presentation1mbe 140614095933-phpapp02Presentation1mbe 140614095933-phpapp02
Presentation1mbe 140614095933-phpapp02Vimarsh Padha
 
Presentation eng tj (1)
Presentation eng tj (1)Presentation eng tj (1)
Presentation eng tj (1)Vimarsh Padha
 
Leading indicators in_the_indian_economy
Leading indicators in_the_indian_economyLeading indicators in_the_indian_economy
Leading indicators in_the_indian_economyVimarsh Padha
 
Introduction to e business & e-commerce
Introduction to e business  & e-commerceIntroduction to e business  & e-commerce
Introduction to e business & e-commerceVimarsh Padha
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computersVimarsh Padha
 
Imf world bank-26 may 2010-telafi
Imf world bank-26 may 2010-telafiImf world bank-26 may 2010-telafi
Imf world bank-26 may 2010-telafiVimarsh Padha
 
Food security in_india
Food security in_indiaFood security in_india
Food security in_indiaVimarsh Padha
 
Finallybrazil 130316130758-phpapp02
Finallybrazil 130316130758-phpapp02Finallybrazil 130316130758-phpapp02
Finallybrazil 130316130758-phpapp02Vimarsh Padha
 
Emergency provisions
Emergency provisionsEmergency provisions
Emergency provisionsVimarsh Padha
 

Más de Vimarsh Padha (20)

Thecarvakaphilosophy 110628012341-phpapp02
Thecarvakaphilosophy 110628012341-phpapp02Thecarvakaphilosophy 110628012341-phpapp02
Thecarvakaphilosophy 110628012341-phpapp02
 
Sectorsofproduction1
Sectorsofproduction1Sectorsofproduction1
Sectorsofproduction1
 
Sectorsofproduction1 (1)
Sectorsofproduction1 (1)Sectorsofproduction1 (1)
Sectorsofproduction1 (1)
 
Section01 overview (1)
Section01 overview (1)Section01 overview (1)
Section01 overview (1)
 
Presentation1mbe 140614095933-phpapp02
Presentation1mbe 140614095933-phpapp02Presentation1mbe 140614095933-phpapp02
Presentation1mbe 140614095933-phpapp02
 
Presentation eng tj
Presentation eng tjPresentation eng tj
Presentation eng tj
 
Presentation eng tj (1)
Presentation eng tj (1)Presentation eng tj (1)
Presentation eng tj (1)
 
Padha aand tahir
Padha aand tahirPadha aand tahir
Padha aand tahir
 
Leading indicators in_the_indian_economy
Leading indicators in_the_indian_economyLeading indicators in_the_indian_economy
Leading indicators in_the_indian_economy
 
Introduction to e business & e-commerce
Introduction to e business  & e-commerceIntroduction to e business  & e-commerce
Introduction to e business & e-commerce
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
 
Imf world bank-26 may 2010-telafi
Imf world bank-26 may 2010-telafiImf world bank-26 may 2010-telafi
Imf world bank-26 may 2010-telafi
 
Iep
IepIep
Iep
 
Iep ppt
Iep pptIep ppt
Iep ppt
 
F stat analysis
F stat analysisF stat analysis
F stat analysis
 
Format letters (1)
Format letters (1)Format letters (1)
Format letters (1)
 
Food security in_india
Food security in_indiaFood security in_india
Food security in_india
 
Finallybrazil 130316130758-phpapp02
Finallybrazil 130316130758-phpapp02Finallybrazil 130316130758-phpapp02
Finallybrazil 130316130758-phpapp02
 
Exim policy
Exim  policyExim  policy
Exim policy
 
Emergency provisions
Emergency provisionsEmergency provisions
Emergency provisions
 

Section01 overview

  • 1. 1: Operating Systems Overview1 Jerry Breecher OPERATING SYSTEMS OVERVIEW
  • 2. 1: Operating Systems Overview2 WHAT IS AN OPERATING SYSTEM? • An interface between users and hardware - an environment "architecture” • Allows convenient usage; hides the tedious stuff • Allows efficient usage; parallel activity, avoids wasted cycles • Provides information protection • Gives each user a slice of the resources • Acts as a control program. OPERATING SYSTEM OVERVIEW
  • 3. 1: Operating Systems Overview3 OPERATING SYSTEM OVERVIEW The Layers Of A System Program Interface Humans User Programs O.S. Interface O.S. Hardware Interface/ Privileged Instructions Disk/Tape/Memory
  • 4. 1: Operating Systems Overview4 A mechanism for scheduling jobs or processes. Scheduling can be as simple as running the next process, or it can use relatively complex rules to pick a running process. A method for simultaneous CPU execution and IO handling. Processing is going on even as IO is occurring in preparation for future CPU work. Off Line Processing; not only are IO and CPU happening concurrently, but some off-board processing is occurring with the IO. OPERATING SYSTEM OVERVIEW Components
  • 5. 1: Operating Systems Overview5 The CPU is wasted if a job waits for I/O. This leads to: • Multiprogramming ( dynamic switching ). While one job waits for a resource, the CPU can find another job to run. It means that several jobs are ready to run and only need the CPU in order to continue. CPU scheduling is the subject of Chapter 6. All of this leads to: • memory management • resource scheduling • deadlock protection which are the subject of the rest of this course. OPERATING SYSTEM OVERVIEW Components
  • 6. 1: Operating Systems Overview6 Other Characteristics include: • Time Sharing - multiprogramming environment that's also interactive. • Multiprocessing - Tightly coupled systems that communicate via shared memory. Used for scientific applications. Used for speed improvement by putting together a number of off- the-shelf processors. • Distributed Systems - Loosely coupled systems that communicate via message passing. Advantages include resource sharing, speed up, reliability, communication. • Real Time Systems - Rapid response time is main characteristic. Used in control of applications where rapid response to a stimulus is essential. OPERATING SYSTEM OVERVIEW Characteristics
  • 7. 1: Operating Systems Overview7 OPERATING SYSTEM OVERVIEW Characteristics Interrupts: • Interrupt transfers control to the interrupt service routine generally, through the interrupt vector, which contains the addresses of all the service routines. • Interrupt architecture must save the address of the interrupted instruction. • Incoming interrupts are disabled while another interrupt is being processed to prevent a lost interrupt. • A trap is a software-generated interrupt caused either by an error or a user request. • An operating system is interrupt driven.
  • 8. 1: Operating Systems Overview8 OPERATING SYSTEM OVERVIEW Hardware Support These are the devices that make up a typical system. Any of these devices can cause an electrical interrupt that grabs the attention of the CPU.
  • 9. 1: Operating Systems Overview9 OPERATING SYSTEM OVERVIEW Hardware Support Sequence of events for processing an IO request. Comparing Synchronous and Asynchronous IO Operations
  • 10. 1: Operating Systems Overview10 OPERATING SYSTEM OVERVIEW Hardware Support This is O.S. Bookkeeping. These structures are necessary to keep track of IO in progress.
  • 11. 1: Operating Systems Overview11 Very fast storage is very expensive. So the Operating System manages a hierarchy of storage devices in order to make the best use of resources. In fact, considerable effort goes into this support. OPERATING SYSTEM OVERVIEW Storage Hierarchy Fast and Expensive Slow an Cheap
  • 12. 1: Operating Systems Overview12 Performance: OPERATING SYSTEM OVERVIEW Storage Hierarchy
  • 13. 1: Operating Systems Overview13 Caching: •Important principle, performed at many levels in a computer (in hardware, operating system, software) •Information in use copied from slower to faster storage temporarily •Faster storage (cache) checked first to determine if information is there • If it is, information used directly from the cache (fast) • If not, data copied to cache and used there •Cache smaller than storage being cached • Cache management important design problem • Cache size and replacement policy OPERATING SYSTEM OVERVIEW Storage Hierarchy
  • 14. 1: Operating Systems Overview14 The goal is protecting the Operating System and others from malicious or ignorant users. The User/Supervisor Mode and privileged instructions. Concurrent threads might interfere with others. This leads to protection of resources by user/supervisor mode. These resources include: I/O Define I/O instructions as privileged; they can be executed only in Supervisor mode. System calls get us from user to supervisor mode. OPERATING SYSTEM OVERVIEW Protection
  • 15. 1: Operating Systems Overview15 Memory A user program can only access its own logical memory. For instance, it can't modify supervisor code. Depends on an address translation scheme such as that shown here. OPERATING SYSTEM OVERVIEW Protection
  • 16. 1: Operating Systems Overview16 CPU A clock prevents programs from using all the CPU time. This clock causes an interrupt that causes the operating system to gain control from a user program. OPERATING SYSTEM OVERVIEW Protection For machines connected together, this protection must extend across: Shared resources, Multiprocessor Architectures, Clustered Systems The practice of this is called “distributed operating systems”.
  • 17. 1: Operating Systems Overview17 WRAPUP We’ve completed our first overview of an Operating System – this was the equivalent of a Satellite picture. The next view will be at the level of a high flying plane. After that, we’ll be at ground level, looking at pieces in detail. OPERATING SYSTEM OVERVIEW