SlideShare uma empresa Scribd logo
1 de 15
OPERATING SYSTEM
PRESENTATION ON CPU SCHEDULING ALGORITHMS IN OPERATING
SYSTEM
SUBMITTED TO : SUBMITTED BY:
MR. AKHAND PRATAP SINGH DEVANSHI CHOWDHARY
B.TECH ( CSE 3RD SEMESTER )
TABLE OF CONTENTS :
 Introduction
 Process states
 CPU scheduling criteria
 First come first serve
 Shortest job first
 Priority scheduling
 Round robin scheduling algorithm
 Analysis and results
INTRODUCTION :
The CPU scheduling is used to improve its efficiency .
It is used to allocate resources among competing processes .
Maximum CPU utilization is obtained with multi-programming .
 The processes which are to be executed are in ready queue .
 Every time the running process is blocked , the process in the
ready queue takes over the CPU .
A process may be :-
 I/0 BOUND : Involves more I/O operations . Example : reading from
disk.
 CPU BOUND : Involves more computation . Example : calculating
the sum of 2 numbers from the memory.
PROCESS STATES :
• The 3 states of the process are : ready , running and wait states .
• CPU scheduling is affected by the following set of circumstances :
a) A process switches from running to waiting state .
b) A process switches from running to ready state .
c) A process switches from waiting to ready state .
d) A process switches from running to terminated state .
CPU SCHEDULING CRITERIA :
CPU Utilization : Percent of time that the CPU is busy
executing a process .
Throughput : Number of processes executed per unit time .
Turnaround Time : The interval of time between submission
of process and its completion .
Waiting Time : The amount of time , the process spends in
the ready queue waiting for the CPU .
Response Time : The time between submission of requests
and first response to the request .
FIRST COME FIRST SERVE ( FCFS ) :
• The process which enters the queue first is
executed first .
• It is non – premptive .
FCFS :
• Advantages :
It is simple and easy to understand .
• Disadvantages :
The process with less execution time , suffers .
Favours CPU bound process then i/o bound process .
SHORTEST JOB FIRST ( SJF ) :
• The process with the lowest execution time is
executed first .
• It can be either premptive or non – premptive .
SJF :
• Advantages :
Shortest jobs are favoured .
• Disadvantages :
When there are more number of shorter jobs , longer
jobs starve .
PRIORITY SCHEDULING ( PS ) :
• Each process is associated with priority and the CPU is
allocated to each of them based on their priority .
• Multi process with same priority are dealt using FCFS .
PS :
• Advantages :
Priority scheduling provides a good mechanism where the relative
importance of each process may be precisely defined .
• Disadvantages :
If high priority processes use up a lot of CPU time , lower priority processes
may starve and may postponed indefinitely .
The situation where a process never gets scheduled to run is called
starvation .
Another problem with priority scheduling is deciding which process gets
which priority level assigned to it .
ROUND ROBIN ( RR ):
• Each process is allocated a time slot ( q ) . After this time has
elapsed , the process is prempted and added to the end of the
ready queue .
• Performance of the round – robin algorithm :
q is large -> FCFS
q is small -> q must be greater than the context switch time ;
otherwise , the overhead is too high .
RR :
• Advantages :
Round robin scheduling is fair in that every process gets an
equal share of the CPU .
• Disadvantages :
Setting the quantum too short , increases the overhead and
lowers the CPU efficiency , but setting it too long may cause
poor response to short processes .
ANALYSIS AND RESULT :
• Comparing the average turnaround time and waiting time , the
algorithms are ranked as SJF , FCFS , PS .
• Based on average CPU utilization , the algorithms are ranked as
FCFS , PS , SJF .
• In terms of execution speed , FCFS was found to be consistently
faster than PS and SJF .
Thus according to performance measure , the corresponding
scheduling algorithm is recommended to the CPU .
THANKYOU

Mais conteúdo relacionado

Mais procurados

SCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSSCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSMargrat C R
 
shortest job first
shortest job firstshortest job first
shortest job firsti i
 
Cpu scheduling algorithms simulation using java
Cpu scheduling algorithms simulation using javaCpu scheduling algorithms simulation using java
Cpu scheduling algorithms simulation using javajsivasrinivas
 
First Come First Serve
First Come First ServeFirst Come First Serve
First Come First ServeEdwin Makeu
 
Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)ritu98
 
Operating system
Operating systemOperating system
Operating systemLovly Angel
 
Process scheduling algorithms
Process scheduling algorithmsProcess scheduling algorithms
Process scheduling algorithmsShubham Sharma
 
CPU Scheduling algorithms
CPU Scheduling algorithmsCPU Scheduling algorithms
CPU Scheduling algorithmsShanu Kumar
 
Comparision of scheduling algorithms
Comparision of scheduling algorithmsComparision of scheduling algorithms
Comparision of scheduling algorithmsTanya Makkar
 
Operating Systems Process Scheduling Algorithms
Operating Systems   Process Scheduling AlgorithmsOperating Systems   Process Scheduling Algorithms
Operating Systems Process Scheduling Algorithmssathish sak
 
17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria 17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria myrajendra
 
first come first serve scheduling in os
first come first serve scheduling in os first come first serve scheduling in os
first come first serve scheduling in os mikeemukesh
 
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.Shreya Kumar
 

Mais procurados (20)

SCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSSCHEDULING ALGORITHMS
SCHEDULING ALGORITHMS
 
shortest job first
shortest job firstshortest job first
shortest job first
 
Cpu scheduling algorithms simulation using java
Cpu scheduling algorithms simulation using javaCpu scheduling algorithms simulation using java
Cpu scheduling algorithms simulation using java
 
First Come First Serve
First Come First ServeFirst Come First Serve
First Come First Serve
 
Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)Shortest job first Scheduling (SJF)
Shortest job first Scheduling (SJF)
 
SCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSSCHEDULING ALGORITHMS
SCHEDULING ALGORITHMS
 
Operating system
Operating systemOperating system
Operating system
 
Sa by shekhar
Sa by shekharSa by shekhar
Sa by shekhar
 
Process scheduling algorithms
Process scheduling algorithmsProcess scheduling algorithms
Process scheduling algorithms
 
CPU Scheduling algorithms
CPU Scheduling algorithmsCPU Scheduling algorithms
CPU Scheduling algorithms
 
Comparision of scheduling algorithms
Comparision of scheduling algorithmsComparision of scheduling algorithms
Comparision of scheduling algorithms
 
Operating Systems Process Scheduling Algorithms
Operating Systems   Process Scheduling AlgorithmsOperating Systems   Process Scheduling Algorithms
Operating Systems Process Scheduling Algorithms
 
cpu scheduling OS
 cpu scheduling OS cpu scheduling OS
cpu scheduling OS
 
17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria 17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria
 
first come first serve scheduling in os
first come first serve scheduling in os first come first serve scheduling in os
first come first serve scheduling in os
 
Process Scheduling
Process SchedulingProcess Scheduling
Process Scheduling
 
Lecture 4 process cpu scheduling
Lecture 4   process cpu schedulingLecture 4   process cpu scheduling
Lecture 4 process cpu scheduling
 
CPU Scheduling Algorithms
CPU Scheduling AlgorithmsCPU Scheduling Algorithms
CPU Scheduling Algorithms
 
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.
 
9 cm402.19
9 cm402.199 cm402.19
9 cm402.19
 

Semelhante a Operating system

Semelhante a Operating system (20)

Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
 
CPU scheduling algorithms in OS
CPU scheduling algorithms in OSCPU scheduling algorithms in OS
CPU scheduling algorithms in OS
 
Cpu Schedule Algorithm
Cpu Schedule AlgorithmCpu Schedule Algorithm
Cpu Schedule Algorithm
 
UNIPROCESS SCHEDULING.pptx
UNIPROCESS SCHEDULING.pptxUNIPROCESS SCHEDULING.pptx
UNIPROCESS SCHEDULING.pptx
 
May14ProcessScheduling.ppt
May14ProcessScheduling.pptMay14ProcessScheduling.ppt
May14ProcessScheduling.ppt
 
pscheduling.ppt
pscheduling.pptpscheduling.ppt
pscheduling.ppt
 
Scheduling algo(by HJ)
Scheduling algo(by HJ)Scheduling algo(by HJ)
Scheduling algo(by HJ)
 
Cpu scheduling
Cpu schedulingCpu scheduling
Cpu scheduling
 
Osy ppt - Copy.pptx
Osy ppt - Copy.pptxOsy ppt - Copy.pptx
Osy ppt - Copy.pptx
 
ch_scheduling (1).ppt
ch_scheduling (1).pptch_scheduling (1).ppt
ch_scheduling (1).ppt
 
Ch05 cpu-scheduling
Ch05 cpu-schedulingCh05 cpu-scheduling
Ch05 cpu-scheduling
 
chapter 5 CPU scheduling.ppt
chapter  5 CPU scheduling.pptchapter  5 CPU scheduling.ppt
chapter 5 CPU scheduling.ppt
 
Section05 scheduling
Section05 schedulingSection05 scheduling
Section05 scheduling
 
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
 
operating system (1).pdf
operating system (1).pdfoperating system (1).pdf
operating system (1).pdf
 
CPU Scheduling
CPU SchedulingCPU Scheduling
CPU Scheduling
 
exp 3.docx
exp 3.docxexp 3.docx
exp 3.docx
 
cpu scheduling.pdf
cpu scheduling.pdfcpu scheduling.pdf
cpu scheduling.pdf
 
Scheduling
SchedulingScheduling
Scheduling
 
CPU Scheduling Algorithms
CPU Scheduling AlgorithmsCPU Scheduling Algorithms
CPU Scheduling Algorithms
 

Último

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTSneha Padhiar
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdfAkritiPradhan2
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodManicka Mamallan Andavar
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书rnrncn29
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfNainaShrivastava14
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 

Último (20)

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument method
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 

Operating system

  • 1. OPERATING SYSTEM PRESENTATION ON CPU SCHEDULING ALGORITHMS IN OPERATING SYSTEM SUBMITTED TO : SUBMITTED BY: MR. AKHAND PRATAP SINGH DEVANSHI CHOWDHARY B.TECH ( CSE 3RD SEMESTER )
  • 2. TABLE OF CONTENTS :  Introduction  Process states  CPU scheduling criteria  First come first serve  Shortest job first  Priority scheduling  Round robin scheduling algorithm  Analysis and results
  • 3. INTRODUCTION : The CPU scheduling is used to improve its efficiency . It is used to allocate resources among competing processes . Maximum CPU utilization is obtained with multi-programming .  The processes which are to be executed are in ready queue .  Every time the running process is blocked , the process in the ready queue takes over the CPU . A process may be :-  I/0 BOUND : Involves more I/O operations . Example : reading from disk.  CPU BOUND : Involves more computation . Example : calculating the sum of 2 numbers from the memory.
  • 4. PROCESS STATES : • The 3 states of the process are : ready , running and wait states . • CPU scheduling is affected by the following set of circumstances : a) A process switches from running to waiting state . b) A process switches from running to ready state . c) A process switches from waiting to ready state . d) A process switches from running to terminated state .
  • 5. CPU SCHEDULING CRITERIA : CPU Utilization : Percent of time that the CPU is busy executing a process . Throughput : Number of processes executed per unit time . Turnaround Time : The interval of time between submission of process and its completion . Waiting Time : The amount of time , the process spends in the ready queue waiting for the CPU . Response Time : The time between submission of requests and first response to the request .
  • 6. FIRST COME FIRST SERVE ( FCFS ) : • The process which enters the queue first is executed first . • It is non – premptive .
  • 7. FCFS : • Advantages : It is simple and easy to understand . • Disadvantages : The process with less execution time , suffers . Favours CPU bound process then i/o bound process .
  • 8. SHORTEST JOB FIRST ( SJF ) : • The process with the lowest execution time is executed first . • It can be either premptive or non – premptive .
  • 9. SJF : • Advantages : Shortest jobs are favoured . • Disadvantages : When there are more number of shorter jobs , longer jobs starve .
  • 10. PRIORITY SCHEDULING ( PS ) : • Each process is associated with priority and the CPU is allocated to each of them based on their priority . • Multi process with same priority are dealt using FCFS .
  • 11. PS : • Advantages : Priority scheduling provides a good mechanism where the relative importance of each process may be precisely defined . • Disadvantages : If high priority processes use up a lot of CPU time , lower priority processes may starve and may postponed indefinitely . The situation where a process never gets scheduled to run is called starvation . Another problem with priority scheduling is deciding which process gets which priority level assigned to it .
  • 12. ROUND ROBIN ( RR ): • Each process is allocated a time slot ( q ) . After this time has elapsed , the process is prempted and added to the end of the ready queue . • Performance of the round – robin algorithm : q is large -> FCFS q is small -> q must be greater than the context switch time ; otherwise , the overhead is too high .
  • 13. RR : • Advantages : Round robin scheduling is fair in that every process gets an equal share of the CPU . • Disadvantages : Setting the quantum too short , increases the overhead and lowers the CPU efficiency , but setting it too long may cause poor response to short processes .
  • 14. ANALYSIS AND RESULT : • Comparing the average turnaround time and waiting time , the algorithms are ranked as SJF , FCFS , PS . • Based on average CPU utilization , the algorithms are ranked as FCFS , PS , SJF . • In terms of execution speed , FCFS was found to be consistently faster than PS and SJF . Thus according to performance measure , the corresponding scheduling algorithm is recommended to the CPU .