SlideShare a Scribd company logo
1 of 16
Presented by
Sub :- Operating Systems
Topic:-Process Schedulers
Respectected:-
Dr Huma javed UOP
• Scheduling definition
• Scheduling objectives
• Types of schedulers
• Different scheduling Algorithems
Content
Scheduling is a process which allows one process to
use the CPU while the execution of another process
is on hold due to unavailability of any resources.
It is a technique that is used when there are limited
resources and many process are competing for
them.
It’s aim is to make system efficient , fast and fair .
Scheduling
CPU
Utilization
• Computer usage of memory and processing
resources or amount of work handle by a CPU
Throughput
• It is the total number of process completed per unit
time.
Efficiency
• scheduler should keep the system busy whole time, if CPU and
all i/o devices can be kept running all the time more work can be done per
second.
Criteria for best scheduling algorithm
When a new process is created ,
a decision needs to be made
whether to run the
parent process or child process.
A scheduling decision must be
made when a process exits
When I/O interrupt occurs , a
scheduling decision may be
made.
Scheduling Objectives
Make the system fast
Increasing response
time
Increasing the output
Give better service to
processes
Maximize throughput
Main objective of scheduling !!!
If only one CPU is available , a choice has to
be made which process to run next.
The part of the operating system that makes
the choice is called the scheduler
Scheduler
Long term
scheduler
Short term
scheduler
Medium term
scheduler
Types of schedulers
It is also called job scheduler.
It determine which program are admitted to a
system for processing .
It selects process from queue and loads them
in to memory for execution .
When process changes the state from new to
ready, then there is use of long term scheduler.
Long term schedulers
It is also called CPU scheduler.
It is also called dispatchers.
Main objective is increasing system performance in accordance with
the chosen set of criteria .
CPU scheduler selects process among the processes that are ready to
execute and allocates CPU to one of them .
Faster than long term schedulers .
A dispatcher does the following:
 Switching context.
 Switching to user mode.
 Jumping to the proper location in the newly loaded program.
Short term schedulers
It is the part of swapping .
It removes the processes from memory .
A running process may become suspended if it
does not get I/O resource needed.
In this condition the process is move to the
secondary storage until it gets the resources.
It is the part of time sharing operating system.
Medium term schedulers
First Come
First Serve
(FCFS)
Shortest
Job First
(SJF)
Longest Job
First (LJF):
Round
Robin
Scheduling
Priority
Based
scheduling
From this topic we learn how the scheduler
works, and how scheduler allows one
process to use the CPU while the execution
of another process is on hold due to
unavailability of any resources .
Schudling os presentaion
Schudling os presentaion

More Related Content

What's hot

Srt algorithm
Srt algorithmSrt algorithm
Srt algorithm
dianne10
 
Process concept
Process conceptProcess concept
Process concept
jangezkhan
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
Nagarajan
 

What's hot (19)

Process state in OS
Process state in OSProcess state in OS
Process state in OS
 
OS Chapter03
OS Chapter03OS Chapter03
OS Chapter03
 
The Functions of the Operating System
The Functions of the Operating SystemThe Functions of the Operating System
The Functions of the Operating System
 
The Functions of the Operating System
The Functions of the Operating SystemThe Functions of the Operating System
The Functions of the Operating System
 
Process management1
Process management1Process management1
Process management1
 
Srt algorithm
Srt algorithmSrt algorithm
Srt algorithm
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
Process concept
Process conceptProcess concept
Process concept
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
 
CSI-503 - 13. Scheduler and Dispatcher
CSI-503 - 13. Scheduler and Dispatcher CSI-503 - 13. Scheduler and Dispatcher
CSI-503 - 13. Scheduler and Dispatcher
 
Process concept
Process conceptProcess concept
Process concept
 
Lecture 7 cpu scheduling
Lecture 7   cpu schedulingLecture 7   cpu scheduling
Lecture 7 cpu scheduling
 
Scheduling Algorithm
Scheduling AlgorithmScheduling Algorithm
Scheduling Algorithm
 
PROCESS SCHEDULER
PROCESS SCHEDULERPROCESS SCHEDULER
PROCESS SCHEDULER
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
CSI-503 - 3. Process Scheduling
CSI-503 - 3. Process SchedulingCSI-503 - 3. Process Scheduling
CSI-503 - 3. Process Scheduling
 
CSI-503 - 9. Virtual Memory
CSI-503 - 9. Virtual MemoryCSI-503 - 9. Virtual Memory
CSI-503 - 9. Virtual Memory
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Os concepts 4 functions of os
Os concepts 4 functions of osOs concepts 4 functions of os
Os concepts 4 functions of os
 

Similar to Schudling os presentaion

Lecture 4 - Process Scheduling (1).pptx
Lecture 4 - Process Scheduling (1).pptxLecture 4 - Process Scheduling (1).pptx
Lecture 4 - Process Scheduling (1).pptx
Amanuelmergia
 
Lecture 4 - Process Scheduling.pptx
Lecture 4 - Process Scheduling.pptxLecture 4 - Process Scheduling.pptx
Lecture 4 - Process Scheduling.pptx
Amanuelmergia
 
CPU Scheduling Criteria CPU Scheduling Criteria (1).pptx
CPU Scheduling Criteria CPU Scheduling Criteria (1).pptxCPU Scheduling Criteria CPU Scheduling Criteria (1).pptx
CPU Scheduling Criteria CPU Scheduling Criteria (1).pptx
TSha7
 

Similar to Schudling os presentaion (20)

Scheduling Definition, objectives and types
Scheduling Definition, objectives and types Scheduling Definition, objectives and types
Scheduling Definition, objectives and types
 
Operating System.pptx
Operating System.pptxOperating System.pptx
Operating System.pptx
 
Lecture 4 process cpu scheduling
Lecture 4   process cpu schedulingLecture 4   process cpu scheduling
Lecture 4 process cpu scheduling
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
Multi-Threading.pptx
Multi-Threading.pptxMulti-Threading.pptx
Multi-Threading.pptx
 
LM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processesLM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processes
 
Lecture 4 - Process Scheduling (1).pptx
Lecture 4 - Process Scheduling (1).pptxLecture 4 - Process Scheduling (1).pptx
Lecture 4 - Process Scheduling (1).pptx
 
Lecture 4 - Process Scheduling.pptx
Lecture 4 - Process Scheduling.pptxLecture 4 - Process Scheduling.pptx
Lecture 4 - Process Scheduling.pptx
 
Process scheduling.pptx
Process scheduling.pptxProcess scheduling.pptx
Process scheduling.pptx
 
Scheduling
SchedulingScheduling
Scheduling
 
PROCESS.pptx
PROCESS.pptxPROCESS.pptx
PROCESS.pptx
 
Process management- This ppt contains all required information regarding oper...
Process management- This ppt contains all required information regarding oper...Process management- This ppt contains all required information regarding oper...
Process management- This ppt contains all required information regarding oper...
 
In computing, scheduling is the action .
In computing, scheduling is the action .In computing, scheduling is the action .
In computing, scheduling is the action .
 
RDos.pptx
RDos.pptxRDos.pptx
RDos.pptx
 
CPU Scheduling Criteria CPU Scheduling Criteria (1).pptx
CPU Scheduling Criteria CPU Scheduling Criteria (1).pptxCPU Scheduling Criteria CPU Scheduling Criteria (1).pptx
CPU Scheduling Criteria CPU Scheduling Criteria (1).pptx
 
UNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdfUNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdf
 
Section05 scheduling
Section05 schedulingSection05 scheduling
Section05 scheduling
 
Os unit 3 , process management
Os unit 3 , process managementOs unit 3 , process management
Os unit 3 , process management
 
Unit 2_OS process management
Unit 2_OS process management Unit 2_OS process management
Unit 2_OS process management
 
Process scheduling in Light weight weight and Heavy weight processes.
Process scheduling in Light weight weight and Heavy weight processes.Process scheduling in Light weight weight and Heavy weight processes.
Process scheduling in Light weight weight and Heavy weight processes.
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Schudling os presentaion

  • 1.
  • 2. Presented by Sub :- Operating Systems Topic:-Process Schedulers Respectected:- Dr Huma javed UOP
  • 3. • Scheduling definition • Scheduling objectives • Types of schedulers • Different scheduling Algorithems Content
  • 4. Scheduling is a process which allows one process to use the CPU while the execution of another process is on hold due to unavailability of any resources. It is a technique that is used when there are limited resources and many process are competing for them. It’s aim is to make system efficient , fast and fair . Scheduling
  • 5. CPU Utilization • Computer usage of memory and processing resources or amount of work handle by a CPU Throughput • It is the total number of process completed per unit time. Efficiency • scheduler should keep the system busy whole time, if CPU and all i/o devices can be kept running all the time more work can be done per second. Criteria for best scheduling algorithm
  • 6. When a new process is created , a decision needs to be made whether to run the parent process or child process. A scheduling decision must be made when a process exits When I/O interrupt occurs , a scheduling decision may be made. Scheduling Objectives
  • 7. Make the system fast Increasing response time Increasing the output Give better service to processes Maximize throughput Main objective of scheduling !!!
  • 8. If only one CPU is available , a choice has to be made which process to run next. The part of the operating system that makes the choice is called the scheduler Scheduler
  • 9. Long term scheduler Short term scheduler Medium term scheduler Types of schedulers
  • 10. It is also called job scheduler. It determine which program are admitted to a system for processing . It selects process from queue and loads them in to memory for execution . When process changes the state from new to ready, then there is use of long term scheduler. Long term schedulers
  • 11. It is also called CPU scheduler. It is also called dispatchers. Main objective is increasing system performance in accordance with the chosen set of criteria . CPU scheduler selects process among the processes that are ready to execute and allocates CPU to one of them . Faster than long term schedulers . A dispatcher does the following:  Switching context.  Switching to user mode.  Jumping to the proper location in the newly loaded program. Short term schedulers
  • 12. It is the part of swapping . It removes the processes from memory . A running process may become suspended if it does not get I/O resource needed. In this condition the process is move to the secondary storage until it gets the resources. It is the part of time sharing operating system. Medium term schedulers
  • 13. First Come First Serve (FCFS) Shortest Job First (SJF) Longest Job First (LJF): Round Robin Scheduling Priority Based scheduling
  • 14. From this topic we learn how the scheduler works, and how scheduler allows one process to use the CPU while the execution of another process is on hold due to unavailability of any resources .