SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
1
Operating Systems
Dr. Mohammed Badawy
mbmbadawy@yahoo.com
mohamed.badawi@el-eng.menofia.edu.eg
1 March 2023
Course Objectives
The objectives of this chapter are to describe:
Innovations in operating systems development
The basic role of an operating system
The types of operating systems
The basic functionality of the memory allocation and
deallocation schemes in the early systems
The basic functionality of the memory allocation and
deallocation methods in the virtual memory systems
The several process scheduling algorithms
The similarities and differences between processes and
threads
Operating Systems Dr. Mohammed Badawy 2
Course Objectives
The objectives of this chapter are to describe:
The deadlock, race, and starvation
The causes of system deadlock and livelock
The prevention, detection, and recovery from deadlock
and starvation
Operating Systems Dr. Mohammed Badawy 3
References
[1] Ann McIver McHoes and Ida M. Flynn, Understanding
Operating Systems, 8th Edition, Cengage Learning, 2018
[2] Ann McIver McHoes and Ida M. Flynn, Understanding
Operating Systems, 7th Edition, Cengage Learning, 2014
[3] Abraham Silberschatz, Peter Baer Galvin, and Greg
Gagne, Operating System Concepts Ninth Edition, John
Wiley & Sons, Inc., 2013
[4] William Stallings, Operating System Internals and Design
Principles, Seventh Edition, Prentice Hall, 2012
Operating Systems Dr. Mohammed Badawy 4
Chapter 1
Introducing Operating
Systems
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
• Design considerations of operating systems designers
Operating Systems Dr. Mohammed Badawy 6
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
Operating Systems Dr. Mohammed Badawy 7
What Is an Operating System?
• Computer system
– Software (programs)
– Hardware (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
Operating Systems Dr. Mohammed Badawy 8
Operating System Software
• Includes four essential subsystem managers
– Memory Manager
– Processor Manager
– Device Manager
– File Manager
• Each manager:
– Performs a unique role
– Works closely with other managers
Operating Systems Dr. Mohammed Badawy 9
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.
Operating Systems Dr. Mohammed Badawy 10
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)
Operating Systems Dr. Mohammed Badawy 11
(figure 1.2)
Each manager at
the base of the
pyramid takes
responsibility for its
own tasks while
working
harmoniously with
every other
manager.
Operating Systems Dr. Mohammed Badawy 12
Operating System Software (cont'd.)
• Network Manager
– Coordinates the services required for multiple
systems to work together
• Shared network resources: memory space,
processors, printers, databases, applications, etc.
Operating Systems Dr. Mohammed Badawy 13
Main Memory Management
• In charge of main memory
– Random access memory (RAM)
• 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
Operating Systems Dr. Mohammed Badawy 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
Operating Systems Dr. Mohammed Badawy 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
Operating Systems Dr. Mohammed Badawy 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
Operating Systems Dr. Mohammed Badawy 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.
Operating Systems Dr. Mohammed Badawy 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
Operating Systems Dr. Mohammed Badawy 19
User Interface
– 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
Operating Systems Dr. Mohammed Badawy 20
Cooperation Issues
• No single manager performs tasks in isolation
• Each element of an operating system
– Performs individual tasks and
– Harmoniously interacts with other managers
Operating Systems Dr. Mohammed Badawy 21
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
Operating Systems Dr. Mohammed Badawy 22
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.
Operating Systems Dr. Mohammed Badawy 23
An Evolution of Computing
Hardware (cont'd.)
• Computer classification
– At one time: based on memory capacity
• Current platforms
(table 1.1)
A brief list of
platforms and a
few of the
operating systems
designed to run on
them, listed in
alphabetical order.
Operating Systems Dr. Mohammed Badawy 24
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.
Operating Systems Dr. Mohammed Badawy 25
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
Operating Systems Dr. Mohammed Badawy 26

Weitere ähnliche Inhalte

Was ist angesagt? (20)

OS UNIT – 2 - Process Management
OS UNIT – 2 - Process ManagementOS UNIT – 2 - Process Management
OS UNIT – 2 - Process Management
 
System Administration: Introduction to system administration
System Administration: Introduction to system administrationSystem Administration: Introduction to system administration
System Administration: Introduction to system administration
 
System Administration
System AdministrationSystem Administration
System Administration
 
Server Management
Server ManagementServer Management
Server Management
 
File System Implementation - Part1
File System Implementation - Part1File System Implementation - Part1
File System Implementation - Part1
 
Server configuration
Server configurationServer configuration
Server configuration
 
Windows Network concepts
Windows Network conceptsWindows Network concepts
Windows Network concepts
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 
Operating system- AARAMBH PANDEY
Operating system- AARAMBH PANDEYOperating system- AARAMBH PANDEY
Operating system- AARAMBH PANDEY
 
Windows Security in Operating System
Windows Security in Operating SystemWindows Security in Operating System
Windows Security in Operating System
 
Step for installing linux server
Step for installing linux serverStep for installing linux server
Step for installing linux server
 
Kernel (OS)
Kernel (OS)Kernel (OS)
Kernel (OS)
 
File System Modules
File System ModulesFile System Modules
File System Modules
 
Virtual Machines - Virtual Box
Virtual Machines  - Virtual BoxVirtual Machines  - Virtual Box
Virtual Machines - Virtual Box
 
Operating System Lecture 1
Operating System Lecture 1Operating System Lecture 1
Operating System Lecture 1
 
File management
File managementFile management
File management
 
Process control block(PCB)
Process control block(PCB)Process control block(PCB)
Process control block(PCB)
 
Systems Administration
Systems AdministrationSystems Administration
Systems Administration
 
File Sever
File SeverFile Sever
File Sever
 
Windows 2012 server
Windows 2012 serverWindows 2012 server
Windows 2012 server
 

Ähnlich wie chapter1-introduction-to-operating-system.pdf

9781285096551_PPT_ch01.pptx
9781285096551_PPT_ch01.pptx9781285096551_PPT_ch01.pptx
9781285096551_PPT_ch01.pptxMiguelColon24
 
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 LadoMark John Lado, MIT
 
Introduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary MargaratIntroduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary MargaratMary Margarat
 
Operating System.ppt
Operating System.pptOperating System.ppt
Operating System.pptVpmv
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating systemmahfuzur32785
 
Lecture1423726024
Lecture1423726024Lecture1423726024
Lecture1423726024deepakjeetu
 
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 systemsssuser6aef00
 
OSmodule1_ppt.pptx
OSmodule1_ppt.pptxOSmodule1_ppt.pptx
OSmodule1_ppt.pptxRADHIKAB20
 
Chapter one_oS.ppt
Chapter one_oS.pptChapter one_oS.ppt
Chapter one_oS.pptmiki304759
 
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.pptxAishwarya .
 
Real time operating system
Real time operating systemReal time operating system
Real time operating systemPratik Hiremath
 

Ähnlich wie chapter1-introduction-to-operating-system.pdf (20)

9781285096551_PPT_ch01.pptx
9781285096551_PPT_ch01.pptx9781285096551_PPT_ch01.pptx
9781285096551_PPT_ch01.pptx
 
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
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
 
Operating system Chapter One
Operating system Chapter OneOperating system Chapter One
Operating system Chapter One
 
OS-01.ppt
OS-01.pptOS-01.ppt
OS-01.ppt
 
Introduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary MargaratIntroduction to Operating Systems - Mary Margarat
Introduction to Operating Systems - Mary Margarat
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
8
88
8
 
Os concepts
Os conceptsOs concepts
Os concepts
 
Operating System.ppt
Operating System.pptOperating System.ppt
Operating System.ppt
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Lecture1423726024
Lecture1423726024Lecture1423726024
Lecture1423726024
 
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
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
OSmodule1_ppt.pptx
OSmodule1_ppt.pptxOSmodule1_ppt.pptx
OSmodule1_ppt.pptx
 
Chapter one_oS.ppt
Chapter one_oS.pptChapter one_oS.ppt
Chapter one_oS.ppt
 
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
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
An Introduction to Operating Systems
An Introduction to Operating SystemsAn Introduction to Operating Systems
An Introduction to Operating Systems
 

Kürzlich hochgeladen

(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 

Kürzlich hochgeladen (20)

(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 

chapter1-introduction-to-operating-system.pdf

  • 1. 1 Operating Systems Dr. Mohammed Badawy mbmbadawy@yahoo.com mohamed.badawi@el-eng.menofia.edu.eg 1 March 2023
  • 2. Course Objectives The objectives of this chapter are to describe: Innovations in operating systems development The basic role of an operating system The types of operating systems The basic functionality of the memory allocation and deallocation schemes in the early systems The basic functionality of the memory allocation and deallocation methods in the virtual memory systems The several process scheduling algorithms The similarities and differences between processes and threads Operating Systems Dr. Mohammed Badawy 2
  • 3. Course Objectives The objectives of this chapter are to describe: The deadlock, race, and starvation The causes of system deadlock and livelock The prevention, detection, and recovery from deadlock and starvation Operating Systems Dr. Mohammed Badawy 3
  • 4. References [1] Ann McIver McHoes and Ida M. Flynn, Understanding Operating Systems, 8th Edition, Cengage Learning, 2018 [2] Ann McIver McHoes and Ida M. Flynn, Understanding Operating Systems, 7th Edition, Cengage Learning, 2014 [3] Abraham Silberschatz, Peter Baer Galvin, and Greg Gagne, Operating System Concepts Ninth Edition, John Wiley & Sons, Inc., 2013 [4] William Stallings, Operating System Internals and Design Principles, Seventh Edition, Prentice Hall, 2012 Operating Systems Dr. Mohammed Badawy 4
  • 6. 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 • Design considerations of operating systems designers Operating Systems Dr. Mohammed Badawy 6
  • 7. 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 Operating Systems Dr. Mohammed Badawy 7
  • 8. What Is an Operating System? • Computer system – Software (programs) – Hardware (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 Operating Systems Dr. Mohammed Badawy 8
  • 9. Operating System Software • Includes four essential subsystem managers – Memory Manager – Processor Manager – Device Manager – File Manager • Each manager: – Performs a unique role – Works closely with other managers Operating Systems Dr. Mohammed Badawy 9
  • 10. 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. Operating Systems Dr. Mohammed Badawy 10
  • 11. 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) Operating Systems Dr. Mohammed Badawy 11
  • 12. (figure 1.2) Each manager at the base of the pyramid takes responsibility for its own tasks while working harmoniously with every other manager. Operating Systems Dr. Mohammed Badawy 12
  • 13. Operating System Software (cont'd.) • Network Manager – Coordinates the services required for multiple systems to work together • Shared network resources: memory space, processors, printers, databases, applications, etc. Operating Systems Dr. Mohammed Badawy 13
  • 14. Main Memory Management • In charge of main memory – Random access memory (RAM) • 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 Operating Systems Dr. Mohammed Badawy 14
  • 15. 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 Operating Systems Dr. Mohammed Badawy 15
  • 16. 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 Operating Systems Dr. Mohammed Badawy 16
  • 17. 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 Operating Systems Dr. Mohammed Badawy 17
  • 18. 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. Operating Systems Dr. Mohammed Badawy 18
  • 19. 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 Operating Systems Dr. Mohammed Badawy 19
  • 20. User Interface – 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 Operating Systems Dr. Mohammed Badawy 20
  • 21. Cooperation Issues • No single manager performs tasks in isolation • Each element of an operating system – Performs individual tasks and – Harmoniously interacts with other managers Operating Systems Dr. Mohammed Badawy 21
  • 22. 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 Operating Systems Dr. Mohammed Badawy 22
  • 23. 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. Operating Systems Dr. Mohammed Badawy 23
  • 24. An Evolution of Computing Hardware (cont'd.) • Computer classification – At one time: based on memory capacity • Current platforms (table 1.1) A brief list of platforms and a few of the operating systems designed to run on them, listed in alphabetical order. Operating Systems Dr. Mohammed Badawy 24
  • 25. 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. Operating Systems Dr. Mohammed Badawy 25
  • 26. 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 Operating Systems Dr. Mohammed Badawy 26