2
Most read
6
Most read
13
Most read
SCHEDULING
POLICIES
B.Sc.IT
325
ANKIT SURATI
TYPES OF SCHEDULER
1.LONG-TERM SCHEDULER:
DETERMINE WHICH JOBS ARE ADMITTED TO THE
SYSTEM FOR PROCESSING.
2.MEDIUM-TERM SCHEDULER:
WHEN TO MANY PROCESSOR ARE COMPETING
FOR MEMORY,DETERMINES WHICH GETS IN/OUT.
3.SHORT –TERM SCHEDULER:
DETERMINES WHICH PROCESS IN MEMORY
GOES NEXT.
SCHEDULING PERFORMANCE
• TURN AROUND TIME:
Time process present in system
• WAITING TIME:
Time process present and not running
• RESPONSE RATIO:
Factor by which processing rate reduces
• TURN AROUND TIME:
T=[finish time]-[arrival time]
• WAITING TIME:
W=T-[service time]
• RESPONSE RATIO:
R= T/(service time)
Decision Mode
• NON-PREEMPTIVE:
A PROCESS RUNS UNTIL ITS BOLCK ARE COMPLETES
(runs until no longer ready)
• PREEMPTIVE:
OS CAN INTERRUPT CURRENTLY RUNNING PROCESS
TO START ANOTHER ONE
FIRST-COME, FIRST-SERVED
• Criteria:
BT-AT
Where BT=burst time
AT=arival time
• Mode:non-preemptive
• Scheduling criteria:
Jobs are excuted on first cum first serve
basis
• Advantage:
Easy to understand and implement.
• Disadvantage:
Poor in performance as average wait time is
high.
• Example:
Pno Burst time
P1 24
P2 3
P3 3
Result: p1 p2 p3
SHORTEST JOB FIRST
• Mode:non-preemptive
• Scheduling criteria:
It is assigned to the process that has
smallest next cpu
burst.
• Disadvantage:
SJF is non-preemptive like FCFS, therefore
not useful in time sharing environment.
• Example:
Pno BT
P1 6
P2 8
P3 7
P4 3
Result: p4 p1 p3 p2
0 3 9 16 24
SHORTEST REMAINIG TIME FIRST
• Mode:pre-emptive
• Scheduling criteria:
The process which is having shortesr
remaining time is excuted first and completed.
• Advantage:
Short process are handled quickly
• Disadvantage:
Estimation of remaining t UK me is not easy.
• Example: pno AT BT
1 0 7
2 1 6
3 2 3
4 3 1
5 4 2
6 5 1
Result:
p1 p1 p3 p4 p3 p3 p6 p5 p1
p2
0 1 2 3 4 5 6 7 9 14
Highest Response Ratio
• Highest Response Ratio Next(HRRN)
Decision mode:non-preemptive
Arbitration rule: schedules job having highest
response ratio and runs until completion.
Priority function:p(a,r,t)=
= (burst time+waiting time)
_________________________
burst time
*Advantages:
– It is better than SRTF & SJF
*Disadvantages:
– Caculation of response ratio
*Example: Pno AT BT
1 0 3
2 2 6
3 4 4
4 6 5
5 8 2
Result: p1 p2 p3 p5 p4
0 3 9 13 15 20
ROUND ROBIN
• Criteria: AT+TQ
where AT=arival time
TQ=time quantum
• Mode: pre-emptive
• Scheduling criteria:
It schedules job as per AT (takes from front of
queue) & executes till TQ is completed (then
puts back to request queue) or time is over.
Thank you

More Related Content

PPTX
Register Transfer Language,Bus and Memory Transfer
PPT
Memory Reference instruction
PDF
Data and signals
PPTX
Memory hierarchy unit 2 by ram k paliwal
PPTX
Input output interface
PPTX
Multiplication algorithm
PDF
Arithmetic and logic unit
PPTX
Register Organisation of 8086 Microprocessor
Register Transfer Language,Bus and Memory Transfer
Memory Reference instruction
Data and signals
Memory hierarchy unit 2 by ram k paliwal
Input output interface
Multiplication algorithm
Arithmetic and logic unit
Register Organisation of 8086 Microprocessor

What's hot (20)

PPTX
Timing and control unit
PDF
Unit III ARM Interface and ARM Programming
PPTX
Bcd adder
PPTX
CS304PC:Computer Organization and Architecture Session 32 Interprocessors co...
PPTX
Basic Computer Organization and Design
PPT
Chapter 5
PPTX
Direct Memory Access
PPTX
funnel shifter
PPT
Chapter 14
PPTX
04 digital transmission
PPTX
PCI BUS
PPT
Chapter 12
DOCX
Bezier Curve in Computer Graphics.docx
PPT
11 instruction sets addressing modes
PPT
Forouzan _ Multiple access protocols.ppt
PDF
Stability Analysis in Time Domain using Routh - Hurwitz Criterion
PDF
computer organization.pdf
PDF
Instruction code
Timing and control unit
Unit III ARM Interface and ARM Programming
Bcd adder
CS304PC:Computer Organization and Architecture Session 32 Interprocessors co...
Basic Computer Organization and Design
Chapter 5
Direct Memory Access
funnel shifter
Chapter 14
04 digital transmission
PCI BUS
Chapter 12
Bezier Curve in Computer Graphics.docx
11 instruction sets addressing modes
Forouzan _ Multiple access protocols.ppt
Stability Analysis in Time Domain using Routh - Hurwitz Criterion
computer organization.pdf
Instruction code
Ad

Viewers also liked (19)

PPTX
Introduction to Scheduling
PPT
Process management
PDF
cpu scheduling by shivam singh
PPT
Mca ii os u-2 process management & communication
PPTX
Introduction to supply chain management
PPTX
Circus Conservatory of America Library Presentation
PPT
Soft skill persentasi 1
PPT
The growth of the sustainability agenda and the role of facilities management
DOCX
Resume edited
PPTX
Launch of Sealed Air's Intellibot (Robotic Cleaning Technology)
PDF
aviva_newsletter_may_2015_web
DOC
LIST OF PUBLICATIONS
DOCX
Library of the Circus Conservatory of America Collection Development Policy
PPT
Ad projects
DOCX
How Academic Libraries Utilize Facebook as a Promotional Tool: White Paper
DOCX
Instructional Design Plan
PDF
Punto, linea y plano
DOCX
PPTX
Gun control fact pack july 4, 2015
Introduction to Scheduling
Process management
cpu scheduling by shivam singh
Mca ii os u-2 process management & communication
Introduction to supply chain management
Circus Conservatory of America Library Presentation
Soft skill persentasi 1
The growth of the sustainability agenda and the role of facilities management
Resume edited
Launch of Sealed Air's Intellibot (Robotic Cleaning Technology)
aviva_newsletter_may_2015_web
LIST OF PUBLICATIONS
Library of the Circus Conservatory of America Collection Development Policy
Ad projects
How Academic Libraries Utilize Facebook as a Promotional Tool: White Paper
Instructional Design Plan
Punto, linea y plano
Gun control fact pack july 4, 2015
Ad

Similar to OPERATING SYSTEM-"Scheduling policies" (20)

PPTX
operating system scheduling concept lec2
PPTX
3Chapter Three- CPU Scheduling this is the best.pptx
PPT
operating system Scheduling process unit 3.ppt
PPT
ch_scheduling (1).ppt
PPT
OS-operating systems- ch05 (CPU Scheduling) ...
PPT
scheduling Uni processor Long-term .ppt
PPTX
Chapter 3 - Operating System Scheduling.pptx
PPTX
CPU Scheduling
PPTX
programming .pptx
PPTX
Operating Systems CPU Scheduling and its Algorithms
PDF
Cpu Schedule Algorithm
PPTX
CPU scheduling algorithms in OS
PPT
Ch05 cpu-scheduling
PDF
OS Process Chapter 3.pdf
PPTX
cpu-scheduling presentation for IT/CS.pptx
PPTX
Cpu scheduling
PPTX
CPU Scheduling.pptx this is operating system
PPTX
Operating system
PDF
Lecture 3 CPU scheduling_2.pdflllllllllll
operating system scheduling concept lec2
3Chapter Three- CPU Scheduling this is the best.pptx
operating system Scheduling process unit 3.ppt
ch_scheduling (1).ppt
OS-operating systems- ch05 (CPU Scheduling) ...
scheduling Uni processor Long-term .ppt
Chapter 3 - Operating System Scheduling.pptx
CPU Scheduling
programming .pptx
Operating Systems CPU Scheduling and its Algorithms
Cpu Schedule Algorithm
CPU scheduling algorithms in OS
Ch05 cpu-scheduling
OS Process Chapter 3.pdf
cpu-scheduling presentation for IT/CS.pptx
Cpu scheduling
CPU Scheduling.pptx this is operating system
Operating system
Lecture 3 CPU scheduling_2.pdflllllllllll

Recently uploaded (20)

PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PPTX
Microsoft User Copilot Training Slide Deck
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PPTX
Configure Apache Mutual Authentication
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Statistics on Ai - sourced from AIPRM.pdf
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
DOCX
search engine optimization ppt fir known well about this
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Microsoft User Copilot Training Slide Deck
sbt 2.0: go big (Scala Days 2025 edition)
Configure Apache Mutual Authentication
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Statistics on Ai - sourced from AIPRM.pdf
The influence of sentiment analysis in enhancing early warning system model f...
Comparative analysis of machine learning models for fake news detection in so...
Advancing precision in air quality forecasting through machine learning integ...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Lung cancer patients survival prediction using outlier detection and optimize...
search engine optimization ppt fir known well about this
Convolutional neural network based encoder-decoder for efficient real-time ob...
4 layer Arch & Reference Arch of IoT.pdf
Early detection and classification of bone marrow changes in lumbar vertebrae...
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf

OPERATING SYSTEM-"Scheduling policies"

  • 2. TYPES OF SCHEDULER 1.LONG-TERM SCHEDULER: DETERMINE WHICH JOBS ARE ADMITTED TO THE SYSTEM FOR PROCESSING. 2.MEDIUM-TERM SCHEDULER: WHEN TO MANY PROCESSOR ARE COMPETING FOR MEMORY,DETERMINES WHICH GETS IN/OUT. 3.SHORT –TERM SCHEDULER: DETERMINES WHICH PROCESS IN MEMORY GOES NEXT.
  • 3. SCHEDULING PERFORMANCE • TURN AROUND TIME: Time process present in system • WAITING TIME: Time process present and not running • RESPONSE RATIO: Factor by which processing rate reduces
  • 4. • TURN AROUND TIME: T=[finish time]-[arrival time] • WAITING TIME: W=T-[service time] • RESPONSE RATIO: R= T/(service time)
  • 5. Decision Mode • NON-PREEMPTIVE: A PROCESS RUNS UNTIL ITS BOLCK ARE COMPLETES (runs until no longer ready) • PREEMPTIVE: OS CAN INTERRUPT CURRENTLY RUNNING PROCESS TO START ANOTHER ONE
  • 6. FIRST-COME, FIRST-SERVED • Criteria: BT-AT Where BT=burst time AT=arival time • Mode:non-preemptive • Scheduling criteria: Jobs are excuted on first cum first serve basis
  • 7. • Advantage: Easy to understand and implement. • Disadvantage: Poor in performance as average wait time is high. • Example: Pno Burst time P1 24 P2 3 P3 3 Result: p1 p2 p3
  • 8. SHORTEST JOB FIRST • Mode:non-preemptive • Scheduling criteria: It is assigned to the process that has smallest next cpu burst. • Disadvantage: SJF is non-preemptive like FCFS, therefore not useful in time sharing environment.
  • 9. • Example: Pno BT P1 6 P2 8 P3 7 P4 3 Result: p4 p1 p3 p2 0 3 9 16 24
  • 10. SHORTEST REMAINIG TIME FIRST • Mode:pre-emptive • Scheduling criteria: The process which is having shortesr remaining time is excuted first and completed. • Advantage: Short process are handled quickly • Disadvantage: Estimation of remaining t UK me is not easy.
  • 11. • Example: pno AT BT 1 0 7 2 1 6 3 2 3 4 3 1 5 4 2 6 5 1 Result: p1 p1 p3 p4 p3 p3 p6 p5 p1 p2 0 1 2 3 4 5 6 7 9 14
  • 12. Highest Response Ratio • Highest Response Ratio Next(HRRN) Decision mode:non-preemptive Arbitration rule: schedules job having highest response ratio and runs until completion. Priority function:p(a,r,t)= = (burst time+waiting time) _________________________ burst time
  • 13. *Advantages: – It is better than SRTF & SJF *Disadvantages: – Caculation of response ratio *Example: Pno AT BT 1 0 3 2 2 6 3 4 4 4 6 5 5 8 2 Result: p1 p2 p3 p5 p4 0 3 9 13 15 20
  • 14. ROUND ROBIN • Criteria: AT+TQ where AT=arival time TQ=time quantum • Mode: pre-emptive • Scheduling criteria: It schedules job as per AT (takes from front of queue) & executes till TQ is completed (then puts back to request queue) or time is over.