SlideShare a Scribd company logo
1 of 35
Chapter 13
Operating Systems: An Overview
The Architecture of Computer Hardware
and Systems Software:
An Information Technology Approach
3rd Edition, Irv Englander
John Wiley and Sons ©2003
Wilson Wong, Bentley College
Linda Senne, Bentley College
Chapter 13 13-2
Bare Bones Computer System
 Does not load instructions into main
memory
 No user interface except for I/O routines
provided with executing program
 Is idle when waiting for user input
 No facility to store, retrieve, or
manipulate files
 No ability to control peripheral devices
 Can run only one program at a time
Chapter 13 13-3
Integrated Computer Environment
Chapter 13 13-4
Operating System – Basic Services
 Programs that accept commands and
requests from a user and a user’s
program
 Manages, loads, and executes
programs
 Manages hardware resources of the
computer
 Act as an interface between the user
and the system
Chapter 13 13-5
Operating System – Additional Services
 Provides interfaces for the user and the user’s
programs
 File support services
 I/O support services
 Means of starting the computer
 Bootstrapping or booting the computer
 Initial Program Load (IPL)
 Handles all interrupt processing
 Network services
 Provides tools and services for concurrent processing
Chapter 13 13-6
Additional Services Required by
Concurrent Processing
 Allocates resources such as memory,
CPU time, and I/O devices to programs
 Protects users and programs from each
other and provides for inter-program
communication
 Provides feedback to the system
administrators to permit performance
optimization of the computer system
Chapter 13 13-7
OS Parts
 Memory Resident
 Always loaded in memory
 Commonly called the kernel
 Contains essential services required by other parts of the
operating system and applications.
 Typically responsible for managing memory management,
processes and tasks, and secondary storage
 Memory Non-resident
 Applications
 Infrequently used programs, software tools, and commands
 Bootstrap program
 Diskless workstations or thin clients
 Programs, including the OS, are located on another
computer on the network
Chapter 13 13-8
Simplified Diagram of Operating
System Services
Chapter 13 13-9
OS Degree of Activity
 Interactive
 Also known as conversational systems
 Batch processing
 User submits programs or jobs for
processing
 Little to no user interaction
 Event driven
 Interrupts or service requests
Chapter 13 13-10
Hardware and the OS
 A hardware platform may support a variety of
operating systems
 An operating system may work on a variety of
platforms
 A standard operating system that works on different
hardware
 Provides program and file portability
 Enables user efficiency through recognizable interface
 Is implemented through a systems programming language
like C or C++ as opposed to assembly language
Chapter 13 13-11
Single Job Processing
 Only one program is loaded into
memory and executed
 Example: MS-DOS
 Memory resident components
 Command interface shell
 I/O routines, including BIOS
 File management system
 User program in control
Chapter 13 13-12
OS Regains Control
 When program is finished control is
transferred back to the command
interpreter
 If the user’s program requests I/O
 The user wishes to stop the program
execution via a keyboard interrupt
 System malfunctions
Chapter 13 13-13
Single Job Processing
Disadvantages
 Lack of security
 Programs can overwrite the resident OS
 Programs can write directly to I/O devices
 System provides minimum memory
management and no scheduling
 CPU is often idle awaiting the completion of
I/O operations
Chapter 13 13-14
Chapter 13 13-15
Concurrent Operations
 Multitasking (multiprogramming) vs.
multiprocessing which implies multiple
CPUs
 Concurrent processing vs.
simultaneous processing
Chapter 13 13-16
Achieving Multitasking
 While one program is waiting for I/O to
take place, another program is using
the CPU to execute instructions.
 Time-slicing. The CPU may be
switched rapidly back and forth between
different programs
 Dispatching is the process of selecting
which program to run at any given
instant
Chapter 13 13-17
Sharing the CPU during I/O Breaks
 I/O represents a large percentage of a
typical program’s execution
Chapter 13 13-18
Time-sharing the CPU
Time slicing
Chapter 13 13-19
Services and Facilities
 Command processor
 File management system
 I/O control system
 Process control management and interprocess
communication
 Memory management
 Scheduling system
 Secondary storage management
 System protection management
 Network management, communication support, and
communication interfaces
 System Administration
Chapter 13 13-20
User Interface and
Command Execution Services
 Types of user interfaces
 CLI - Command Line Interface
 GUI - Graphical User Interface
 Menu environment
 Shell
 User interface and command processor that interacts with
the kernel
 UNIX: C, Bourne and Korn shells
 Command Languages
 IBM Mainframes – JCL
 MS Windows – BAT files, Windows Scripting Host
 UNIX – shell scripts
Chapter 13 13-21
File Management
 File - logical unit of storage
 Basic file management system provides
 Directory structures for each I/O device
 Tools to copy and move files
 Information about each file in the system and the tools to
access that information
 Security mechanisms to protects files and control access
 Additional file management features
 Backup, emergency retrieval and recovery
 File compression
 Transparent network file access
 auditing
Chapter 13 13-22
I/O Services and
Process Control Management
 I/O services
 Startup configuration
 Device drives that implement interrupts and provide
other techniques for handling I/O
 Plug and play: hot swapping, hot plugging
 Process control management
 A process is an executing program
 A thread is an individually executable part of a
process
 Interprocess messaging services

Example: a pipe in UNIX or DOS that is a temporary
software connection between two programs or commands
Chapter 13 13-23
Memory Management
 Keeps track of memory
 Identifies programs loaded into memory
 Amount of space each program uses
 Available remaining space
 Prevents programs from reading and writing
memory outside of their allocated space
 Maintains queues of waiting programs
 Allocates memory to programs that are next
to be loaded
 Deallocates a program’s memory space upon
program completion
Chapter 13 13-24
Scheduling
 High-level scheduling
 Placed in queue based on level of priority and eventually
executed
 Dispatching
 Actual selection of processes that will be executed at any
given time
 Preemptive – uses clock interrupts
 Non-preemptive – program voluntarily gives up control
 Context switching
 Transfer control to the process that is being dispatched
 Nonpreemptive: program voluntarily gives up control
 Preemptive: uses clock interrupt for multitasking
 Processing requirements
 CPU vs. I/O bound
Chapter 13 13-25
Secondary Storage and Security
 Secondary storage management
 Optimizes completion of I/O tasks for efficient disk
usage
 Combination of hardware and software
 Security and protection services
 Protect OS from users
 Protect users from other users
 Prevent unauthorized entry to system
 Prevent unauthorized system use by authorized
users
Chapter 13 13-26
Network and Communication Services
 TCP-IP protocol suite
 Locate and connect to other computers
 Access files, I/O devices, and programs from
remote systems
 Support distributed processing
 Network Applications
 Email, remote login, Web services, streaming
multimedia, voice over IP telephony, VPN
 Interface between communication software
and OS I/O control system that provides
network access
Chapter 13 13-27
System Administration Support
 System configuration
and setting group
configuration policies
 Adding and deleting
users
 Modifying user
privileges
 System security
 Files systems
management
 Network administration
 Backups
 Software installations
and upgrades
 OS installations
(system generation),
patches, and upgrades
 System tuning and
optimization
Chapter 13 13-28
Monolithic Kernel
 Drawback: stability
and integrity
 Examples:
 UNIX
 Windows NT
Chapter 13 13-29
Hierarchical
 Requests pass
through
intermediate
layers
 Examples
 Multics
 Data General
Chapter 13 13-30
Microkernel
 Minimum essential functionality
 Client-server system on same system
 Clients request services from microkernel which
passes message onto appropriate server
Chapter 13 13-31
Mach OS Kernel
 Microkernel implementation
 Includes
 Message passing
 Interrupt processing
 Virtual memory management
 Scheduling
 Basic set of I/O drivers
 Macintosh OS X, IBM AIX on RS/6000
Chapter 13 13-32
Types of Operating Systems
 Single user, single tasking
 Single user, multitasking
 Multi-user, multitasking
 Distributed systems
 Processing power distributed among computers in
a cluster or network
 Network servers
 Real-time systems
 Embedded systems
Chapter 13 13-33
Bootstrapping
 Execution begins with bootstrap loader
(mini-loader, IPL) stored in ROM
 Looks for OS program in a fixed
location
 Loads OS into RAM
 Transfers control to starting location of
OS
 Loader program in OS used to load and
execute user programs
Chapter 13 13-34
Bootstrapping
 Cold vs.
warm boot
(does not
retest the
system)
Chapter 13 13-35
Copyright 2003 John Wiley & Sons
All rights reserved. Reproduction or translation of this
work beyond that permitted in Section 117 of the 1976
United States Copyright Act without express permission
of the copyright owner is unlawful. Request for further
information should be addressed to the permissions
Department, John Wiley & Songs, Inc. The purchaser
may make back-up copies for his/her own use only and
not for distribution or resale. The Publisher assumes no
responsibility for errors, omissions, or damages caused
by the use of these programs or from the use of the
information contained herein.”

More Related Content

What's hot

Operating-System Structures
Operating-System StructuresOperating-System Structures
Operating-System StructuresCloudbells.com
 
What is operating system
What is operating systemWhat is operating system
What is operating systemSuvithak
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machineVaibhav Khanna
 
Operating system deign and implementation
Operating system deign and implementationOperating system deign and implementation
Operating system deign and implementationsangrampatil81
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Servicessgpraju
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OSC.U
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi seolangit4
 
System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniHardik Nathani
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2sphs
 
Operating system components
Operating system componentsOperating system components
Operating system componentsSyed Zaid Irshad
 
OS Components and Structure
OS Components and StructureOS Components and Structure
OS Components and Structuresathish sak
 
services and system calls of operating system
services and system calls of operating system services and system calls of operating system
services and system calls of operating system Saurabh Soni
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system conceptsVaibhav Khanna
 
STRUCTURE OF OPERATING SYSTEMS
STRUCTURE OF OPERATING SYSTEMSSTRUCTURE OF OPERATING SYSTEMS
STRUCTURE OF OPERATING SYSTEMSKABILESH RAMAR
 

What's hot (20)

Operating-System Structures
Operating-System StructuresOperating-System Structures
Operating-System Structures
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machine
 
Operating system deign and implementation
Operating system deign and implementationOperating system deign and implementation
Operating system deign and implementation
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Services
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
Os unit 1(cont)
Os unit 1(cont)Os unit 1(cont)
Os unit 1(cont)
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi
 
System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathani
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
 
Operating system components
Operating system componentsOperating system components
Operating system components
 
OS Components and Structure
OS Components and StructureOS Components and Structure
OS Components and Structure
 
services and system calls of operating system
services and system calls of operating system services and system calls of operating system
services and system calls of operating system
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system concepts
 
Ch2
Ch2Ch2
Ch2
 
STRUCTURE OF OPERATING SYSTEMS
STRUCTURE OF OPERATING SYSTEMSSTRUCTURE OF OPERATING SYSTEMS
STRUCTURE OF OPERATING SYSTEMS
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Opearating System
Opearating  SystemOpearating  System
Opearating System
 
Chapter01 os7e
Chapter01 os7eChapter01 os7e
Chapter01 os7e
 

Viewers also liked

Computer Operating Systems
Computer Operating SystemsComputer Operating Systems
Computer Operating Systemsguevarra_2000
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer SoftwaresNaresh Dubey
 
software system_and_application_software
software system_and_application_softwaresoftware system_and_application_software
software system_and_application_softwareTallat Satti
 
Computer Basics Power Point
Computer Basics Power PointComputer Basics Power Point
Computer Basics Power Pointmrsmerctech
 
BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2Ndubi Amos
 
BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1Ndubi Amos
 
Computer
ComputerComputer
Computermrg33
 
Network operating systems
Network operating systems Network operating systems
Network operating systems Sachin Awasthi
 
Computer hardware servicing tools
Computer hardware servicing toolsComputer hardware servicing tools
Computer hardware servicing toolsCheryll Ann Lappay
 
Mulching in horticulture amit and dinesh bbau lucknow
Mulching in horticulture amit and dinesh bbau lucknowMulching in horticulture amit and dinesh bbau lucknow
Mulching in horticulture amit and dinesh bbau lucknowamithr97
 
Use of tools in PC hardware servicing
Use of tools in PC hardware servicingUse of tools in PC hardware servicing
Use of tools in PC hardware servicingCupay Dabu
 
Conducting test on the installed computer system
Conducting test on the installed computer systemConducting test on the installed computer system
Conducting test on the installed computer systemRachel Espino
 
Input computer hardware notes for UCEand UACE ICT
Input computer hardware notes for UCEand UACE ICTInput computer hardware notes for UCEand UACE ICT
Input computer hardware notes for UCEand UACE ICTMukalele Rogers
 

Viewers also liked (20)

Computer Operating Systems
Computer Operating SystemsComputer Operating Systems
Computer Operating Systems
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer Softwares
 
Types Of Operating Systems
Types Of Operating SystemsTypes Of Operating Systems
Types Of Operating Systems
 
software system_and_application_software
software system_and_application_softwaresoftware system_and_application_software
software system_and_application_software
 
Equality Of Men And Women
Equality Of Men And WomenEquality Of Men And Women
Equality Of Men And Women
 
Computer Basics Power Point
Computer Basics Power PointComputer Basics Power Point
Computer Basics Power Point
 
BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2
 
BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1
 
Computer
ComputerComputer
Computer
 
Man as a person
Man as a personMan as a person
Man as a person
 
Network operating systems
Network operating systems Network operating systems
Network operating systems
 
Computer hardware servicing tools
Computer hardware servicing toolsComputer hardware servicing tools
Computer hardware servicing tools
 
Mulching in horticulture amit and dinesh bbau lucknow
Mulching in horticulture amit and dinesh bbau lucknowMulching in horticulture amit and dinesh bbau lucknow
Mulching in horticulture amit and dinesh bbau lucknow
 
Gender inequality
Gender inequalityGender inequality
Gender inequality
 
PSCN Lecture 3: Constitution Article 1 and 2 ( Section 1-6)
PSCN Lecture 3: Constitution Article 1 and 2 ( Section 1-6)PSCN Lecture 3: Constitution Article 1 and 2 ( Section 1-6)
PSCN Lecture 3: Constitution Article 1 and 2 ( Section 1-6)
 
Slogans for Nature and Gender Equality
Slogans for Nature and Gender Equality Slogans for Nature and Gender Equality
Slogans for Nature and Gender Equality
 
Use of tools in PC hardware servicing
Use of tools in PC hardware servicingUse of tools in PC hardware servicing
Use of tools in PC hardware servicing
 
Conducting test on the installed computer system
Conducting test on the installed computer systemConducting test on the installed computer system
Conducting test on the installed computer system
 
Input computer hardware notes for UCEand UACE ICT
Input computer hardware notes for UCEand UACE ICTInput computer hardware notes for UCEand UACE ICT
Input computer hardware notes for UCEand UACE ICT
 
Types of software
Types of softwareTypes of software
Types of software
 

Similar to Ch13

Similar to Ch13 (20)

Csc 2313 (lecture 2)
Csc 2313 (lecture 2)Csc 2313 (lecture 2)
Csc 2313 (lecture 2)
 
Csc 2313 (lecture 2)
Csc 2313 (lecture 2)Csc 2313 (lecture 2)
Csc 2313 (lecture 2)
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Chapter02
Chapter02Chapter02
Chapter02
 
Presentation1 cc
Presentation1 ccPresentation1 cc
Presentation1 cc
 
OSCh3
OSCh3OSCh3
OSCh3
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
Operating System Concepts Presentation
Operating System Concepts PresentationOperating System Concepts Presentation
Operating System Concepts Presentation
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptx
 
OSLec1&2.ppt
OSLec1&2.pptOSLec1&2.ppt
OSLec1&2.ppt
 
Operating System
Operating SystemOperating System
Operating System
 
OS-ch01-2024.ppt
OS-ch01-2024.pptOS-ch01-2024.ppt
OS-ch01-2024.ppt
 
Ram iit ppt
Ram iit pptRam iit ppt
Ram iit ppt
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Ch3
Ch3Ch3
Ch3
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course Introduction
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Operating system
Operating systemOperating system
Operating system
 

Recently uploaded

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
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
#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
 
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
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
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
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 

Recently uploaded (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
#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
 
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
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
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
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
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
 
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
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 

Ch13

  • 1. Chapter 13 Operating Systems: An Overview The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander John Wiley and Sons ©2003 Wilson Wong, Bentley College Linda Senne, Bentley College
  • 2. Chapter 13 13-2 Bare Bones Computer System  Does not load instructions into main memory  No user interface except for I/O routines provided with executing program  Is idle when waiting for user input  No facility to store, retrieve, or manipulate files  No ability to control peripheral devices  Can run only one program at a time
  • 3. Chapter 13 13-3 Integrated Computer Environment
  • 4. Chapter 13 13-4 Operating System – Basic Services  Programs that accept commands and requests from a user and a user’s program  Manages, loads, and executes programs  Manages hardware resources of the computer  Act as an interface between the user and the system
  • 5. Chapter 13 13-5 Operating System – Additional Services  Provides interfaces for the user and the user’s programs  File support services  I/O support services  Means of starting the computer  Bootstrapping or booting the computer  Initial Program Load (IPL)  Handles all interrupt processing  Network services  Provides tools and services for concurrent processing
  • 6. Chapter 13 13-6 Additional Services Required by Concurrent Processing  Allocates resources such as memory, CPU time, and I/O devices to programs  Protects users and programs from each other and provides for inter-program communication  Provides feedback to the system administrators to permit performance optimization of the computer system
  • 7. Chapter 13 13-7 OS Parts  Memory Resident  Always loaded in memory  Commonly called the kernel  Contains essential services required by other parts of the operating system and applications.  Typically responsible for managing memory management, processes and tasks, and secondary storage  Memory Non-resident  Applications  Infrequently used programs, software tools, and commands  Bootstrap program  Diskless workstations or thin clients  Programs, including the OS, are located on another computer on the network
  • 8. Chapter 13 13-8 Simplified Diagram of Operating System Services
  • 9. Chapter 13 13-9 OS Degree of Activity  Interactive  Also known as conversational systems  Batch processing  User submits programs or jobs for processing  Little to no user interaction  Event driven  Interrupts or service requests
  • 10. Chapter 13 13-10 Hardware and the OS  A hardware platform may support a variety of operating systems  An operating system may work on a variety of platforms  A standard operating system that works on different hardware  Provides program and file portability  Enables user efficiency through recognizable interface  Is implemented through a systems programming language like C or C++ as opposed to assembly language
  • 11. Chapter 13 13-11 Single Job Processing  Only one program is loaded into memory and executed  Example: MS-DOS  Memory resident components  Command interface shell  I/O routines, including BIOS  File management system  User program in control
  • 12. Chapter 13 13-12 OS Regains Control  When program is finished control is transferred back to the command interpreter  If the user’s program requests I/O  The user wishes to stop the program execution via a keyboard interrupt  System malfunctions
  • 13. Chapter 13 13-13 Single Job Processing Disadvantages  Lack of security  Programs can overwrite the resident OS  Programs can write directly to I/O devices  System provides minimum memory management and no scheduling  CPU is often idle awaiting the completion of I/O operations
  • 15. Chapter 13 13-15 Concurrent Operations  Multitasking (multiprogramming) vs. multiprocessing which implies multiple CPUs  Concurrent processing vs. simultaneous processing
  • 16. Chapter 13 13-16 Achieving Multitasking  While one program is waiting for I/O to take place, another program is using the CPU to execute instructions.  Time-slicing. The CPU may be switched rapidly back and forth between different programs  Dispatching is the process of selecting which program to run at any given instant
  • 17. Chapter 13 13-17 Sharing the CPU during I/O Breaks  I/O represents a large percentage of a typical program’s execution
  • 18. Chapter 13 13-18 Time-sharing the CPU Time slicing
  • 19. Chapter 13 13-19 Services and Facilities  Command processor  File management system  I/O control system  Process control management and interprocess communication  Memory management  Scheduling system  Secondary storage management  System protection management  Network management, communication support, and communication interfaces  System Administration
  • 20. Chapter 13 13-20 User Interface and Command Execution Services  Types of user interfaces  CLI - Command Line Interface  GUI - Graphical User Interface  Menu environment  Shell  User interface and command processor that interacts with the kernel  UNIX: C, Bourne and Korn shells  Command Languages  IBM Mainframes – JCL  MS Windows – BAT files, Windows Scripting Host  UNIX – shell scripts
  • 21. Chapter 13 13-21 File Management  File - logical unit of storage  Basic file management system provides  Directory structures for each I/O device  Tools to copy and move files  Information about each file in the system and the tools to access that information  Security mechanisms to protects files and control access  Additional file management features  Backup, emergency retrieval and recovery  File compression  Transparent network file access  auditing
  • 22. Chapter 13 13-22 I/O Services and Process Control Management  I/O services  Startup configuration  Device drives that implement interrupts and provide other techniques for handling I/O  Plug and play: hot swapping, hot plugging  Process control management  A process is an executing program  A thread is an individually executable part of a process  Interprocess messaging services  Example: a pipe in UNIX or DOS that is a temporary software connection between two programs or commands
  • 23. Chapter 13 13-23 Memory Management  Keeps track of memory  Identifies programs loaded into memory  Amount of space each program uses  Available remaining space  Prevents programs from reading and writing memory outside of their allocated space  Maintains queues of waiting programs  Allocates memory to programs that are next to be loaded  Deallocates a program’s memory space upon program completion
  • 24. Chapter 13 13-24 Scheduling  High-level scheduling  Placed in queue based on level of priority and eventually executed  Dispatching  Actual selection of processes that will be executed at any given time  Preemptive – uses clock interrupts  Non-preemptive – program voluntarily gives up control  Context switching  Transfer control to the process that is being dispatched  Nonpreemptive: program voluntarily gives up control  Preemptive: uses clock interrupt for multitasking  Processing requirements  CPU vs. I/O bound
  • 25. Chapter 13 13-25 Secondary Storage and Security  Secondary storage management  Optimizes completion of I/O tasks for efficient disk usage  Combination of hardware and software  Security and protection services  Protect OS from users  Protect users from other users  Prevent unauthorized entry to system  Prevent unauthorized system use by authorized users
  • 26. Chapter 13 13-26 Network and Communication Services  TCP-IP protocol suite  Locate and connect to other computers  Access files, I/O devices, and programs from remote systems  Support distributed processing  Network Applications  Email, remote login, Web services, streaming multimedia, voice over IP telephony, VPN  Interface between communication software and OS I/O control system that provides network access
  • 27. Chapter 13 13-27 System Administration Support  System configuration and setting group configuration policies  Adding and deleting users  Modifying user privileges  System security  Files systems management  Network administration  Backups  Software installations and upgrades  OS installations (system generation), patches, and upgrades  System tuning and optimization
  • 28. Chapter 13 13-28 Monolithic Kernel  Drawback: stability and integrity  Examples:  UNIX  Windows NT
  • 29. Chapter 13 13-29 Hierarchical  Requests pass through intermediate layers  Examples  Multics  Data General
  • 30. Chapter 13 13-30 Microkernel  Minimum essential functionality  Client-server system on same system  Clients request services from microkernel which passes message onto appropriate server
  • 31. Chapter 13 13-31 Mach OS Kernel  Microkernel implementation  Includes  Message passing  Interrupt processing  Virtual memory management  Scheduling  Basic set of I/O drivers  Macintosh OS X, IBM AIX on RS/6000
  • 32. Chapter 13 13-32 Types of Operating Systems  Single user, single tasking  Single user, multitasking  Multi-user, multitasking  Distributed systems  Processing power distributed among computers in a cluster or network  Network servers  Real-time systems  Embedded systems
  • 33. Chapter 13 13-33 Bootstrapping  Execution begins with bootstrap loader (mini-loader, IPL) stored in ROM  Looks for OS program in a fixed location  Loads OS into RAM  Transfers control to starting location of OS  Loader program in OS used to load and execute user programs
  • 34. Chapter 13 13-34 Bootstrapping  Cold vs. warm boot (does not retest the system)
  • 35. Chapter 13 13-35 Copyright 2003 John Wiley & Sons All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the permissions Department, John Wiley & Songs, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information contained herein.”

Editor's Notes

  1. <number>
  2. <number>
  3. <number>
  4. <number>
  5. <number>
  6. <number>
  7. <number>
  8. <number>