SlideShare a Scribd company logo
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

More Related Content

PPTX
OS concepts 2 handling of interrupts
PPT
OperatingSystem01..(B.SC Part 2)
PPTX
Operating system 06 operating system classification
PPTX
Process management1
PPTX
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
PPTX
The Functions of the Operating System
PPTX
The Functions of the Operating System
PPTX
System component and system calls unit 1 by ram k paliwal
OS concepts 2 handling of interrupts
OperatingSystem01..(B.SC Part 2)
Operating system 06 operating system classification
Process management1
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
The Functions of the Operating System
The Functions of the Operating System
System component and system calls unit 1 by ram k paliwal

What's hot (19)

PDF
Os lecture 6
PDF
Os lecture 5
PPTX
Fault tolerance techniques for real time operating system
PPT
1.introduction
PPTX
Operating System Structure
PPT
Rtos By Avanish Agarwal
PPTX
Functions of the Operating System
PPTX
Fault avoidance and fault tolerance
PPT
Real Time Operating System
PPTX
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
PPT
Real time operating system
PDF
Unit 4 Real Time Operating System
PPTX
System design
PPTX
How to choose an RTOS?
PPT
Fault Tolerance System
PPSX
Real Time Operating System
PDF
Os lecture 6
Os lecture 5
Fault tolerance techniques for real time operating system
1.introduction
Operating System Structure
Rtos By Avanish Agarwal
Functions of the Operating System
Fault avoidance and fault tolerance
Real Time Operating System
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
Real time operating system
Unit 4 Real Time Operating System
System design
How to choose an RTOS?
Fault Tolerance System
Real Time Operating System
Ad

Viewers also liked (20)

PPTX
Padha aand tahir
PPSX
Thecarvakaphilosophy 110628012341-phpapp02
PPTX
E-Commerce
PPT
Erp case study
PPT
E-Commerce
PPT
Sectorsofproduction1 (1)
PPT
Sectorsofproduction1
PPT
Leading indicators in_the_indian_economy
PPT
Week 1 bua 235
PPT
E-Commerce
PPTX
E-Commerce
PPT
E commerce
PPT
E-Commerce
PPT
E-Commerce
PPT
Introduction to e business & e-commerce
PPTX
E-Commerce
PPT
Information ethics & intro to information security
PPT
E -Commerce
PPT
Chap 4 hardware & software
PPTX
E-Commerce
Padha aand tahir
Thecarvakaphilosophy 110628012341-phpapp02
E-Commerce
Erp case study
E-Commerce
Sectorsofproduction1 (1)
Sectorsofproduction1
Leading indicators in_the_indian_economy
Week 1 bua 235
E-Commerce
E-Commerce
E commerce
E-Commerce
E-Commerce
Introduction to e business & e-commerce
E-Commerce
Information ethics & intro to information security
E -Commerce
Chap 4 hardware & software
E-Commerce
Ad

Similar to Section01 overview (1) (20)

PPT
Section01-Overview.ppt
PDF
Operating System-adi.pdf
PDF
OS Lecture 01 Introductiodg (Slides).pdf
DOC
OPERATING SYSTEM - SHORT NOTES
PPTX
OPERATING SYSTEMS OVERVIEW111111111.pptx
PDF
OS Content.pdf
PPTX
Operating system Chapter One
PPT
Operating Systems
PPTX
Operating system concepts
PDF
Engg-0505-IT-Operating-Systems-2nd-year.pdf
PPTX
principlles of operating systems definitions and explanations
PPTX
Unit_2_CSE111.pptx computer orientation project
PPT
chapter1.ppt
PDF
operating systems hybrid notes for computerscience.pdf
PDF
Operating Systems PPT 1 (1).pdf
PPTX
Introduction to operating systems
PPT
1. Introduction to OS.ppt
PDF
4 Module - Operating Systems Configuration and Use by Mark John Lado
PDF
Operating systemMINIX GitHub: https://github.com/Stichting-MINIX-Research-Fou...
Section01-Overview.ppt
Operating System-adi.pdf
OS Lecture 01 Introductiodg (Slides).pdf
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEMS OVERVIEW111111111.pptx
OS Content.pdf
Operating system Chapter One
Operating Systems
Operating system concepts
Engg-0505-IT-Operating-Systems-2nd-year.pdf
principlles of operating systems definitions and explanations
Unit_2_CSE111.pptx computer orientation project
chapter1.ppt
operating systems hybrid notes for computerscience.pdf
Operating Systems PPT 1 (1).pdf
Introduction to operating systems
1. Introduction to OS.ppt
4 Module - Operating Systems Configuration and Use by Mark John Lado
Operating systemMINIX GitHub: https://github.com/Stichting-MINIX-Research-Fou...

More from Vimarsh Padha (16)

PPT
Section01 overview
PPTX
Presentation1mbe 140614095933-phpapp02
PPT
Presentation eng tj
PPT
Presentation eng tj (1)
PPS
Introduction to computers
PPT
Imf world bank-26 may 2010-telafi
PPTX
PPTX
Iep ppt
PPT
F stat analysis
DOCX
Format letters (1)
PPT
Food security in_india
PPTX
Finallybrazil 130316130758-phpapp02
PPTX
Exim policy
PPT
Emergency provisions
PPT
E commerce
PPT
Dispersion
Section01 overview
Presentation1mbe 140614095933-phpapp02
Presentation eng tj
Presentation eng tj (1)
Introduction to computers
Imf world bank-26 may 2010-telafi
Iep ppt
F stat analysis
Format letters (1)
Food security in_india
Finallybrazil 130316130758-phpapp02
Exim policy
Emergency provisions
E commerce
Dispersion

Section01 overview (1)

  • 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