SlideShare a Scribd company logo
1 of 20
{Prepared By : Devang Vyas(14501002)
Processor Management
And
Device Manager
Index
Sr. No Contents
1) Introduction
2) Job Scheduling VS Process Scheduling
3) Process Scheduling Algorithms
4) Cache Memory
5) Interrupts
6) List of I/O devices
7) Need of device manager
8) Way of communication
9) Serial /parallel
10) Synchronous/asynchronous
Processor Manager
Job Scheduling
Process Scheduling
Interrupt Management
 Process Manager performs job scheduling, process scheduling and
interrupt management .
 In single-user systems, processor is busy only when user is
executing a job—at all other times it is idle.
 Processor management is simple.
 In multiprogramming environment, processor must be allocated
to each job in a fair and efficient manner.
 Requires scheduling policy and a scheduling algorithm
How Does Processor Manager
Allocate CPU(s) to Jobs?
 Processor Manager has 2 sub-managers:
1. Job Scheduler :-
 in charge of job scheduling.
2. Process Scheduler :-
 in charge of process scheduling.
Job Scheduling vs. Process Scheduling
 Selects jobs from a queue of incoming jobs.
 Places them in process queue (batch or interactive), based
on each job’s characteristics.
 Goal is to put jobs in a sequence that uses all system’s
resources as fully as possible.
 Strives for balanced mix of jobs with large I/O interaction
and jobs with lots of computation.
 Tries to keep most system components busy most of time.
Job Scheduler
 Low-level scheduler – assigns the CPU to execute processes
of those jobs placed on ready queue by Job Scheduler.
 After a job has been placed on the READY queue by Job
Scheduler, Process Scheduler that takes over.
 Determines which jobs will get CPU, when, and for how
long.
 Decides when processing should be interrupted.
 Determines queues job should be moved to during
execution.
 Recognizes when a job has concluded and should be
terminated.
Process Scheduler
 First Come First Served (FCFS)
 Shortest Job Next (SJN)
 Priority Scheduling
 Shortest Remaining Time (SRT)
 Round Robin
 Multiple Level Queues
Process Scheduling Algorithms
Cache Memory
 Cache memory -- quickly accessible memory that’s designed to
alleviate speed differences between a very fast CPU and slower
main memory.
 Stores copy of frequently used data in an easily accessible memory
area instead of main memory.
 This memory is typically integrated directly with the CPU chip or
placed on a separate chip that has a separate bus interconnect with
the CPU.
 Cache memory is fast and expensive. Traditionally, it is categorized as
"levels" that describe its closeness and accessibility to the
microprocessor:
 Level 1 (L1) cache is extremely fast but relatively small, and is
usually embedded in the processor chip (CPU).
 Level 2 (L2) cache is often more capacious than L1; it may be located
on the CPU or on a separate chip or coprocessor with a high-speed
alternative system bus interconnecting the cache to the CPU, so as not
to be slowed by traffic on the main system bus.
 Level 3 (L3) cache is typically specialized memory that works to
improve the performance of L1 and L2. It can be significantly slower
than L1 or L2, but is usually double the speed of RAM. In the case of
multicore processors, each core may have its own dedicated L1 and
L2 cache, but share a common L3 cache.
Cache Memory Level
 There are instances when a job claims CPU for a very long
time before issuing an I/O request.
 builds up READY queue & empties I/O queues.
 Creates an unacceptable imbalance in the system.
 Process Scheduler uses a timing mechanism to periodically
interrupts running processes when a predetermined slice of
time has expired.
 suspends all activity on the currently running job and
reschedules it into the READY queue.
Interrupts
I/o devices
Device Manager
 The Device Manager is a Control Panel applet in Microsoft
Windows operating systems.
 It allows users to view and control the hardware attached to the
computer.
 When a piece of hardware is not working, the offending
hardware is highlighted for the user to deal with.
 The list of hardware can be sorted by various criteria.
Need of Device Manager
 There are two way of Communication :-
 Serial/Parallel
 Synchronous/Asynchronous
Way of Communication
Serial/parallel
• serial communication is the process of sending data one bit at a time,
sequentially, over a communication channel or computer bus.
• Devices :- Keyboard, Mouse
 When you turn the computer on, the motherboard executes a piece
of code called the BIOS that is stored in a chip on the
motherboard.
 The BIOS knows how to find and communicate with the
keyboard, and you can use the keyboard to configure the
motherboard.
 The operating system will then use routines in the BIOS to get
keystrokes from the keyboard.
 Bios :-BIOS (basic input/output system) is the program a personal
computer's microprocessor uses to get the computer system
started after you turn it on. It also manages data flow between the
computer's operating system and attached devices such as the
hard disk, video adapter, keyboard, mouse and printer.
Working of Key-board
Synchronous/Asynchronous
 Synchronous serial communication describes a serial
communication protocol in which "data is sent in a continuous
stream at a constant rate.
 Synchronous :- Communication Does not Complete until the
message has been received.
 Asynchronous :- Completes as soon as the message is “on its way",
and hopefully it gets to destination.
Synchronous/Asynchronous
Thank You…..

More Related Content

What's hot

Process management in os
Process management in osProcess management in os
Process management in os
Miong Lazaro
 
cpu scheduling by shivam singh
cpu scheduling by shivam singhcpu scheduling by shivam singh
cpu scheduling by shivam singh
shivam71291
 
Operating System 3
Operating System 3Operating System 3
Operating System 3
tech2click
 

What's hot (19)

Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
Real-Time Scheduling
Real-Time SchedulingReal-Time Scheduling
Real-Time Scheduling
 
Process of operating system
Process of operating systemProcess of operating system
Process of operating system
 
Operating System-Concepts of Process
Operating System-Concepts of ProcessOperating System-Concepts of Process
Operating System-Concepts of Process
 
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & DeadlockOperating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
 
Operating Systems 1 (6/12) - Processes
Operating Systems 1 (6/12) - ProcessesOperating Systems 1 (6/12) - Processes
Operating Systems 1 (6/12) - Processes
 
Operating system - Process and its concepts
Operating system - Process and its conceptsOperating system - Process and its concepts
Operating system - Process and its concepts
 
Lecture 2 process
Lecture 2   processLecture 2   process
Lecture 2 process
 
Process management in os
Process management in osProcess management in os
Process management in os
 
水晶礦脈
水晶礦脈水晶礦脈
水晶礦脈
 
CSI-503 - 2. Processor Management
CSI-503 - 2. Processor ManagementCSI-503 - 2. Processor Management
CSI-503 - 2. Processor Management
 
Os unit 3 , process management
Os unit 3 , process managementOs unit 3 , process management
Os unit 3 , process management
 
Lecture 4 process cpu scheduling
Lecture 4   process cpu schedulingLecture 4   process cpu scheduling
Lecture 4 process cpu scheduling
 
cpu scheduling by shivam singh
cpu scheduling by shivam singhcpu scheduling by shivam singh
cpu scheduling by shivam singh
 
Operating System 3
Operating System 3Operating System 3
Operating System 3
 
Lecture 5 process concept
Lecture 5   process conceptLecture 5   process concept
Lecture 5 process concept
 
Process
ProcessProcess
Process
 
Processes and operating systems
Processes and operating systemsProcesses and operating systems
Processes and operating systems
 
RTOS
RTOSRTOS
RTOS
 

Viewers also liked (7)

Processes of management
Processes of managementProcesses of management
Processes of management
 
Processor Management
Processor ManagementProcessor Management
Processor Management
 
Crusoe processor
Crusoe    processorCrusoe    processor
Crusoe processor
 
Operating Systems: Processor Management
Operating Systems: Processor ManagementOperating Systems: Processor Management
Operating Systems: Processor Management
 
Chapter 5 Process Management
Chapter 5 Process ManagementChapter 5 Process Management
Chapter 5 Process Management
 
Process management
Process managementProcess management
Process management
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
 

Similar to Processor management

What is operating system
What is operating systemWhat is operating system
What is operating system
Suvithak
 
Operating system
Operating systemOperating system
Operating system
mak120
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
sphs
 
Chapter 1 - Introduction
Chapter 1 - IntroductionChapter 1 - Introduction
Chapter 1 - Introduction
Wayne Jones Jnr
 
Operating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chaptersOperating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chapters
sphs
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyems
JyoReddy9
 

Similar to Processor management (20)

What is operating system
What is operating systemWhat is operating system
What is operating system
 
Parallel Processing.pptx
Parallel Processing.pptxParallel Processing.pptx
Parallel Processing.pptx
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTES
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
Chapter01 os7e
Chapter01 os7eChapter01 os7e
Chapter01 os7e
 
Operating system
Operating systemOperating system
Operating system
 
OS - Ch1
OS - Ch1OS - Ch1
OS - Ch1
 
Chapter 1 - Introduction
Chapter 1 - IntroductionChapter 1 - Introduction
Chapter 1 - Introduction
 
Operating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chaptersOperating systems. replace ch1 with numbers for next chapters
Operating systems. replace ch1 with numbers for next chapters
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating System
 
Ch1
Ch1Ch1
Ch1
 
operating system over view.ppt operating sysyems
operating system over view.ppt operating sysyemsoperating system over view.ppt operating sysyems
operating system over view.ppt operating sysyems
 
1 introduction
1 introduction1 introduction
1 introduction
 
OS ppt.pdf
OS ppt.pdfOS ppt.pdf
OS ppt.pdf
 
Advanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.pptAdvanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.ppt
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTES
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course Introduction
 
UNIT 5- UNDERSTANDING THE SYSTEM DESIGN PROCESS.pptx
UNIT 5- UNDERSTANDING THE SYSTEM DESIGN PROCESS.pptxUNIT 5- UNDERSTANDING THE SYSTEM DESIGN PROCESS.pptx
UNIT 5- UNDERSTANDING THE SYSTEM DESIGN PROCESS.pptx
 
Spr ch-01
Spr ch-01Spr ch-01
Spr ch-01
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

Processor management

  • 1. {Prepared By : Devang Vyas(14501002) Processor Management And Device Manager
  • 2. Index Sr. No Contents 1) Introduction 2) Job Scheduling VS Process Scheduling 3) Process Scheduling Algorithms 4) Cache Memory 5) Interrupts 6) List of I/O devices 7) Need of device manager 8) Way of communication 9) Serial /parallel 10) Synchronous/asynchronous
  • 3. Processor Manager Job Scheduling Process Scheduling Interrupt Management
  • 4.  Process Manager performs job scheduling, process scheduling and interrupt management .  In single-user systems, processor is busy only when user is executing a job—at all other times it is idle.  Processor management is simple.  In multiprogramming environment, processor must be allocated to each job in a fair and efficient manner.  Requires scheduling policy and a scheduling algorithm How Does Processor Manager Allocate CPU(s) to Jobs?
  • 5.  Processor Manager has 2 sub-managers: 1. Job Scheduler :-  in charge of job scheduling. 2. Process Scheduler :-  in charge of process scheduling. Job Scheduling vs. Process Scheduling
  • 6.  Selects jobs from a queue of incoming jobs.  Places them in process queue (batch or interactive), based on each job’s characteristics.  Goal is to put jobs in a sequence that uses all system’s resources as fully as possible.  Strives for balanced mix of jobs with large I/O interaction and jobs with lots of computation.  Tries to keep most system components busy most of time. Job Scheduler
  • 7.  Low-level scheduler – assigns the CPU to execute processes of those jobs placed on ready queue by Job Scheduler.  After a job has been placed on the READY queue by Job Scheduler, Process Scheduler that takes over.  Determines which jobs will get CPU, when, and for how long.  Decides when processing should be interrupted.  Determines queues job should be moved to during execution.  Recognizes when a job has concluded and should be terminated. Process Scheduler
  • 8.  First Come First Served (FCFS)  Shortest Job Next (SJN)  Priority Scheduling  Shortest Remaining Time (SRT)  Round Robin  Multiple Level Queues Process Scheduling Algorithms
  • 9. Cache Memory  Cache memory -- quickly accessible memory that’s designed to alleviate speed differences between a very fast CPU and slower main memory.  Stores copy of frequently used data in an easily accessible memory area instead of main memory.  This memory is typically integrated directly with the CPU chip or placed on a separate chip that has a separate bus interconnect with the CPU.
  • 10.  Cache memory is fast and expensive. Traditionally, it is categorized as "levels" that describe its closeness and accessibility to the microprocessor:  Level 1 (L1) cache is extremely fast but relatively small, and is usually embedded in the processor chip (CPU).  Level 2 (L2) cache is often more capacious than L1; it may be located on the CPU or on a separate chip or coprocessor with a high-speed alternative system bus interconnecting the cache to the CPU, so as not to be slowed by traffic on the main system bus.  Level 3 (L3) cache is typically specialized memory that works to improve the performance of L1 and L2. It can be significantly slower than L1 or L2, but is usually double the speed of RAM. In the case of multicore processors, each core may have its own dedicated L1 and L2 cache, but share a common L3 cache. Cache Memory Level
  • 11.  There are instances when a job claims CPU for a very long time before issuing an I/O request.  builds up READY queue & empties I/O queues.  Creates an unacceptable imbalance in the system.  Process Scheduler uses a timing mechanism to periodically interrupts running processes when a predetermined slice of time has expired.  suspends all activity on the currently running job and reschedules it into the READY queue. Interrupts
  • 14.  The Device Manager is a Control Panel applet in Microsoft Windows operating systems.  It allows users to view and control the hardware attached to the computer.  When a piece of hardware is not working, the offending hardware is highlighted for the user to deal with.  The list of hardware can be sorted by various criteria. Need of Device Manager
  • 15.  There are two way of Communication :-  Serial/Parallel  Synchronous/Asynchronous Way of Communication
  • 16. Serial/parallel • serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. • Devices :- Keyboard, Mouse
  • 17.  When you turn the computer on, the motherboard executes a piece of code called the BIOS that is stored in a chip on the motherboard.  The BIOS knows how to find and communicate with the keyboard, and you can use the keyboard to configure the motherboard.  The operating system will then use routines in the BIOS to get keystrokes from the keyboard.  Bios :-BIOS (basic input/output system) is the program a personal computer's microprocessor uses to get the computer system started after you turn it on. It also manages data flow between the computer's operating system and attached devices such as the hard disk, video adapter, keyboard, mouse and printer. Working of Key-board
  • 19.  Synchronous serial communication describes a serial communication protocol in which "data is sent in a continuous stream at a constant rate.  Synchronous :- Communication Does not Complete until the message has been received.  Asynchronous :- Completes as soon as the message is “on its way", and hopefully it gets to destination. Synchronous/Asynchronous