SlideShare a Scribd company logo
1 of 17
OPERATING SYSTEMS

    OVERVIEW



    Jerry Breecher
    1: Operating Systems Overview   1
OPERATING SYSTEM
                   OVERVIEW
           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.




                             1: Operating Systems Overview                    2
OPERATING                                  The Layers Of
                                                       A System
       SYSTEM OVERVIEW
Humans




Program Interface



User Programs


O.S. Interface

O.S.

Hardware Interface/
Privileged Instructions

Disk/Tape/Memory
                          1: Operating Systems Overview          3
OPERATING                                            Components
 SYSTEM OVERVIEW
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.




                         1: Operating Systems Overview                   4
OPERATING                                               Components
 SYSTEM OVERVIEW
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.

                            1: Operating Systems Overview                 5
OPERATING
                                                                  Characteristics
    SYSTEM OVERVIEW
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.
                                 1: Operating Systems Overview                            6
OPERATING
                                                             Characteristics
SYSTEM OVERVIEW
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 Overview                            7
OPERATING                                          Hardware
 SYSTEM OVERVIEW                                        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 Overview              8
OPERATING                                   Hardware
 SYSTEM OVERVIEW                                 Support

Sequence
 of events
     for
processing
   an IO
 request.



  Comparing
Synchronous
     and
Asynchronous
IO Operations




                1: Operating Systems Overview              9
OPERATING                            Hardware
SYSTEM OVERVIEW                          Support
                                              This is O.S.
                                         Bookkeeping. These
                                             structures are
                                           necessary to keep
                                        track of IO in progress.




        1: Operating Systems Overview                   10
OPERATING                                                     Storage
 SYSTEM OVERVIEW                                                 Hierarchy
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.

Fast and Expensive




   Slow an Cheap

                            1: Operating Systems Overview                         11
OPERATING                                    Storage
SYSTEM OVERVIEW                                Hierarchy
Performance:




               1: Operating Systems Overview           12
OPERATING                                            Storage
 SYSTEM OVERVIEW                                        Hierarchy
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




                        1: Operating Systems Overview                13
OPERATING                                                 Protection
 SYSTEM OVERVIEW
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.




                              1: Operating Systems Overview            14
OPERATING                                         Protection
SYSTEM OVERVIEW
 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.




                     1: Operating Systems Overview                15
OPERATING                                            Protection
SYSTEM OVERVIEW
 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.


 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 Overview                    16
OPERATING SYSTEM OVERVIEW
                               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.




                        1: Operating Systems Overview                17

More Related Content

What's hot

Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its ComponentsMahmuda Rahman
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301cpjcollege
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsRai University
 
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
 
6 multiprogramming & time sharing
6 multiprogramming & time sharing6 multiprogramming & time sharing
6 multiprogramming & time sharingmyrajendra
 
4 various operating systems
4 various operating systems4 various operating systems
4 various operating systemsmyrajendra
 
Operating system introducton and tyes
Operating system introducton and tyesOperating system introducton and tyes
Operating system introducton and tyesNancy Verma
 
Practical examples for different types of operating systems.
Practical examples for different types of  operating systems.Practical examples for different types of  operating systems.
Practical examples for different types of operating systems.Deepa
 
Lecture 3,4 operating systems
Lecture 3,4   operating systemsLecture 3,4   operating systems
Lecture 3,4 operating systemsPradeep Kumar TS
 
ITFT_Device management in Operating System
ITFT_Device management in Operating SystemITFT_Device management in Operating System
ITFT_Device management in Operating SystemSneh Prabha
 
Operating systems By Awais
Operating systems By AwaisOperating systems By Awais
Operating systems By AwaisAwaisch3
 
Ch1: Operating System- Introduction
Ch1: Operating System- IntroductionCh1: Operating System- Introduction
Ch1: Operating System- IntroductionAhmar Hashmi
 
System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniHardik Nathani
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types vimal kumar arora
 

What's hot (18)

Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systems
 
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
 
6 multiprogramming & time sharing
6 multiprogramming & time sharing6 multiprogramming & time sharing
6 multiprogramming & time sharing
 
4 various operating systems
4 various operating systems4 various operating systems
4 various operating systems
 
Operating system
Operating systemOperating system
Operating system
 
Operating system introducton and tyes
Operating system introducton and tyesOperating system introducton and tyes
Operating system introducton and tyes
 
Practical examples for different types of operating systems.
Practical examples for different types of  operating systems.Practical examples for different types of  operating systems.
Practical examples for different types of operating systems.
 
Os1
Os1Os1
Os1
 
Operating system
Operating systemOperating system
Operating system
 
Lecture 3,4 operating systems
Lecture 3,4   operating systemsLecture 3,4   operating systems
Lecture 3,4 operating systems
 
ITFT_Device management in Operating System
ITFT_Device management in Operating SystemITFT_Device management in Operating System
ITFT_Device management in Operating System
 
Operating systems By Awais
Operating systems By AwaisOperating systems By Awais
Operating systems By Awais
 
Ch1: Operating System- Introduction
Ch1: Operating System- IntroductionCh1: Operating System- Introduction
Ch1: Operating System- Introduction
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathani
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
 

Similar to Os

Section01 overview (1)
Section01 overview (1)Section01 overview (1)
Section01 overview (1)Vimarsh Padha
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESsuthi
 
Intermediate Operating Systems
Intermediate Operating SystemsIntermediate Operating Systems
Intermediate Operating SystemsJohn Cutajar
 
1 introduction
1 introduction1 introduction
1 introductionMohd Arif
 
Operating System and related questions
Operating System and related questionsOperating System and related questions
Operating System and related questionsimdurgesh
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxakhilagajjala
 
Operating systems
Operating systemsOperating systems
Operating systemsanishgoel
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categoriesWajeehaBaig
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfFahanaAbdulVahab
 

Similar to Os (20)

Section01 overview
Section01 overviewSection01 overview
Section01 overview
 
Section01 overview (1)
Section01 overview (1)Section01 overview (1)
Section01 overview (1)
 
Section01-Overview.ppt
Section01-Overview.pptSection01-Overview.ppt
Section01-Overview.ppt
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTES
 
Intermediate Operating Systems
Intermediate Operating SystemsIntermediate Operating Systems
Intermediate Operating Systems
 
OS-ch01-2024.ppt
OS-ch01-2024.pptOS-ch01-2024.ppt
OS-ch01-2024.ppt
 
1 introduction
1 introduction1 introduction
1 introduction
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
OS Structure
OS StructureOS Structure
OS Structure
 
Operating System and related questions
Operating System and related questionsOperating System and related questions
Operating System and related questions
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Operating systems
Operating systemsOperating systems
Operating systems
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categories
 
Virtualization Basics
Virtualization BasicsVirtualization Basics
Virtualization Basics
 
1.introduction
1.introduction1.introduction
1.introduction
 
1.Introduction
1.Introduction1.Introduction
1.Introduction
 
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
 
VOSUnit
VOSUnitVOSUnit
VOSUnit
 
Lect01
Lect01Lect01
Lect01
 

More from Vaibhav Bajaj (20)

Stroustrup c++0x overview
Stroustrup c++0x overviewStroustrup c++0x overview
Stroustrup c++0x overview
 
P smile
P smileP smile
P smile
 
Ppt history-of-apple2203 (1)
Ppt history-of-apple2203 (1)Ppt history-of-apple2203 (1)
Ppt history-of-apple2203 (1)
 
Oop1
Oop1Oop1
Oop1
 
Mem hierarchy
Mem hierarchyMem hierarchy
Mem hierarchy
 
Database
DatabaseDatabase
Database
 
C++0x
C++0xC++0x
C++0x
 
Blu ray disc slides
Blu ray disc slidesBlu ray disc slides
Blu ray disc slides
 
Assembler
AssemblerAssembler
Assembler
 
Assembler (2)
Assembler (2)Assembler (2)
Assembler (2)
 
Projection of solids
Projection of solidsProjection of solids
Projection of solids
 
Projection of planes
Projection of planesProjection of planes
Projection of planes
 
Ortographic projection
Ortographic projectionOrtographic projection
Ortographic projection
 
Isometric
IsometricIsometric
Isometric
 
Intersection 1
Intersection 1Intersection 1
Intersection 1
 
Important q
Important qImportant q
Important q
 
Eg o31
Eg o31Eg o31
Eg o31
 
Development of surfaces of solids
Development of surfaces of solidsDevelopment of surfaces of solids
Development of surfaces of solids
 
Development of surfaces of solids copy
Development of surfaces of solids   copyDevelopment of surfaces of solids   copy
Development of surfaces of solids copy
 
Curves2
Curves2Curves2
Curves2
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Os

  • 1. OPERATING SYSTEMS OVERVIEW Jerry Breecher 1: Operating Systems Overview 1
  • 2. OPERATING SYSTEM OVERVIEW 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. 1: Operating Systems Overview 2
  • 3. OPERATING The Layers Of A System SYSTEM OVERVIEW Humans Program Interface User Programs O.S. Interface O.S. Hardware Interface/ Privileged Instructions Disk/Tape/Memory 1: Operating Systems Overview 3
  • 4. OPERATING Components SYSTEM OVERVIEW 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. 1: Operating Systems Overview 4
  • 5. OPERATING Components SYSTEM OVERVIEW 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. 1: Operating Systems Overview 5
  • 6. OPERATING Characteristics SYSTEM OVERVIEW 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. 1: Operating Systems Overview 6
  • 7. OPERATING Characteristics SYSTEM OVERVIEW 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 Overview 7
  • 8. OPERATING Hardware SYSTEM OVERVIEW 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 Overview 8
  • 9. OPERATING Hardware SYSTEM OVERVIEW Support Sequence of events for processing an IO request. Comparing Synchronous and Asynchronous IO Operations 1: Operating Systems Overview 9
  • 10. OPERATING Hardware SYSTEM OVERVIEW Support This is O.S. Bookkeeping. These structures are necessary to keep track of IO in progress. 1: Operating Systems Overview 10
  • 11. OPERATING Storage SYSTEM OVERVIEW Hierarchy 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. Fast and Expensive Slow an Cheap 1: Operating Systems Overview 11
  • 12. OPERATING Storage SYSTEM OVERVIEW Hierarchy Performance: 1: Operating Systems Overview 12
  • 13. OPERATING Storage SYSTEM OVERVIEW Hierarchy 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 1: Operating Systems Overview 13
  • 14. OPERATING Protection SYSTEM OVERVIEW 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. 1: Operating Systems Overview 14
  • 15. OPERATING Protection SYSTEM OVERVIEW 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. 1: Operating Systems Overview 15
  • 16. OPERATING Protection SYSTEM OVERVIEW 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. 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 Overview 16
  • 17. OPERATING SYSTEM OVERVIEW 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. 1: Operating Systems Overview 17