SlideShare a Scribd company logo
Understanding Operating Systems Fifth Edition Chapter 1 Introducing Operating Systems
Learning Objectives Innovations in operating systems development The basic role of an operating system The major operating system software subsystem managers and their functions The types of machine hardware on which operating systems run Understanding Operating Systems, Fifth Edition
Learning Objectives (continued) The differences among batch, interactive, real-time, hybrid, and embedded operating systems Multiprocessing and its impact on the evolution of operating system software Virtualization and core architecture trends in new operating systems Understanding Operating Systems, Fifth Edition
Introduction Operating systems Manage computer system hardware and software This text explores: What they are How they work What they do Why they do it This chapter describes: How operating systems work The evolution of operation systems Understanding Operating Systems, Fifth Edition
What  is  an Operating System? Computer System Software (programs) Hardware (physical machine and electronic components) Operating System Part of computer system (software) Manages all hardware and software Controls every file, device, section of main memory and nanosecond of processing time Controls  who  can use the system Controls  how  system is used Understanding Operating Systems, Fifth Edition
Operating System  Software Includes four essential   subsystem managers Memory Manager Processor Manager Device Manager File Manager Network Manager (fifth   subsystem manager) In all modern operating systems Assumes responsibility for networking tasks Discussed further in Chapters 9 & 10 Understanding Operating Systems, Fifth Edition
Operating System  Software (continued) User Command Interface Provides user communication User issues  commands  to operating system Unique to each operating system May vary between versions Essential managers provide support Understanding Operating Systems, Fifth Edition
Operating System  Software (continued) Understanding Operating Systems, Fifth Edition
Operating System  Software (continued) Each manager: Works closely with other managers Performs a unique role Manager tasks Monitor its resources continuously Enforce policies determining: Who gets what, when, and how much Allocate the resource (when appropriate) Deallocate the resource (when appropriate) Understanding Operating Systems, Fifth Edition
Operating System  Software (continued) Network Manager  Operating systems with networking capability Fifth essential manager  Convenient way for users to share resources Retains user access control Resources include:  Hardware (CPUs, memory areas, printers, tape drives, modems, and disk drives)  Software (compilers, application programs, and data files)  Understanding Operating Systems, Fifth Edition
Operating System  Software (continued) Understanding Operating Systems, Fifth Edition
Main Memory Management In charge of main memory Random Access Memory (RAM) Responsibilities include: Preserving space in main memory occupied by  operating system  Checking validity and legality of memory space request Setting up memory tracking table Tracks usage of memory by sections Needed in multiuser environment Deallocating memory to reclaim it Understanding Operating Systems, Fifth Edition
Processor Management In charge of   allocating  Central Processing Unit  (CPU)   Tracks  process  status An instance of program execution  Two levels of responsibility: Handle jobs as they enter the system  Handled by Job Scheduler Manage each process within those jobs Handled by Process Scheduler Understanding Operating Systems, Fifth Edition
Device Management In charge of monitoring all resources Devices, channels, and control units  Responsibilities include: Choosing most efficient resource allocation method Printers, ports, disk drives, etc. Based on scheduling policy  Allocating the device Starting device operation Deallocating the device Understanding Operating Systems, Fifth Edition
File Management In charge of tracking every file in the system Data files, program files, compilers, application programs Responsibilities include: Enforcing user/program resource access restrictions Uses predetermined access policies Controlling  user/program modification restrictions Read-only, read-write, create, delete Allocating resource Opening the file Deallocating file (by closing it) Understanding Operating Systems, Fifth Edition
Cooperation Issues Essential manager Perform individual tasks  and Harmoniously interact with other managers Requires incredible precision No single manager performs tasks in isolation Network manager Convenient way to share resources  Controls user access  Understanding Operating Systems, Fifth Edition
Operating System  Software (continued) Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware Hardware:  physical machine and electronic components Main memory (RAM) Data/Instruction storage and execution Input/Output devices (I/O devices) All peripheral devices in system Printers, disk drives, CD/DVD drives, flash memory, and keyboards  Central processing unit   (CPU) Controls interpretation and execution of instructions Controls operation of computer system Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Computer classification By capacity and price (until mid-1970s) Mainframe Large machine  Physical size and internal memory capacity Classic Example: 1964 IBM 360 model 30 CPU required 18-square-foot air-conditioned room CPU size: 5 feet high x 6 feet wide Internal memory: 64K Price: $200,000 (1964 dollars) Applications limited to large computer centers Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Minicomputer Developed for smaller institutions Compared to mainframe Smaller in size and memory capacity Cheaper Example: Digital Equipment Corp. minicomputer  Price: less than $18,000 Today Known as  midrange computers   Capacity between microcomputers and mainframes Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Supercomputer Massive machine Developed for military operations and weather forecasting Example: Cray supercomputer 6 to 1000 processors Performs up to 2.4 trillion floating-point operations per second (teraflops)  Uses: Scientific research Customer support/product development Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Microcomputer Developed for single users in the late 1970s Example: microcomputers by Tandy Corporation and Apple Computer, Inc.  Very little memory (by today’s standards) 64K maximum capacity Microcomputer’s distinguishing characteristic Single-user status Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Workstations  Most powerful microcomputers Developed for commercial, educational, and  government enterprises  Networked together Support engineering and technical users Massive mathematical computations Computer-aided design (CAD) Applications Requiring powerful CPUs, large main memory, and extremely high-resolution graphic displays  Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Servers  Provide specialized services To other computers or client/server networks Perform critical network task Examples: Print servers Internet servers Mail servers Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Advances in computer technology Dramatic changes Physical size, cost, and memory capacity Networking  Integral part of modern computer systems Mobile society information delivery Creating strong market for handheld devices New classification By processor capacity, not memory capacity Moore’s Law  Computing power rises exponentially Understanding Operating Systems, Fifth Edition
A Brief History of Machine Hardware (continued) Understanding Operating Systems, Fifth Edition
Types of Operating Systems Five categories Batch Interactive Real-time Hybrid Embedded Two distinguishing features Response time How data enters into the system Understanding Operating Systems, Fifth Edition
Types of Operating Systems  (continued) Batch Systems   Input relied on punched cards or tape Efficiency measured in throughput Interactive Systems Faster turnaround than batch systems Slower than real-time systems  Introduced to provide fast turnaround when debugging programs Time-sharing software developed for operating system Understanding Operating Systems, Fifth Edition
Types of Operating Systems  (continued) Real-time systems Reliability is key Fast and time limit sensitive Used in time-critical environments Space flights, airport traffic control, high-speed aircraft Industrial processes Sophisticated medical equipment Distribution of electricity Telephone switching Must be 100% responsive, 100% of the time Understanding Operating Systems, Fifth Edition
Types of Operating Systems  (continued) Hybrid systems  Combination of batch and interactive Accept and run batch programs in the background Interactive load is light Embedded systems Computers placed inside other products Adds features and capabilities Operating system requirements Perform specific set of programs Not interchangeable among systems Small kernel and flexible function capabilities Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development 1940s: first generation Computers based on vacuum tube technology No standard operating system software Typical program included every instruction needed by the computer to perform the tasks requested Poor machine utilization CPU processed data and performed calculations for fraction of available time Early programs  Designed to use the resources conservatively Understandability is not a priority Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 1950s: second generation Focused on cost effectiveness Computers were expensive IBM 7094: $200,000 Two widely adopted improvements  Computer operators: humans hired to facilitate machine operation Concept of job scheduling: group together programs with similar requirements Expensive time lags between CPU and I/O devices Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 1950s: second generation (continued) I/O device speed gradually became faster Tape drives, disks, and drums Records blocked  before  retrieval or storage Access methods developed Added to object code by linkage editor Buffer between I/O and CPU introduced Reduced speed discrepancy Timer interrupts developed Allowed job-sharing Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 1960s: third generation Faster CPUs Speed caused problems with slower I/O devices Multiprogramming Allowed loading many programs at one time Program scheduling Initiated with second-generation systems Continues today Few advances in data management Total operating system customization Suit user’s needs Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 1970s  Faster CPUs Speed caused problems with slower I/O devices Main memory physical capacity limitations Multiprogramming schemes used to increase CPU Virtual memory developed to solve physical limitation Database management software  Became a popular tool A number of query systems introduced Programs started using English-like words, modular structures, and standard operations Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 1980s  Cost/performance ratio  improvement of computer components More flexible hardware (firmware) Multiprocessing Allowed parallel program execution  Evolution of personal computers Evolution of high-speed communications  Distributed processing  and  networked systems  introduced Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 1990s  Demand for Internet capability Sparked proliferation of networking capability Increased networking Increased tighter security demands to protect hardware and software Multimedia applications Demanding additional power, flexibility, and device compatibility for most operating systems Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) Understanding Operating Systems, Fifth Edition
Brief History of Operating Systems Development  (continued) 2000s Primary design features support: Multimedia applications Internet and Web access Client/server computing Computer systems requirements Increased CPU speed  High-speed network attachments Increased number and variety of storage devices Virtualization Single server supports different operating systems Understanding Operating Systems, Fifth Edition
Threads Multiple actions executing simultaneously Heavyweight process (conventional process) Owns the resources Passive element Lightweight process (thread) Uses CPU and scheduled for execution Active element Multithreaded applications programs Contain several threads running at one time Same or different priorities Examples: Web browsers and time-sharing systems Understanding Operating Systems, Fifth Edition
Object-Oriented Design Driving force in system architecture improvements Kernel  (operating system nucleus) Resides in memory at all times, performs essential tasks, and protected by hardware Kernel reorganization Memory resident: process scheduling and memory allocation Modules: all other functions Advantages  Modification and customization without disrupting integrity of the remainder of the system Software development more productive Understanding Operating Systems, Fifth Edition
Object-Oriented Design (continued) Understanding Operating Systems, Fifth Edition
Summary Operating system overview Functions of OS Manages  computer system Hardware  and software Four essential managers Work closely with the other managers and perform unique role Network Manager Operating systems with networking capability Essential hardware components Memory chips , I/O,  storage devices,  and CPU Understanding Operating Systems, Fifth Edition
Summary (continued) Evolution of OSs Run increasingly complex computers Run increasingly complex computer systems Prior to mid-1970s Computers classified by capacity and price Dramatic changes over time Moore’s Law: computing power rises exponentially Physical size, cost, and memory capacity Mobile society information delivery Creates strong market for handheld devices Integral in modern computer systems Understanding Operating Systems, Fifth Edition
Summary (continued) Five categories of operating systems Batch ,  interactive ,  real-time ,  hybrid,  and  embedded U se of object-oriented design  improves   the  system architecture Several ways to perform OS tasks Designer determines policies to match system’s environment Next:  Explore details of operating system components Understanding Operating Systems, Fifth Edition

More Related Content

PPT
Function Oriented Design
Sharath g
 
PPTX
Component level design
Midhula Chandren
 
PPTX
Software Configuration Management (SCM)
Er. Shiva K. Shrestha
 
PPTX
Hci in software process
rida mariam
 
PPTX
System calls
Bernard Senam
 
PPT
The process states
Ajay Singh Rana
 
PPT
Chapter 13 - I/O Systems
Wayne Jones Jnr
 
PPTX
MULTILEVEL QUEUE SCHEDULING
garishma bhatia
 
Function Oriented Design
Sharath g
 
Component level design
Midhula Chandren
 
Software Configuration Management (SCM)
Er. Shiva K. Shrestha
 
Hci in software process
rida mariam
 
System calls
Bernard Senam
 
The process states
Ajay Singh Rana
 
Chapter 13 - I/O Systems
Wayne Jones Jnr
 
MULTILEVEL QUEUE SCHEDULING
garishma bhatia
 

What's hot (20)

PPTX
System call
DarakhshanNayyab
 
PPT
Design issues for the layers
jayaprakash
 
PPTX
Evolution of os
janani thirupathi
 
PPT
Introduction to System Calls
Vandana Salve
 
PDF
6.Distributed Operating Systems
Dr Sandeep Kumar Poonia
 
PPT
Memory Management in OS
vampugani
 
PDF
Unit II - 3 - Operating System - Process Synchronization
cscarcas
 
PPTX
Recovery Techniques and Need of Recovery
Pooja Dixit
 
PPTX
Structure of operating system
GayathriS578276
 
PPT
08 Operating System Support
Jeanie Delos Arcos
 
PPSX
Cocomo model
Devan Thakur
 
PPT
Object Oriented Design Concept
Sharath g
 
PDF
Processes and Processors in Distributed Systems
Dr Sandeep Kumar Poonia
 
PPTX
Process management os concept
priyadeosarkar91
 
PPT
Operating system services 9
myrajendra
 
PPTX
Distributed shared memory ch 5
Alagappa Government Arts College, Karaikudi
 
PPT
McCall's Quality Factors
Usman Khan
 
PPT
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
PPTX
2. Distributed Systems Hardware & Software concepts
Prajakta Rane
 
System call
DarakhshanNayyab
 
Design issues for the layers
jayaprakash
 
Evolution of os
janani thirupathi
 
Introduction to System Calls
Vandana Salve
 
6.Distributed Operating Systems
Dr Sandeep Kumar Poonia
 
Memory Management in OS
vampugani
 
Unit II - 3 - Operating System - Process Synchronization
cscarcas
 
Recovery Techniques and Need of Recovery
Pooja Dixit
 
Structure of operating system
GayathriS578276
 
08 Operating System Support
Jeanie Delos Arcos
 
Cocomo model
Devan Thakur
 
Object Oriented Design Concept
Sharath g
 
Processes and Processors in Distributed Systems
Dr Sandeep Kumar Poonia
 
Process management os concept
priyadeosarkar91
 
Operating system services 9
myrajendra
 
Distributed shared memory ch 5
Alagappa Government Arts College, Karaikudi
 
McCall's Quality Factors
Usman Khan
 
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
2. Distributed Systems Hardware & Software concepts
Prajakta Rane
 
Ad

Viewers also liked (20)

PPT
Understanding operating systems 5th ed ch03
BarrBoy
 
PPTX
History of Operating system
tarun thakkar
 
PPT
Understanding operating systems 5th ed ch04
BarrBoy
 
PPT
Ch01 introducing operating systems
Jacob Cadeliña
 
PPT
Ch02 early system memory management
Jacob Cadeliña
 
PDF
Virtual Memory
Mustafa Ugur Oduncu
 
DOCX
History of operating systems
One97 Communications Limited
 
PPT
Memory management early_systems
Mybej Che
 
PPT
History of os.1
myrajendra
 
PPT
Memory management
Vishal Singh
 
PPTX
Operating Systems
Harshith Meela
 
PPT
Operating system.ppt (1)
Vaibhav Bajaj
 
PDF
Operating Systems 1 (1/12) - History
Peter Tröger
 
PPTX
Android Operating system
Meenu Kamra
 
PPT
Understanding operating systems 5th ed ch02
BarrBoy
 
PPT
Operating System Presentation
Sajid Khan
 
PPTX
Power Point Presentaton on Android Operating system
Sukanta Biswas
 
PDF
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Ranel Padon
 
PPT
Multitasking in the Emergency Communications Environment
stevepen
 
DOC
charles_long Linkedin
Charles Long
 
Understanding operating systems 5th ed ch03
BarrBoy
 
History of Operating system
tarun thakkar
 
Understanding operating systems 5th ed ch04
BarrBoy
 
Ch01 introducing operating systems
Jacob Cadeliña
 
Ch02 early system memory management
Jacob Cadeliña
 
Virtual Memory
Mustafa Ugur Oduncu
 
History of operating systems
One97 Communications Limited
 
Memory management early_systems
Mybej Che
 
History of os.1
myrajendra
 
Memory management
Vishal Singh
 
Operating Systems
Harshith Meela
 
Operating system.ppt (1)
Vaibhav Bajaj
 
Operating Systems 1 (1/12) - History
Peter Tröger
 
Android Operating system
Meenu Kamra
 
Understanding operating systems 5th ed ch02
BarrBoy
 
Operating System Presentation
Sajid Khan
 
Power Point Presentaton on Android Operating system
Sukanta Biswas
 
Batch Scripting with Drupal (Featuring the EntityFieldQuery API)
Ranel Padon
 
Multitasking in the Emergency Communications Environment
stevepen
 
charles_long Linkedin
Charles Long
 
Ad

Similar to Understanding operating systems 5th ed ch01 (20)

PPTX
Operating system-1
jayalakshmi268
 
PPT
Understanding operating systems 5th ed ch15
BarrBoy
 
PPT
An Introduction to Operating Systems
BitNation Technology Studio
 
PPTX
Lecture_01 Operating System Course Introduction
ArnoyKhan
 
PPTX
The basic fundamentals' of operating system
KevinJohnSRamos
 
PPT
Understanding operating systems 5th ed ch16
BarrBoy
 
PPT
Understanding operating systems 5th ed ch13
BarrBoy
 
PPT
Introduction of operating system
Jitendrakumar Upadhyay
 
PPT
Cs1 3-operating systems
maria teresa salta
 
PPT
04 software system and application software
Sowmini Gowda
 
PPTX
Principles of operating system
Anil Dharmapuri
 
PPT
Understanding operating systems 5th ed ch14
BarrBoy
 
PPTX
Introduction of operating system
mahfuzur32785
 
PPT
I.o devices 3
kitturashmikittu
 
PPT
Understanding operating systems 5th ed ch12
BarrBoy
 
PPT
intro.ppt
raffy ursulum
 
PPT
L-3 BCE OS FINAL.ppt
Kirti Verma
 
PPTX
Operating System Structures and objectuve.pptx
viceprincipalbfc
 
PPTX
Operating Systems Genesis, Development and Functions m.pptx
DrIrfanulHaqAkhoon
 
Operating system-1
jayalakshmi268
 
Understanding operating systems 5th ed ch15
BarrBoy
 
An Introduction to Operating Systems
BitNation Technology Studio
 
Lecture_01 Operating System Course Introduction
ArnoyKhan
 
The basic fundamentals' of operating system
KevinJohnSRamos
 
Understanding operating systems 5th ed ch16
BarrBoy
 
Understanding operating systems 5th ed ch13
BarrBoy
 
Introduction of operating system
Jitendrakumar Upadhyay
 
Cs1 3-operating systems
maria teresa salta
 
04 software system and application software
Sowmini Gowda
 
Principles of operating system
Anil Dharmapuri
 
Understanding operating systems 5th ed ch14
BarrBoy
 
Introduction of operating system
mahfuzur32785
 
I.o devices 3
kitturashmikittu
 
Understanding operating systems 5th ed ch12
BarrBoy
 
intro.ppt
raffy ursulum
 
L-3 BCE OS FINAL.ppt
Kirti Verma
 
Operating System Structures and objectuve.pptx
viceprincipalbfc
 
Operating Systems Genesis, Development and Functions m.pptx
DrIrfanulHaqAkhoon
 

More from BarrBoy (7)

PPT
Understanding operating systems 5th ed ch11
BarrBoy
 
PPT
Understanding operating systems 5th ed ch10
BarrBoy
 
PPT
Understanding operating systems 5th ed ch09
BarrBoy
 
PPT
Understanding operating systems 5th ed ch08
BarrBoy
 
PPT
Understanding operating systems 5th ed ch07
BarrBoy
 
PPT
Understanding operating systems 5th ed ch06
BarrBoy
 
PPT
Understanding operating systems 5th ed ch05
BarrBoy
 
Understanding operating systems 5th ed ch11
BarrBoy
 
Understanding operating systems 5th ed ch10
BarrBoy
 
Understanding operating systems 5th ed ch09
BarrBoy
 
Understanding operating systems 5th ed ch08
BarrBoy
 
Understanding operating systems 5th ed ch07
BarrBoy
 
Understanding operating systems 5th ed ch06
BarrBoy
 
Understanding operating systems 5th ed ch05
BarrBoy
 

Recently uploaded (20)

PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 

Understanding operating systems 5th ed ch01

  • 1. Understanding Operating Systems Fifth Edition Chapter 1 Introducing Operating Systems
  • 2. Learning Objectives Innovations in operating systems development The basic role of an operating system The major operating system software subsystem managers and their functions The types of machine hardware on which operating systems run Understanding Operating Systems, Fifth Edition
  • 3. Learning Objectives (continued) The differences among batch, interactive, real-time, hybrid, and embedded operating systems Multiprocessing and its impact on the evolution of operating system software Virtualization and core architecture trends in new operating systems Understanding Operating Systems, Fifth Edition
  • 4. Introduction Operating systems Manage computer system hardware and software This text explores: What they are How they work What they do Why they do it This chapter describes: How operating systems work The evolution of operation systems Understanding Operating Systems, Fifth Edition
  • 5. What is an Operating System? Computer System Software (programs) Hardware (physical machine and electronic components) Operating System Part of computer system (software) Manages all hardware and software Controls every file, device, section of main memory and nanosecond of processing time Controls who can use the system Controls how system is used Understanding Operating Systems, Fifth Edition
  • 6. Operating System Software Includes four essential subsystem managers Memory Manager Processor Manager Device Manager File Manager Network Manager (fifth subsystem manager) In all modern operating systems Assumes responsibility for networking tasks Discussed further in Chapters 9 & 10 Understanding Operating Systems, Fifth Edition
  • 7. Operating System Software (continued) User Command Interface Provides user communication User issues commands to operating system Unique to each operating system May vary between versions Essential managers provide support Understanding Operating Systems, Fifth Edition
  • 8. Operating System Software (continued) Understanding Operating Systems, Fifth Edition
  • 9. Operating System Software (continued) Each manager: Works closely with other managers Performs a unique role Manager tasks Monitor its resources continuously Enforce policies determining: Who gets what, when, and how much Allocate the resource (when appropriate) Deallocate the resource (when appropriate) Understanding Operating Systems, Fifth Edition
  • 10. Operating System Software (continued) Network Manager Operating systems with networking capability Fifth essential manager Convenient way for users to share resources Retains user access control Resources include: Hardware (CPUs, memory areas, printers, tape drives, modems, and disk drives) Software (compilers, application programs, and data files) Understanding Operating Systems, Fifth Edition
  • 11. Operating System Software (continued) Understanding Operating Systems, Fifth Edition
  • 12. Main Memory Management In charge of main memory Random Access Memory (RAM) Responsibilities include: Preserving space in main memory occupied by operating system Checking validity and legality of memory space request Setting up memory tracking table Tracks usage of memory by sections Needed in multiuser environment Deallocating memory to reclaim it Understanding Operating Systems, Fifth Edition
  • 13. Processor Management In charge of allocating Central Processing Unit (CPU) Tracks process status An instance of program execution Two levels of responsibility: Handle jobs as they enter the system Handled by Job Scheduler Manage each process within those jobs Handled by Process Scheduler Understanding Operating Systems, Fifth Edition
  • 14. Device Management In charge of monitoring all resources Devices, channels, and control units Responsibilities include: Choosing most efficient resource allocation method Printers, ports, disk drives, etc. Based on scheduling policy Allocating the device Starting device operation Deallocating the device Understanding Operating Systems, Fifth Edition
  • 15. File Management In charge of tracking every file in the system Data files, program files, compilers, application programs Responsibilities include: Enforcing user/program resource access restrictions Uses predetermined access policies Controlling user/program modification restrictions Read-only, read-write, create, delete Allocating resource Opening the file Deallocating file (by closing it) Understanding Operating Systems, Fifth Edition
  • 16. Cooperation Issues Essential manager Perform individual tasks and Harmoniously interact with other managers Requires incredible precision No single manager performs tasks in isolation Network manager Convenient way to share resources Controls user access Understanding Operating Systems, Fifth Edition
  • 17. Operating System Software (continued) Understanding Operating Systems, Fifth Edition
  • 18. A Brief History of Machine Hardware Hardware: physical machine and electronic components Main memory (RAM) Data/Instruction storage and execution Input/Output devices (I/O devices) All peripheral devices in system Printers, disk drives, CD/DVD drives, flash memory, and keyboards Central processing unit (CPU) Controls interpretation and execution of instructions Controls operation of computer system Understanding Operating Systems, Fifth Edition
  • 19. A Brief History of Machine Hardware (continued) Understanding Operating Systems, Fifth Edition
  • 20. A Brief History of Machine Hardware (continued) Computer classification By capacity and price (until mid-1970s) Mainframe Large machine Physical size and internal memory capacity Classic Example: 1964 IBM 360 model 30 CPU required 18-square-foot air-conditioned room CPU size: 5 feet high x 6 feet wide Internal memory: 64K Price: $200,000 (1964 dollars) Applications limited to large computer centers Understanding Operating Systems, Fifth Edition
  • 21. A Brief History of Machine Hardware (continued) Minicomputer Developed for smaller institutions Compared to mainframe Smaller in size and memory capacity Cheaper Example: Digital Equipment Corp. minicomputer Price: less than $18,000 Today Known as midrange computers Capacity between microcomputers and mainframes Understanding Operating Systems, Fifth Edition
  • 22. A Brief History of Machine Hardware (continued) Supercomputer Massive machine Developed for military operations and weather forecasting Example: Cray supercomputer 6 to 1000 processors Performs up to 2.4 trillion floating-point operations per second (teraflops) Uses: Scientific research Customer support/product development Understanding Operating Systems, Fifth Edition
  • 23. A Brief History of Machine Hardware (continued) Microcomputer Developed for single users in the late 1970s Example: microcomputers by Tandy Corporation and Apple Computer, Inc. Very little memory (by today’s standards) 64K maximum capacity Microcomputer’s distinguishing characteristic Single-user status Understanding Operating Systems, Fifth Edition
  • 24. A Brief History of Machine Hardware (continued) Workstations Most powerful microcomputers Developed for commercial, educational, and government enterprises Networked together Support engineering and technical users Massive mathematical computations Computer-aided design (CAD) Applications Requiring powerful CPUs, large main memory, and extremely high-resolution graphic displays Understanding Operating Systems, Fifth Edition
  • 25. A Brief History of Machine Hardware (continued) Servers Provide specialized services To other computers or client/server networks Perform critical network task Examples: Print servers Internet servers Mail servers Understanding Operating Systems, Fifth Edition
  • 26. A Brief History of Machine Hardware (continued) Advances in computer technology Dramatic changes Physical size, cost, and memory capacity Networking Integral part of modern computer systems Mobile society information delivery Creating strong market for handheld devices New classification By processor capacity, not memory capacity Moore’s Law Computing power rises exponentially Understanding Operating Systems, Fifth Edition
  • 27. A Brief History of Machine Hardware (continued) Understanding Operating Systems, Fifth Edition
  • 28. Types of Operating Systems Five categories Batch Interactive Real-time Hybrid Embedded Two distinguishing features Response time How data enters into the system Understanding Operating Systems, Fifth Edition
  • 29. Types of Operating Systems (continued) Batch Systems Input relied on punched cards or tape Efficiency measured in throughput Interactive Systems Faster turnaround than batch systems Slower than real-time systems Introduced to provide fast turnaround when debugging programs Time-sharing software developed for operating system Understanding Operating Systems, Fifth Edition
  • 30. Types of Operating Systems (continued) Real-time systems Reliability is key Fast and time limit sensitive Used in time-critical environments Space flights, airport traffic control, high-speed aircraft Industrial processes Sophisticated medical equipment Distribution of electricity Telephone switching Must be 100% responsive, 100% of the time Understanding Operating Systems, Fifth Edition
  • 31. Types of Operating Systems (continued) Hybrid systems Combination of batch and interactive Accept and run batch programs in the background Interactive load is light Embedded systems Computers placed inside other products Adds features and capabilities Operating system requirements Perform specific set of programs Not interchangeable among systems Small kernel and flexible function capabilities Understanding Operating Systems, Fifth Edition
  • 32. Brief History of Operating Systems Development 1940s: first generation Computers based on vacuum tube technology No standard operating system software Typical program included every instruction needed by the computer to perform the tasks requested Poor machine utilization CPU processed data and performed calculations for fraction of available time Early programs Designed to use the resources conservatively Understandability is not a priority Understanding Operating Systems, Fifth Edition
  • 33. Brief History of Operating Systems Development (continued) Understanding Operating Systems, Fifth Edition
  • 34. Brief History of Operating Systems Development (continued) 1950s: second generation Focused on cost effectiveness Computers were expensive IBM 7094: $200,000 Two widely adopted improvements Computer operators: humans hired to facilitate machine operation Concept of job scheduling: group together programs with similar requirements Expensive time lags between CPU and I/O devices Understanding Operating Systems, Fifth Edition
  • 35. Brief History of Operating Systems Development (continued) 1950s: second generation (continued) I/O device speed gradually became faster Tape drives, disks, and drums Records blocked before retrieval or storage Access methods developed Added to object code by linkage editor Buffer between I/O and CPU introduced Reduced speed discrepancy Timer interrupts developed Allowed job-sharing Understanding Operating Systems, Fifth Edition
  • 36. Brief History of Operating Systems Development (continued) 1960s: third generation Faster CPUs Speed caused problems with slower I/O devices Multiprogramming Allowed loading many programs at one time Program scheduling Initiated with second-generation systems Continues today Few advances in data management Total operating system customization Suit user’s needs Understanding Operating Systems, Fifth Edition
  • 37. Brief History of Operating Systems Development (continued) 1970s Faster CPUs Speed caused problems with slower I/O devices Main memory physical capacity limitations Multiprogramming schemes used to increase CPU Virtual memory developed to solve physical limitation Database management software Became a popular tool A number of query systems introduced Programs started using English-like words, modular structures, and standard operations Understanding Operating Systems, Fifth Edition
  • 38. Brief History of Operating Systems Development (continued) Understanding Operating Systems, Fifth Edition
  • 39. Brief History of Operating Systems Development (continued) 1980s Cost/performance ratio improvement of computer components More flexible hardware (firmware) Multiprocessing Allowed parallel program execution Evolution of personal computers Evolution of high-speed communications Distributed processing and networked systems introduced Understanding Operating Systems, Fifth Edition
  • 40. Brief History of Operating Systems Development (continued) 1990s Demand for Internet capability Sparked proliferation of networking capability Increased networking Increased tighter security demands to protect hardware and software Multimedia applications Demanding additional power, flexibility, and device compatibility for most operating systems Understanding Operating Systems, Fifth Edition
  • 41. Brief History of Operating Systems Development (continued) Understanding Operating Systems, Fifth Edition
  • 42. Brief History of Operating Systems Development (continued) 2000s Primary design features support: Multimedia applications Internet and Web access Client/server computing Computer systems requirements Increased CPU speed High-speed network attachments Increased number and variety of storage devices Virtualization Single server supports different operating systems Understanding Operating Systems, Fifth Edition
  • 43. Threads Multiple actions executing simultaneously Heavyweight process (conventional process) Owns the resources Passive element Lightweight process (thread) Uses CPU and scheduled for execution Active element Multithreaded applications programs Contain several threads running at one time Same or different priorities Examples: Web browsers and time-sharing systems Understanding Operating Systems, Fifth Edition
  • 44. Object-Oriented Design Driving force in system architecture improvements Kernel (operating system nucleus) Resides in memory at all times, performs essential tasks, and protected by hardware Kernel reorganization Memory resident: process scheduling and memory allocation Modules: all other functions Advantages Modification and customization without disrupting integrity of the remainder of the system Software development more productive Understanding Operating Systems, Fifth Edition
  • 45. Object-Oriented Design (continued) Understanding Operating Systems, Fifth Edition
  • 46. Summary Operating system overview Functions of OS Manages computer system Hardware and software Four essential managers Work closely with the other managers and perform unique role Network Manager Operating systems with networking capability Essential hardware components Memory chips , I/O, storage devices, and CPU Understanding Operating Systems, Fifth Edition
  • 47. Summary (continued) Evolution of OSs Run increasingly complex computers Run increasingly complex computer systems Prior to mid-1970s Computers classified by capacity and price Dramatic changes over time Moore’s Law: computing power rises exponentially Physical size, cost, and memory capacity Mobile society information delivery Creates strong market for handheld devices Integral in modern computer systems Understanding Operating Systems, Fifth Edition
  • 48. Summary (continued) Five categories of operating systems Batch , interactive , real-time , hybrid, and embedded U se of object-oriented design improves the system architecture Several ways to perform OS tasks Designer determines policies to match system’s environment Next: Explore details of operating system components Understanding Operating Systems, Fifth Edition