SlideShare a Scribd company logo
1 of 42
About the Presentations
• The presentations cover the objectives found in the
opening of each chapter.
• All chapter objectives are listed in the beginning of
each presentation.
• You may customize the presentations to fit your
class needs.
• Some figures from the chapters are included. A
complete set of images from the book can be found
as part of the Instructor Resources.
Understanding Operating Systems
Seventh Edition
Chapter 1
Introducing Operating Systems
Understanding Operating Systems, 7e 3
Learning Objectives
After completing this chapter, you should be able to
describe:
• 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, 7e 4
Learning Objectives (cont'd.)
• The differences among batch, interactive, real-time,
hybrid, and embedded operating systems
• Design considerations of operating systems
designers
Understanding Operating Systems, 7e 5
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 briefly describes:
– Workings of operating systems
Understanding Operating Systems, 7e
What Is an Operating System?
• Computer system
– Software (programs)
– Hardware (tangible machine/electronic components)
• Operating system
– Chief software component
– Manages all hardware and all software and controls:
• Every file, device, section of main memory, and
moment of processing time
• Who can use the system and how system is used
6
Understanding Operating Systems, 7e 7
Operating System Software
• Includes four essential subsystem managers
– Memory Manager
– Processor Manager
– Device Manager
– File Manager
• Each manager:
– Works closely with other managers
– Performs a unique role
Understanding Operating Systems, 7e 8
Operating System Software (cont'd.)
(figure 1.1)
This pyramid represents
an operating system on a
stand-alone computer
unconnected to a
network. It shows the four
subsystem managers and
the user interface.
© Cengage Learning 2014
Understanding Operating Systems, 7e 9
Operating System Software (cont'd.)
• User Interface
– Allows the user to issue commands to the operating
system
• Manager tasks
– Monitor the system’s resources continuously
– Enforce policies determining:
• Who gets what, when, and how much
– Allocate a resource (when appropriate)
– Deallocate a resource (when appropriate)
(figure 1.2)
Each manager at the base
of the pyramid takes
responsibility for its own
tasks while working
harmoniously with every
other manager.
© Cengage Learning 2014
Understanding Operating Systems, 7e 10
Understanding Operating Systems, 7e 11
Operating System Software (cont'd.)
• Network Manager
– Coordinates the services required for multiple
systems to work cohesively together
• Shared network resources: memory space,
processors, printers, databases, applications, etc.
Understanding Operating Systems, 7e 12
Main Memory Management
• In charge of main memory
– Random access memory (RAM)
• Requires constant flow of electricity to hold data
• Responsibilities include:
– Checking validity and legality of memory space
request
– Reallocating memory to make more useable space
available
– Deallocating memory to reclaim it
– Protecting space in main memory occupied by
operating system
Understanding Operating Systems, 7e 13
Main Memory Management
• Read-only memory (ROM)
– Another type of memory
– Critical when computer is powered on
– Holds firmware: programming code
• When and how to load each piece of the operating
system after the power is turned on
– Non-volatile
• Contents retained when the power is turned off
Understanding Operating Systems, 7e 14
Processor Management
• In charge of allocating Central Processing Unit
(CPU)
• Tracks process status
– Program’s “instance of execution”
• Comparable to a traffic controller
– When a process is finished or maximum
computation time expired
• Processor Manager reclaims the CPU and allocates to
next waiting process
– Computer with multiple CPUs
• More complex management
Understanding Operating Systems, 7e 15
Device Management
• In charge of connecting with every available device
– Printers, ports, disk drives, etc.
• Responsibilities include:
– Choosing most efficient resource allocation method
• Based on scheduling policy
– Identifying each device uniquely
– Starting device operation (when appropriate)
– Monitoring device progress
– Deallocating the device
• What is the function of a device driver?
Understanding Operating Systems, 7e 16
File Management
• In charge of tracking every file in the system
– Data files, program files, compilers, application
programs, etc.
• Responsibilities include:
– Enforcing user/program resource access restrictions
• Uses predetermined access policies
– Controlling user/program modification restrictions
• Read-only, read-write, create, delete
– Allocating space for a file on secondary storage
• One large storage area or smaller linked pieces
– Retrieving files efficiently
Network Management
• Included in operating systems with networking
capability
• Authorizes users to share resources
– Overall responsibility for every aspect of network
connectivity
• Devices, files, memory space, CPU capacity, etc.
Understanding Operating Systems, 7e 17
User Interface
• Portion of the operating system
– Direct interaction with users
• Two primary types
– Graphical user interface (GUI)
• Input from pointing device
• Menu options, desktops, and formats vary
– Command line interface
• Keyboard-typed commands that display on a monitor
• Strict requirements for every command: typed
accurately; correct syntax; combinations of commands
assembled correctly
Understanding Operating Systems, 7e 18
Understanding Operating Systems, 7e 19
Cooperation Issues
• No single manager performs tasks in isolation
• Each element of an operating system
– Performs individual tasks and
– Harmoniously interacts with other managers
• Incredible precision required for operating system to
work smoothly
• More complicated when networking is involved
Cloud Computing
• Practice of using Internet-connected resources
– Performing processing, storage, or other operations
• Operating system maintains responsibility
– Managing all local resources and coordinating data
transfer to and from the cloud
• Role of the operating system
– Accessing resources
– Managing the system efficiently
Understanding Operating Systems, 7e 20
Understanding Operating Systems, 7e 21
An Evolution of Computing Hardware
• Hardware: physical machine and electronic
components
– Main memory (RAM)
• Data/Instruction storage and execution
– Central processing unit (CPU)
• Controls interpretation and execution of instructions
• Initiates or performs these operations: storage, data
manipulation and input/output
– Input/output devices (I/O devices)
• All peripheral devices in the system: printers, disk
drives, CD/DVD drives, keyboards, etc.
An Evolution of Computing Hardware
(cont'd.)
• Computer classification
– At one time: based on memory capacity
• Current platforms
Understanding Operating Systems, 7e 22
(table 1.1)
A brief list of
platforms and a
few of the
operating systems
designed to run on
them, listed in
alphabetical order.
Understanding Operating Systems, 7e
An Evolution of Computing Hardware
(cont'd.)
• Moore’s Law: Gordon Moore, 1965
– Each new processor chip compared to its
predecessor
• Twice as much capacity
• Released within 18-24 months
Understanding Operating Systems, 7e 23
An Evolution of Computing Hardware
(cont'd.)
Understanding Operating Systems, 7e 24
(figure 1.6)
Gordon Moore’s 1965
paper included the
prediction that the number
of transistors incorporated
in a chip will approximately
double every 24 months
[Moore, 1965].
Courtesy of Intel
Corporation.
Understanding Operating Systems, 7e 25
Types of Operating Systems
• Five categories
– Batch
– Interactive
– Real-time
– Hybrid
– Embedded
• Two distinguishing features
– Response time
– Method of data entry into the system
Understanding Operating Systems, 7e 26
Types of Operating Systems (cont'd.)
• Batch systems: jobs entered as a whole and in
sequence
– Input relied on punched cards or tape
– Efficiency measured in throughput
• Interactive systems: allow multiple jobs
– Faster turnaround than batch systems
– Slower than real-time systems
– Introduced to provide fast turnaround when
debugging programs
– Complex algorithms: share processing power
Understanding Operating Systems, 7e 27
Types of Operating Systems (cont'd.)
• Real-time systems
– Reliability is critical
– Used in time-critical environments
• Spacecraft, airport traffic control, fly-by-wire aircraft,
critical industrial processes, medical systems, etc.
– Two types of real-time systems
• Hard real-time systems: risk total system failure if the
predicted time deadline is missed
• Soft real-time systems: suffer performance
degradation as a consequence of a missed deadline
Understanding Operating Systems, 7e 28
Types of Operating Systems (cont'd.)
• Hybrid systems
– Combination of batch and interactive
– Light interactive load
• Accepts and runs batch programs in the background
• Network operating systems
– Special class of software
• Users perform tasks using few, if any, local resources,
e.g., cloud computing
– Wireless networking capability
• Standard feature in many computing devices: cell
phones, tablets, and other handheld Web browsers
(figure 1.7)
Example of a
simple network.
The server is
connected by
cable to the router
and other devices
connect wirelessly.
© Cengage
Learning 2014
Understanding Operating Systems, 7e 29
Understanding Operating Systems, 7e 30
Types of Operating Systems (cont'd.)
• Embedded systems
– Computers placed inside other products
• Automobiles, digital music players, elevators,
pacemakers, etc.
– Adds features and capabilities
– Operating system requirements
• Perform specific set of programs
• Non-interchangeable among systems
• Small kernel and flexible function capabilities
Understanding Operating Systems, 7e 31
Brief History of Operating Systems
Development
• Evolution of operating systems: parallels evolution
of computer hardware
• 1940s
– Computers operated by programmers presiding from
the main console
– Fixing a program error
• 1) stop the processor; 2) read register contents; 3)
make corrections in memory; 4) resume operations
– Poor machine utilization
• CPU processed data and performed calculations for
fraction of available time
– “Bug”: system not working correctly
Understanding Operating Systems, 7e 32
(figure 1.8)
Dr. Grace Hopper’s
research journal included
the first computer bug, the
remains of a moth that
became trapped in the
computer’s relays, causing
the system to crash.
[Photo © 2002 IEEE]
Brief History of Operating Systems
Development (cont'd.)
• 1950s: second generation
– Two widely adopted improvements
• Computer operators: humans hired to facilitate
machine operation
• Job scheduling: programs with similar requirements
grouped together (batch)
– Expensive time lags between CPU and I/O devices
– Improvements to the CPU and the system
• I/O devices (tape drives and disks): gradually became
faster
Understanding Operating Systems, 7e 33
Understanding Operating Systems, 7e
Brief History of Operating Systems
Development (cont'd.)
• 1950s
– Improvements to the CPU and the system
• Records blocked before retrieval or storage
• Control unit placed between I/O and CPU as a buffer:
reduced speed discrepancy
• 1960s
– Faster CPUs
– Speed caused problems with slower I/O devices
Understanding Operating Systems, 7e 34
Understanding Operating Systems, 7e
Brief History of Operating Systems
Development (cont'd.)
• 1960s
– Multiprogramming: many programs loaded and
sharing the CPU
• Passive multiprogramming: interrupts
• Active multiprogramming: time slicing
• 1970s
– Faster CPUs: caused problems with slower I/O
devices
– Main memory physical capacity limitations
• Multiprogramming schemes: increase CPU use
• Virtual memory system: solves physical limitation
Understanding Operating Systems, 7e 35
Understanding Operating Systems, 7e
Understanding Operating Systems, 7e 36
Brief History of Operating Systems
Development (cont'd.)
• 1980s
– More flexible hardware
• Logical functions built on replaceable circuit boards
– Operating system functions
• Made part of the hardware (firmware)
– Multiprocessing: more than one processor
• Allowed parallel program execution
– Evolution of personal computers and high-speed
communications
• Led to distributed processing/networked systems
Understanding Operating Systems, 7e 37
Brief History of Operating Systems
Development (cont'd.)
• 1990s
– Demand for Internet capability
– Increased networking
– Increased tighter security demands
• Protect system assets from Internet threats
– Multimedia applications
• Demanded additional power, flexibility, device
compatibility for most operating systems, etc.
Understanding Operating Systems, 7e 38
(figure 1.11)
Illustration from the 1989
proposal by Tim Berners-
Lee describing his
revolutionary “linked
information system.”
Understanding Operating Systems, 7e 39
Brief History of Operating Systems
Development (cont'd.)
• 2000s
– Need for improved flexibility, reliability, and speed
– Virtual machines
• Accommodated multiple operating systems that run at
the same time and share resources
• Required OS to have an intermediate manager
– Oversee the access of each operating system to
the server’s physical resources
– Multicore processors: two to many cores
• What capabilities does the operating system need for
these processors?
Brief History of Operating Systems
Development (cont'd.)
• 2010s
– Increased mobility and wireless connectivity
• Proliferation of dual-core, quad-core, and other
multicore CPUs
– Multicore technology
• Single chip equipped with two or more processor
cores
• What is the advantage over chips with transistors in
close proximity?
Understanding Operating Systems, 7e 40
Design Considerations
• Most common overall goal
– Maximize use of the system’s resources (memory,
processing, devices, and files) and minimize
downtime
• Factors included in developmental efforts
– RAM resources
– CPUs: number and type available
– Peripheral devices: variety likely to be connected
– Networking capability
– Security requirements, etc.
Understanding Operating Systems, 7e 41
Understanding Operating Systems, 7e 42
Conclusion
• Overall function of operating systems
• Evolution of operating systems
– Capable of running complex computers and
computer systems
• Operating system designer
– Chooses the policies that best match the system’s
environment

More Related Content

Similar to 9781285096551_PPT_ch01.pptx

Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05
ayahye
 
Lecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdfLecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdf
Amanuelmergia
 

Similar to 9781285096551_PPT_ch01.pptx (20)

Chapter one_oS.ppt
Chapter one_oS.pptChapter one_oS.ppt
Chapter one_oS.ppt
 
Os1
Os1Os1
Os1
 
os unit 1.pdf
os unit 1.pdfos unit 1.pdf
os unit 1.pdf
 
chapter1-introduction-to-operating-system.pdf
chapter1-introduction-to-operating-system.pdfchapter1-introduction-to-operating-system.pdf
chapter1-introduction-to-operating-system.pdf
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systems
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05
 
operating systemPPT sfgSun< Shg<SKJ <JSg
operating systemPPT sfgSun< Shg<SKJ <JSgoperating systemPPT sfgSun< Shg<SKJ <JSg
operating systemPPT sfgSun< Shg<SKJ <JSg
 
Operating System Overview.pdf
Operating System Overview.pdfOperating System Overview.pdf
Operating System Overview.pdf
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
 
Operating System
Operating SystemOperating System
Operating System
 
4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado4 Module - Operating Systems Configuration and Use by Mark John Lado
4 Module - Operating Systems Configuration and Use by Mark John Lado
 
1. Unit 1_Introduction to OS.pptx
1. Unit 1_Introduction to OS.pptx1. Unit 1_Introduction to OS.pptx
1. Unit 1_Introduction to OS.pptx
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
Ch1 introduction
Ch1   introductionCh1   introduction
Ch1 introduction
 
BAIT1003 Chapter 6
BAIT1003 Chapter 6BAIT1003 Chapter 6
BAIT1003 Chapter 6
 
8
88
8
 
Types of operating system.................
Types of operating system.................Types of operating system.................
Types of operating system.................
 
Lecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdfLecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdf
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

9781285096551_PPT_ch01.pptx

  • 1. About the Presentations • The presentations cover the objectives found in the opening of each chapter. • All chapter objectives are listed in the beginning of each presentation. • You may customize the presentations to fit your class needs. • Some figures from the chapters are included. A complete set of images from the book can be found as part of the Instructor Resources.
  • 2. Understanding Operating Systems Seventh Edition Chapter 1 Introducing Operating Systems
  • 3. Understanding Operating Systems, 7e 3 Learning Objectives After completing this chapter, you should be able to describe: • 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
  • 4. Understanding Operating Systems, 7e 4 Learning Objectives (cont'd.) • The differences among batch, interactive, real-time, hybrid, and embedded operating systems • Design considerations of operating systems designers
  • 5. Understanding Operating Systems, 7e 5 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 briefly describes: – Workings of operating systems
  • 6. Understanding Operating Systems, 7e What Is an Operating System? • Computer system – Software (programs) – Hardware (tangible machine/electronic components) • Operating system – Chief software component – Manages all hardware and all software and controls: • Every file, device, section of main memory, and moment of processing time • Who can use the system and how system is used 6
  • 7. Understanding Operating Systems, 7e 7 Operating System Software • Includes four essential subsystem managers – Memory Manager – Processor Manager – Device Manager – File Manager • Each manager: – Works closely with other managers – Performs a unique role
  • 8. Understanding Operating Systems, 7e 8 Operating System Software (cont'd.) (figure 1.1) This pyramid represents an operating system on a stand-alone computer unconnected to a network. It shows the four subsystem managers and the user interface. © Cengage Learning 2014
  • 9. Understanding Operating Systems, 7e 9 Operating System Software (cont'd.) • User Interface – Allows the user to issue commands to the operating system • Manager tasks – Monitor the system’s resources continuously – Enforce policies determining: • Who gets what, when, and how much – Allocate a resource (when appropriate) – Deallocate a resource (when appropriate)
  • 10. (figure 1.2) Each manager at the base of the pyramid takes responsibility for its own tasks while working harmoniously with every other manager. © Cengage Learning 2014 Understanding Operating Systems, 7e 10
  • 11. Understanding Operating Systems, 7e 11 Operating System Software (cont'd.) • Network Manager – Coordinates the services required for multiple systems to work cohesively together • Shared network resources: memory space, processors, printers, databases, applications, etc.
  • 12. Understanding Operating Systems, 7e 12 Main Memory Management • In charge of main memory – Random access memory (RAM) • Requires constant flow of electricity to hold data • Responsibilities include: – Checking validity and legality of memory space request – Reallocating memory to make more useable space available – Deallocating memory to reclaim it – Protecting space in main memory occupied by operating system
  • 13. Understanding Operating Systems, 7e 13 Main Memory Management • Read-only memory (ROM) – Another type of memory – Critical when computer is powered on – Holds firmware: programming code • When and how to load each piece of the operating system after the power is turned on – Non-volatile • Contents retained when the power is turned off
  • 14. Understanding Operating Systems, 7e 14 Processor Management • In charge of allocating Central Processing Unit (CPU) • Tracks process status – Program’s “instance of execution” • Comparable to a traffic controller – When a process is finished or maximum computation time expired • Processor Manager reclaims the CPU and allocates to next waiting process – Computer with multiple CPUs • More complex management
  • 15. Understanding Operating Systems, 7e 15 Device Management • In charge of connecting with every available device – Printers, ports, disk drives, etc. • Responsibilities include: – Choosing most efficient resource allocation method • Based on scheduling policy – Identifying each device uniquely – Starting device operation (when appropriate) – Monitoring device progress – Deallocating the device • What is the function of a device driver?
  • 16. Understanding Operating Systems, 7e 16 File Management • In charge of tracking every file in the system – Data files, program files, compilers, application programs, etc. • Responsibilities include: – Enforcing user/program resource access restrictions • Uses predetermined access policies – Controlling user/program modification restrictions • Read-only, read-write, create, delete – Allocating space for a file on secondary storage • One large storage area or smaller linked pieces – Retrieving files efficiently
  • 17. Network Management • Included in operating systems with networking capability • Authorizes users to share resources – Overall responsibility for every aspect of network connectivity • Devices, files, memory space, CPU capacity, etc. Understanding Operating Systems, 7e 17
  • 18. User Interface • Portion of the operating system – Direct interaction with users • Two primary types – Graphical user interface (GUI) • Input from pointing device • Menu options, desktops, and formats vary – Command line interface • Keyboard-typed commands that display on a monitor • Strict requirements for every command: typed accurately; correct syntax; combinations of commands assembled correctly Understanding Operating Systems, 7e 18
  • 19. Understanding Operating Systems, 7e 19 Cooperation Issues • No single manager performs tasks in isolation • Each element of an operating system – Performs individual tasks and – Harmoniously interacts with other managers • Incredible precision required for operating system to work smoothly • More complicated when networking is involved
  • 20. Cloud Computing • Practice of using Internet-connected resources – Performing processing, storage, or other operations • Operating system maintains responsibility – Managing all local resources and coordinating data transfer to and from the cloud • Role of the operating system – Accessing resources – Managing the system efficiently Understanding Operating Systems, 7e 20
  • 21. Understanding Operating Systems, 7e 21 An Evolution of Computing Hardware • Hardware: physical machine and electronic components – Main memory (RAM) • Data/Instruction storage and execution – Central processing unit (CPU) • Controls interpretation and execution of instructions • Initiates or performs these operations: storage, data manipulation and input/output – Input/output devices (I/O devices) • All peripheral devices in the system: printers, disk drives, CD/DVD drives, keyboards, etc.
  • 22. An Evolution of Computing Hardware (cont'd.) • Computer classification – At one time: based on memory capacity • Current platforms Understanding Operating Systems, 7e 22 (table 1.1) A brief list of platforms and a few of the operating systems designed to run on them, listed in alphabetical order. Understanding Operating Systems, 7e
  • 23. An Evolution of Computing Hardware (cont'd.) • Moore’s Law: Gordon Moore, 1965 – Each new processor chip compared to its predecessor • Twice as much capacity • Released within 18-24 months Understanding Operating Systems, 7e 23
  • 24. An Evolution of Computing Hardware (cont'd.) Understanding Operating Systems, 7e 24 (figure 1.6) Gordon Moore’s 1965 paper included the prediction that the number of transistors incorporated in a chip will approximately double every 24 months [Moore, 1965]. Courtesy of Intel Corporation.
  • 25. Understanding Operating Systems, 7e 25 Types of Operating Systems • Five categories – Batch – Interactive – Real-time – Hybrid – Embedded • Two distinguishing features – Response time – Method of data entry into the system
  • 26. Understanding Operating Systems, 7e 26 Types of Operating Systems (cont'd.) • Batch systems: jobs entered as a whole and in sequence – Input relied on punched cards or tape – Efficiency measured in throughput • Interactive systems: allow multiple jobs – Faster turnaround than batch systems – Slower than real-time systems – Introduced to provide fast turnaround when debugging programs – Complex algorithms: share processing power
  • 27. Understanding Operating Systems, 7e 27 Types of Operating Systems (cont'd.) • Real-time systems – Reliability is critical – Used in time-critical environments • Spacecraft, airport traffic control, fly-by-wire aircraft, critical industrial processes, medical systems, etc. – Two types of real-time systems • Hard real-time systems: risk total system failure if the predicted time deadline is missed • Soft real-time systems: suffer performance degradation as a consequence of a missed deadline
  • 28. Understanding Operating Systems, 7e 28 Types of Operating Systems (cont'd.) • Hybrid systems – Combination of batch and interactive – Light interactive load • Accepts and runs batch programs in the background • Network operating systems – Special class of software • Users perform tasks using few, if any, local resources, e.g., cloud computing – Wireless networking capability • Standard feature in many computing devices: cell phones, tablets, and other handheld Web browsers
  • 29. (figure 1.7) Example of a simple network. The server is connected by cable to the router and other devices connect wirelessly. © Cengage Learning 2014 Understanding Operating Systems, 7e 29
  • 30. Understanding Operating Systems, 7e 30 Types of Operating Systems (cont'd.) • Embedded systems – Computers placed inside other products • Automobiles, digital music players, elevators, pacemakers, etc. – Adds features and capabilities – Operating system requirements • Perform specific set of programs • Non-interchangeable among systems • Small kernel and flexible function capabilities
  • 31. Understanding Operating Systems, 7e 31 Brief History of Operating Systems Development • Evolution of operating systems: parallels evolution of computer hardware • 1940s – Computers operated by programmers presiding from the main console – Fixing a program error • 1) stop the processor; 2) read register contents; 3) make corrections in memory; 4) resume operations – Poor machine utilization • CPU processed data and performed calculations for fraction of available time – “Bug”: system not working correctly
  • 32. Understanding Operating Systems, 7e 32 (figure 1.8) Dr. Grace Hopper’s research journal included the first computer bug, the remains of a moth that became trapped in the computer’s relays, causing the system to crash. [Photo © 2002 IEEE]
  • 33. Brief History of Operating Systems Development (cont'd.) • 1950s: second generation – Two widely adopted improvements • Computer operators: humans hired to facilitate machine operation • Job scheduling: programs with similar requirements grouped together (batch) – Expensive time lags between CPU and I/O devices – Improvements to the CPU and the system • I/O devices (tape drives and disks): gradually became faster Understanding Operating Systems, 7e 33 Understanding Operating Systems, 7e
  • 34. Brief History of Operating Systems Development (cont'd.) • 1950s – Improvements to the CPU and the system • Records blocked before retrieval or storage • Control unit placed between I/O and CPU as a buffer: reduced speed discrepancy • 1960s – Faster CPUs – Speed caused problems with slower I/O devices Understanding Operating Systems, 7e 34 Understanding Operating Systems, 7e
  • 35. Brief History of Operating Systems Development (cont'd.) • 1960s – Multiprogramming: many programs loaded and sharing the CPU • Passive multiprogramming: interrupts • Active multiprogramming: time slicing • 1970s – Faster CPUs: caused problems with slower I/O devices – Main memory physical capacity limitations • Multiprogramming schemes: increase CPU use • Virtual memory system: solves physical limitation Understanding Operating Systems, 7e 35 Understanding Operating Systems, 7e
  • 36. Understanding Operating Systems, 7e 36 Brief History of Operating Systems Development (cont'd.) • 1980s – More flexible hardware • Logical functions built on replaceable circuit boards – Operating system functions • Made part of the hardware (firmware) – Multiprocessing: more than one processor • Allowed parallel program execution – Evolution of personal computers and high-speed communications • Led to distributed processing/networked systems
  • 37. Understanding Operating Systems, 7e 37 Brief History of Operating Systems Development (cont'd.) • 1990s – Demand for Internet capability – Increased networking – Increased tighter security demands • Protect system assets from Internet threats – Multimedia applications • Demanded additional power, flexibility, device compatibility for most operating systems, etc.
  • 38. Understanding Operating Systems, 7e 38 (figure 1.11) Illustration from the 1989 proposal by Tim Berners- Lee describing his revolutionary “linked information system.”
  • 39. Understanding Operating Systems, 7e 39 Brief History of Operating Systems Development (cont'd.) • 2000s – Need for improved flexibility, reliability, and speed – Virtual machines • Accommodated multiple operating systems that run at the same time and share resources • Required OS to have an intermediate manager – Oversee the access of each operating system to the server’s physical resources – Multicore processors: two to many cores • What capabilities does the operating system need for these processors?
  • 40. Brief History of Operating Systems Development (cont'd.) • 2010s – Increased mobility and wireless connectivity • Proliferation of dual-core, quad-core, and other multicore CPUs – Multicore technology • Single chip equipped with two or more processor cores • What is the advantage over chips with transistors in close proximity? Understanding Operating Systems, 7e 40
  • 41. Design Considerations • Most common overall goal – Maximize use of the system’s resources (memory, processing, devices, and files) and minimize downtime • Factors included in developmental efforts – RAM resources – CPUs: number and type available – Peripheral devices: variety likely to be connected – Networking capability – Security requirements, etc. Understanding Operating Systems, 7e 41
  • 42. Understanding Operating Systems, 7e 42 Conclusion • Overall function of operating systems • Evolution of operating systems – Capable of running complex computers and computer systems • Operating system designer – Chooses the policies that best match the system’s environment