SlideShare a Scribd company logo
1 of 38
OPERATING SYSTEMS
BY L. Mutanu Mwaura
CH1: OVERVIEW OF OPERATING SYSTEMS
What is the operating system?
Compiled by L. Mutanu
2
CH1: OVERVIEW OF OPERATING SYSTEMS
• An OS is a program that acts an intermediary
between the user of a computer and computer
hardware.
• Major cost of general purpose computing is
software.
▫ OS simplifies and manages the complexity of
running application programs efficiently.
Compiled by L. Mutanu
3
CH1: OVERVIEW OF OPERATING SYSTEMS
Introduction
• A computer system consists of
▫ hardware
▫ system programs
▫ application programs
Compiled by L. Mutanu
4
CH1: OVERVIEW OF OPERATING SYSTEMS
Compiled by L. Mutanu
5
CH1: OVERVIEW OF OPERATING SYSTEMS
What is the difference between the
OS and the kernel
Compiled by L. Mutanu
6
CH1: OVERVIEW OF OPERATING SYSTEMS
Compiled by L. Mutanu
7
CH1: OVERVIEW OF OPERATING SYSTEMS
Goals of an Operating System
• Simplify the execution of user programs and
make solving user problems easier.
• Use computer hardware efficiently.
▫ Allow sharing of hardware and software resources.
• Make application software portable and
versatile.
• Provide isolation, security and protection among
user programs.
• Improve overall system reliability
 error confinement, fault tolerance, reconfiguration.
Compiled by L. Mutanu
8
CH1: OVERVIEW OF OPERATING SYSTEMS
• Can the computer run without an
operating system?
02/06/2016By L. Mutanu
9
CH1: OVERVIEW OF OPERATING SYSTEMS
02/06/2016By L. Mutanu
10
Without an OS the computer functions would not
be synchronized!
CH1: OVERVIEW OF OPERATING SYSTEMS
02/06/2016By L. Mutanu
11
Systems Today Compiled by L. Mutanu
12
Irvine Sensorium
13
CH1: OVERVIEW OF OPERATING SYSTEMS
Hardware & Software Complexity IncreasesCompiled by L. Mutanu
14
Moore’s Law: 2X
transistors/Chip Every 1.5 years
Moore’s Law
CH1: OVERVIEW OF OPERATING SYSTEMS
1985 - Windows 1.0
Compiled by L. Mutanu
15
Windows 2.0
Windows 3.0
Windows 3.1
Windows 95
Windows 98
Windows 2000
Windows ME
Windows XP
Windows 7
Windows Vista
CH1: OVERVIEW OF OPERATING SYSTEMS
What is your preferred operating
system?
Compiled by L. Mutanu
16
CH1: OVERVIEW OF OPERATING SYSTEMS
Examples of operating systems
• Open source - Based on open, published source code
▫ UNIX and Linux
• Proprietary - Closed
▫ Apple Macintosh
• Hybrid - Some elements open, some elements closed
▫ Microsoft
17
Compiled by L. Mutanu
CH1: OVERVIEW OF OPERATING SYSTEMS
Early Systems - Bare Machine (1950s)
• Structure
 Large machines run from console
 Single user system
 Programmer/User as operator
 Paper tape or punched cards
• Early software
 Assemblers, compilers, linkers, loaders, device drivers, libraries of
common subroutines.
• Secure execution
• Inefficient use of expensive resources
 Low CPU utilization, high setup time.
Compiled by L. Mutanu
18
Hardware – expensive ; Human – cheap
CH1: OVERVIEW OF OPERATING SYSTEMS
1. Simple Batch Systems (1960’s)
• Reduce setup time by batching jobs with similar requirements.
• Add a card reader, Hire an operator
▫ User is NOT the operator
▫ Automatic job sequencing
 Forms a rudimentary OS.
▫ Resident Monitor
 Holds initial control, control transfers to job and then back to monitor.
▫ Problem
 Need to distinguish job from job and data from program.
Compiled by L. Mutanu
19
CH1: OVERVIEW OF OPERATING SYSTEMS
▫ Problem with Batch Systems
 Long turnaround time - up to 2 DAYS!!!
 Low CPU utilization - I/O and CPU could not overlap;
▫ Solutions to speed up I/O:
▫ Offline Processing
 load jobs into memory from tapes, card reading and line printing are
done offline.
▫ Early batch system
 bring cards to 1401
 read cards to tape
 put tape on 7094 which does computing
 put tape on 1401 which prints output
Compiled by L. Mutanu
20
CH1: OVERVIEW OF OPERATING SYSTEMS
2. Multiprogramming
• Keep more than one running job in
memory. When one job waits for IO,
switch to a different job
• Use interrupts to run multiple
programs concurrently
 When a program performs I/O, instead
of polling, execute another program till
interrupt is received.
• Time sharing was introduced. - Like
multiprogramming, but timer device
interrupts after a quantum (timeslice).
 Interrupted program is returned to end
of FIFO
 Next program is taken from head of
FIFO
Compiled by L. Mutanu
21
CH1: OVERVIEW OF OPERATING SYSTEMS
• Multiprogramming increased efficiency and time
sharing increased convenience. However with this
came along certain challenges:
▫ a single process might monopolize CPU or memory
▫ One process might overwrite another’s memory
▫ If total program memory exceeds system memory,
there is need for additional memory
▫ The System state (program counter, registers, etc)
needs to be saved and restored on every job switch
• Certain features needed to be added to the OS to
solve these challenges. Result: added complexity
Compiled by L. Mutanu
22
CH1: OVERVIEW OF OPERATING SYSTEMS
• Certain additional OS Features were required for
Multiprogramming
▫ I/O routine supplied by the system.
▫ Memory management – the system must allocate the
memory to several jobs. Virtual Memory - Not all of the
program’s has to be resident at once in primary memory.
Requires the use of secondary memory the translation of
memory references into real hardware addresses.
▫ CPU scheduling – the system must choose among several
jobs ready to run.
▫ Allocation of devices.
▫ Interactive Computing - 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.
Compiled by L. Mutanu
23
CH1: OVERVIEW OF OPERATING SYSTEMS
3. Personal Computing Systems
• Single user systems, portable, GUI.
• I/O devices - keyboards, mice, display screens, small printers.
• Laptops and palmtops, Smart cards, Wireless devices.
• Single user systems may not need advanced CPU utilization or
protection features.
• Advantages:
▫ user convenience, responsiveness, ubiquitous
Compiled by L. Mutanu
24
Hardware – cheap ; Human – expensive
CH1: OVERVIEW OF OPERATING SYSTEMS
4. Parallel Systems
• Multiprocessor systems with more than one CPU in close
communication.
• Improved Throughput, economical, increased reliability.
• Kinds:
 Symmetric and asymmetric multiprocessing
 Distributed memory vs. shared memory
• Advantages of parallel system:
▫ Increased throughput
▫ Increased reliability - fail-soft systems
Compiled by L. Mutanu
25
CH1: OVERVIEW OF OPERATING SYSTEMS
5. Distributed Systems
• Distribute computation among many processors.
• Loosely coupled -
 no shared memory, various communication lines
• client/server architectures
• Advantages:
 resource sharing
 computation speed-up
 reliability
 communication - e.g. email
• Applications - digital libraries, digital multimedia
• Two types of system architectures exist:
▫ Client-server systems place shared
resources on centralized servers
▫ Peer-to-peer systems allow ad-hoc
cooperation between individuals
Compiled by L. Mutanu
26
Hardware – very cheap ; Human – very expensive
CH1: OVERVIEW OF OPERATING SYSTEMS
6. Real-time systems
• Correct system function depends on timeliness
• Feedback/control loops
• Sensors and actuators
• Hard real-time systems -
 Failure if response time too long.
 Secondary storage is limited
• Soft real-time systems -
 Less accurate if response time is too long.
 Useful in applications such as multimedia, virtual reality.
Compiled by L. Mutanu
27
CH1: OVERVIEW OF OPERATING SYSTEMS
• Many different operating system models have
evolved over time, driven by
▫ Hardware costs
▫ Efficiency
▫ Convenience for the user
• Today we have Personal Digital Assistants (PDAs)
and Cellular telephones. Research is still in process
to develop operating systems that can curb issues
such as:
▫ Limited memory
▫ Slow processors
▫ Small display screens.
Compiled by L. Mutanu
28
Current OS Technology
Personal digital assistant
(PDA)
iPad/Tablet
video phone
Laptop
Robots
29
Compiled by L. Mutanu
Future OS Technology?
Wearable or
luggable?
LCD
Jacket
30
Compiled by L. Mutanu
Compiled by L. Mutanu
31
Compiled by L. Mutanu
32
CH1: OVERVIEW OF OPERATING SYSTEMS
Intelligent Environment
• Lights, air conditioning, TV automatically switch on and off when you enter or
leave rooms
• Sit on your favourite chair and TV switches on to the program you usually
watch at this time of the day
• Use communicator/pda for phone, remote control, keys
payments, passport, health records, authenticator.
• Route input from ‘virtual’
keyboard to nearest suitable
display.
• Automatic detection of new
items to control and physical
layout in a room or office, using
computer vision.
33
Compiled by L. Mutanu
CH1: OVERVIEW OF OPERATING SYSTEMS
Intelligent Environment
• Fridge and cupboards tracks consumption and reorder your
groceries
• Your car computer reminds you to pick up your order on the way
home when you are near the supermarket.
• Interesting, but can you foresee any challenges with such an
OS?
34
Compiled by L. Mutanu
CH1: OVERVIEW OF OPERATING SYSTEMS
Compiled by L. Mutanu
35
CH1: OVERVIEW OF OPERATING SYSTEMS
Summary history of Operating Systems
• First generation 1945 - 1955
▫ Manual Operators
• Second generation 1955 - 1965
▫ OS introduced for Job Sequencing
• Third generation 1965 – 1980
▫ Multiprogramming introduced
• Fourth generation 1980 – present
▫ personal computers
▫ Multiprocessing
▫ Distributed Systems
▫ Real Time Systems
▫ Embedded operating systems
▫ Smart card operating systems
Compiled by L. Mutanu
36
CH1: OVERVIEW OF OPERATING SYSTEMS
People-to-Computer Ratio Over Time
37
Compiled by L. Mutanu
CH1: OVERVIEW OF OPERATING SYSTEMS
Why should I study Operating Systems?
▫ Need to understand interaction between the hardware
and applications
 New applications, new hardware..
 Inherent aspect of society today
▫ Need to understand basic principles in the design of
computer systems
 efficient resource management, security, flexibility
▫ Increasing need for specialized operating systems
 e.g. embedded operating systems for devices - cell
phones, sensors and controllers
 real-time operating systems - aircraft control, multimedia
services
Compiled by L. Mutanu
38

More Related Content

What's hot

Embedded systems
Embedded systemsEmbedded systems
Embedded systemsAshok Raj
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded SystemZakaria Gomaa
 
fundamental of computer-u-1-computer hardware system
fundamental of  computer-u-1-computer hardware systemfundamental of  computer-u-1-computer hardware system
fundamental of computer-u-1-computer hardware systemRai University
 
EMBEDDED SYSTEMS
EMBEDDED SYSTEMSEMBEDDED SYSTEMS
EMBEDDED SYSTEMSkarthikas82
 
Computer system organization
Computer system organizationComputer system organization
Computer system organizationSyed Zaid Irshad
 
Embedded system Design
Embedded system DesignEmbedded system Design
Embedded system DesignAJAL A J
 
Basic operations of computer my assignment
Basic operations of computer my assignmentBasic operations of computer my assignment
Basic operations of computer my assignmentNazish Jamali
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsJoy Dutta
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systemsMinal21
 
Advanced Systems Analyis Design (UML)
Advanced Systems Analyis Design (UML)Advanced Systems Analyis Design (UML)
Advanced Systems Analyis Design (UML)Makaha Rutendo
 
Central processing unit
Central processing unitCentral processing unit
Central processing unitsumairaasghar
 
EMBEDDED SYSTEMS overview
EMBEDDED SYSTEMS overviewEMBEDDED SYSTEMS overview
EMBEDDED SYSTEMS overviewMADHUMITHA154
 
Computer Structures
Computer StructuresComputer Structures
Computer Structuresguestfc2f62
 
Introduction To Programming
Introduction To Programming Introduction To Programming
Introduction To Programming JebranJavid
 
module 1 computer architecture diploma
 module 1 computer architecture diploma   module 1 computer architecture diploma
module 1 computer architecture diploma Manoharan Ragavan
 

What's hot (20)

Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
fundamental of computer-u-1-computer hardware system
fundamental of  computer-u-1-computer hardware systemfundamental of  computer-u-1-computer hardware system
fundamental of computer-u-1-computer hardware system
 
EMBEDDED SYSTEMS
EMBEDDED SYSTEMSEMBEDDED SYSTEMS
EMBEDDED SYSTEMS
 
Computer system organization
Computer system organizationComputer system organization
Computer system organization
 
Embedded system Design
Embedded system DesignEmbedded system Design
Embedded system Design
 
Basic operations of computer my assignment
Basic operations of computer my assignmentBasic operations of computer my assignment
Basic operations of computer my assignment
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
Embedded systems
Embedded systems Embedded systems
Embedded systems
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Computer overview
Computer overviewComputer overview
Computer overview
 
Fcp lecture 01
Fcp lecture 01Fcp lecture 01
Fcp lecture 01
 
Advanced Systems Analyis Design (UML)
Advanced Systems Analyis Design (UML)Advanced Systems Analyis Design (UML)
Advanced Systems Analyis Design (UML)
 
Embedded system - Introduction to micro-controller 8051
Embedded system - Introduction to  micro-controller 8051Embedded system - Introduction to  micro-controller 8051
Embedded system - Introduction to micro-controller 8051
 
Central processing unit
Central processing unitCentral processing unit
Central processing unit
 
EMBEDDED SYSTEMS overview
EMBEDDED SYSTEMS overviewEMBEDDED SYSTEMS overview
EMBEDDED SYSTEMS overview
 
Computer Structures
Computer StructuresComputer Structures
Computer Structures
 
Introduction To Programming
Introduction To Programming Introduction To Programming
Introduction To Programming
 
module 1 computer architecture diploma
 module 1 computer architecture diploma   module 1 computer architecture diploma
module 1 computer architecture diploma
 

Viewers also liked

Operating System Overview
Operating System OverviewOperating System Overview
Operating System OverviewAnas Ebrahim
 
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
 
Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linuxwilliam_morg
 
Chapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemChapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemShafaan Khaliq Bhatti
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux osjoycoronado
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OSMohammed Safwat
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linuxanandvaidya
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux pptOmi Vichare
 
Linux ppt
Linux pptLinux ppt
Linux pptlincy21
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its functionNikhi Jain
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 

Viewers also liked (16)

Operating System Overview
Operating System OverviewOperating System Overview
Operating System Overview
 
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 systems linux
Operating systems linuxOperating systems linux
Operating systems linux
 
Basic os-concepts
Basic os-conceptsBasic os-concepts
Basic os-concepts
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Chapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemChapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating System
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OS
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 

Similar to Ch1 overview of operating systems

Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1AhalyaSri
 
Operating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsOperating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsNithesh Shetty
 
Operating system
Operating systemOperating system
Operating systemyogitamore3
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1SanthiNivas
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and typesPrakash Sir
 
Introduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary MargaratIntroduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary MargaratMary Margarat
 
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 system module
Operating system moduleOperating system module
Operating system modulekiamiel
 
Oslecture1
Oslecture1Oslecture1
Oslecture1kausik23
 

Similar to Ch1 overview of operating systems (20)

Operating System concepts
Operating System conceptsOperating System concepts
Operating System concepts
 
Operating System
Operating SystemOperating System
Operating System
 
Operating system
Operating systemOperating system
Operating system
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1
 
Operating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsOperating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, Components
 
Operating System Overview.pdf
Operating System Overview.pdfOperating System Overview.pdf
Operating System Overview.pdf
 
Operating system
Operating systemOperating system
Operating system
 
Operating System
Operating SystemOperating System
Operating System
 
Operating System Unit 1
Operating System Unit 1Operating System Unit 1
Operating System Unit 1
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 
Os notes 1_5
Os notes 1_5Os notes 1_5
Os notes 1_5
 
EE469-ch1.pptx
EE469-ch1.pptxEE469-ch1.pptx
EE469-ch1.pptx
 
EE469-ch1.pptx
EE469-ch1.pptxEE469-ch1.pptx
EE469-ch1.pptx
 
Unit I OS.pdf
Unit I OS.pdfUnit I OS.pdf
Unit I OS.pdf
 
Introduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary MargaratIntroduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary Margarat
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
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
 
Operating system module
Operating system moduleOperating system module
Operating system module
 
Oslecture1
Oslecture1Oslecture1
Oslecture1
 
Cao u1
Cao u1Cao u1
Cao u1
 

Recently uploaded

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
#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
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
#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
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

Ch1 overview of operating systems

  • 1. OPERATING SYSTEMS BY L. Mutanu Mwaura
  • 2. CH1: OVERVIEW OF OPERATING SYSTEMS What is the operating system? Compiled by L. Mutanu 2
  • 3. CH1: OVERVIEW OF OPERATING SYSTEMS • An OS is a program that acts an intermediary between the user of a computer and computer hardware. • Major cost of general purpose computing is software. ▫ OS simplifies and manages the complexity of running application programs efficiently. Compiled by L. Mutanu 3
  • 4. CH1: OVERVIEW OF OPERATING SYSTEMS Introduction • A computer system consists of ▫ hardware ▫ system programs ▫ application programs Compiled by L. Mutanu 4
  • 5. CH1: OVERVIEW OF OPERATING SYSTEMS Compiled by L. Mutanu 5
  • 6. CH1: OVERVIEW OF OPERATING SYSTEMS What is the difference between the OS and the kernel Compiled by L. Mutanu 6
  • 7. CH1: OVERVIEW OF OPERATING SYSTEMS Compiled by L. Mutanu 7
  • 8. CH1: OVERVIEW OF OPERATING SYSTEMS Goals of an Operating System • Simplify the execution of user programs and make solving user problems easier. • Use computer hardware efficiently. ▫ Allow sharing of hardware and software resources. • Make application software portable and versatile. • Provide isolation, security and protection among user programs. • Improve overall system reliability  error confinement, fault tolerance, reconfiguration. Compiled by L. Mutanu 8
  • 9. CH1: OVERVIEW OF OPERATING SYSTEMS • Can the computer run without an operating system? 02/06/2016By L. Mutanu 9
  • 10. CH1: OVERVIEW OF OPERATING SYSTEMS 02/06/2016By L. Mutanu 10 Without an OS the computer functions would not be synchronized!
  • 11. CH1: OVERVIEW OF OPERATING SYSTEMS 02/06/2016By L. Mutanu 11
  • 12. Systems Today Compiled by L. Mutanu 12
  • 14. CH1: OVERVIEW OF OPERATING SYSTEMS Hardware & Software Complexity IncreasesCompiled by L. Mutanu 14 Moore’s Law: 2X transistors/Chip Every 1.5 years Moore’s Law
  • 15. CH1: OVERVIEW OF OPERATING SYSTEMS 1985 - Windows 1.0 Compiled by L. Mutanu 15 Windows 2.0 Windows 3.0 Windows 3.1 Windows 95 Windows 98 Windows 2000 Windows ME Windows XP Windows 7 Windows Vista
  • 16. CH1: OVERVIEW OF OPERATING SYSTEMS What is your preferred operating system? Compiled by L. Mutanu 16
  • 17. CH1: OVERVIEW OF OPERATING SYSTEMS Examples of operating systems • Open source - Based on open, published source code ▫ UNIX and Linux • Proprietary - Closed ▫ Apple Macintosh • Hybrid - Some elements open, some elements closed ▫ Microsoft 17 Compiled by L. Mutanu
  • 18. CH1: OVERVIEW OF OPERATING SYSTEMS Early Systems - Bare Machine (1950s) • Structure  Large machines run from console  Single user system  Programmer/User as operator  Paper tape or punched cards • Early software  Assemblers, compilers, linkers, loaders, device drivers, libraries of common subroutines. • Secure execution • Inefficient use of expensive resources  Low CPU utilization, high setup time. Compiled by L. Mutanu 18 Hardware – expensive ; Human – cheap
  • 19. CH1: OVERVIEW OF OPERATING SYSTEMS 1. Simple Batch Systems (1960’s) • Reduce setup time by batching jobs with similar requirements. • Add a card reader, Hire an operator ▫ User is NOT the operator ▫ Automatic job sequencing  Forms a rudimentary OS. ▫ Resident Monitor  Holds initial control, control transfers to job and then back to monitor. ▫ Problem  Need to distinguish job from job and data from program. Compiled by L. Mutanu 19
  • 20. CH1: OVERVIEW OF OPERATING SYSTEMS ▫ Problem with Batch Systems  Long turnaround time - up to 2 DAYS!!!  Low CPU utilization - I/O and CPU could not overlap; ▫ Solutions to speed up I/O: ▫ Offline Processing  load jobs into memory from tapes, card reading and line printing are done offline. ▫ Early batch system  bring cards to 1401  read cards to tape  put tape on 7094 which does computing  put tape on 1401 which prints output Compiled by L. Mutanu 20
  • 21. CH1: OVERVIEW OF OPERATING SYSTEMS 2. Multiprogramming • Keep more than one running job in memory. When one job waits for IO, switch to a different job • Use interrupts to run multiple programs concurrently  When a program performs I/O, instead of polling, execute another program till interrupt is received. • Time sharing was introduced. - Like multiprogramming, but timer device interrupts after a quantum (timeslice).  Interrupted program is returned to end of FIFO  Next program is taken from head of FIFO Compiled by L. Mutanu 21
  • 22. CH1: OVERVIEW OF OPERATING SYSTEMS • Multiprogramming increased efficiency and time sharing increased convenience. However with this came along certain challenges: ▫ a single process might monopolize CPU or memory ▫ One process might overwrite another’s memory ▫ If total program memory exceeds system memory, there is need for additional memory ▫ The System state (program counter, registers, etc) needs to be saved and restored on every job switch • Certain features needed to be added to the OS to solve these challenges. Result: added complexity Compiled by L. Mutanu 22
  • 23. CH1: OVERVIEW OF OPERATING SYSTEMS • Certain additional OS Features were required for Multiprogramming ▫ I/O routine supplied by the system. ▫ Memory management – the system must allocate the memory to several jobs. Virtual Memory - Not all of the program’s has to be resident at once in primary memory. Requires the use of secondary memory the translation of memory references into real hardware addresses. ▫ CPU scheduling – the system must choose among several jobs ready to run. ▫ Allocation of devices. ▫ Interactive Computing - 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. Compiled by L. Mutanu 23
  • 24. CH1: OVERVIEW OF OPERATING SYSTEMS 3. Personal Computing Systems • Single user systems, portable, GUI. • I/O devices - keyboards, mice, display screens, small printers. • Laptops and palmtops, Smart cards, Wireless devices. • Single user systems may not need advanced CPU utilization or protection features. • Advantages: ▫ user convenience, responsiveness, ubiquitous Compiled by L. Mutanu 24 Hardware – cheap ; Human – expensive
  • 25. CH1: OVERVIEW OF OPERATING SYSTEMS 4. Parallel Systems • Multiprocessor systems with more than one CPU in close communication. • Improved Throughput, economical, increased reliability. • Kinds:  Symmetric and asymmetric multiprocessing  Distributed memory vs. shared memory • Advantages of parallel system: ▫ Increased throughput ▫ Increased reliability - fail-soft systems Compiled by L. Mutanu 25
  • 26. CH1: OVERVIEW OF OPERATING SYSTEMS 5. Distributed Systems • Distribute computation among many processors. • Loosely coupled -  no shared memory, various communication lines • client/server architectures • Advantages:  resource sharing  computation speed-up  reliability  communication - e.g. email • Applications - digital libraries, digital multimedia • Two types of system architectures exist: ▫ Client-server systems place shared resources on centralized servers ▫ Peer-to-peer systems allow ad-hoc cooperation between individuals Compiled by L. Mutanu 26 Hardware – very cheap ; Human – very expensive
  • 27. CH1: OVERVIEW OF OPERATING SYSTEMS 6. Real-time systems • Correct system function depends on timeliness • Feedback/control loops • Sensors and actuators • Hard real-time systems -  Failure if response time too long.  Secondary storage is limited • Soft real-time systems -  Less accurate if response time is too long.  Useful in applications such as multimedia, virtual reality. Compiled by L. Mutanu 27
  • 28. CH1: OVERVIEW OF OPERATING SYSTEMS • Many different operating system models have evolved over time, driven by ▫ Hardware costs ▫ Efficiency ▫ Convenience for the user • Today we have Personal Digital Assistants (PDAs) and Cellular telephones. Research is still in process to develop operating systems that can curb issues such as: ▫ Limited memory ▫ Slow processors ▫ Small display screens. Compiled by L. Mutanu 28
  • 29. Current OS Technology Personal digital assistant (PDA) iPad/Tablet video phone Laptop Robots 29 Compiled by L. Mutanu
  • 30. Future OS Technology? Wearable or luggable? LCD Jacket 30 Compiled by L. Mutanu
  • 31. Compiled by L. Mutanu 31
  • 32. Compiled by L. Mutanu 32
  • 33. CH1: OVERVIEW OF OPERATING SYSTEMS Intelligent Environment • Lights, air conditioning, TV automatically switch on and off when you enter or leave rooms • Sit on your favourite chair and TV switches on to the program you usually watch at this time of the day • Use communicator/pda for phone, remote control, keys payments, passport, health records, authenticator. • Route input from ‘virtual’ keyboard to nearest suitable display. • Automatic detection of new items to control and physical layout in a room or office, using computer vision. 33 Compiled by L. Mutanu
  • 34. CH1: OVERVIEW OF OPERATING SYSTEMS Intelligent Environment • Fridge and cupboards tracks consumption and reorder your groceries • Your car computer reminds you to pick up your order on the way home when you are near the supermarket. • Interesting, but can you foresee any challenges with such an OS? 34 Compiled by L. Mutanu
  • 35. CH1: OVERVIEW OF OPERATING SYSTEMS Compiled by L. Mutanu 35
  • 36. CH1: OVERVIEW OF OPERATING SYSTEMS Summary history of Operating Systems • First generation 1945 - 1955 ▫ Manual Operators • Second generation 1955 - 1965 ▫ OS introduced for Job Sequencing • Third generation 1965 – 1980 ▫ Multiprogramming introduced • Fourth generation 1980 – present ▫ personal computers ▫ Multiprocessing ▫ Distributed Systems ▫ Real Time Systems ▫ Embedded operating systems ▫ Smart card operating systems Compiled by L. Mutanu 36
  • 37. CH1: OVERVIEW OF OPERATING SYSTEMS People-to-Computer Ratio Over Time 37 Compiled by L. Mutanu
  • 38. CH1: OVERVIEW OF OPERATING SYSTEMS Why should I study Operating Systems? ▫ Need to understand interaction between the hardware and applications  New applications, new hardware..  Inherent aspect of society today ▫ Need to understand basic principles in the design of computer systems  efficient resource management, security, flexibility ▫ Increasing need for specialized operating systems  e.g. embedded operating systems for devices - cell phones, sensors and controllers  real-time operating systems - aircraft control, multimedia services Compiled by L. Mutanu 38