Round Robin Scheduling Algorithm17 Mar 2025 | 3 min read In this tutorial, we are going to learn about the most efficient CPU Process Scheduling Algorithm named Round Robin CPU Process Scheduling. This algorithm is very special because it is going to remove all the Flaws which we have detected in the previous CPU Process Scheduling Algorithms. There is a lot of popularity for this Round Robin CPU Scheduling is because Round Robin works only in Pre Emptive state. This makes it very reliable. Important Abbreviations
Round Robin CPU SchedulingRound Robin CPU Scheduling is the most important CPU Scheduling Algorithm which is ever used in the history of CPU Scheduling Algorithms. Round Robin CPU Scheduling uses Time Quantum (TQ). The Time Quantum is something which is removed from the Burst Time and lets the chunk of process to be completed. Time Sharing is the main emphasis of the algorithm. Each step of this algorithm is carried out cyclically. The system defines a specific time slice, known as a time quantum. First, the processes which are eligible to enter the ready queue enter the ready queue. After entering the first process in Ready Queue is executed for a Time Quantum chunk of time. After execution is complete, the process is removed from the ready queue. Even now the process requires some time to complete its execution, then the process is added to Ready Queue. The Ready Queue does not hold processes which already present in the Ready Queue. The Ready Queue is designed in such a manner that it does not hold non unique processes. By holding same processes Redundancy of the processes increases. After, the process execution is complete, the Ready Queue does not take the completed process for holding. ![]() AdvantagesThe Advantages of Round Robin CPU Scheduling are:
DisadvantagesThe Disadvantages of Round Robin CPU Scheduling are:
Examples: Assume Time Quantum TQ = 5 Ready Queue: Gantt chart: ![]() Average Completion Time Average Waiting Time Average Turn Around Time Next TopicRR scheduling Example |
(OS) There are various algorithms which are used by the Operating System to schedule the processes on the processor in an efficient way. The Purpose of a Scheduling algorithm Maximum CPU utilization Fare allocation of CPU Maximum throughput Minimum turnaround time Minimum waiting time Minimum response time There are the following algorithms which...
2 min read
First Come First Serve CPU Process Scheduling in Operating Systems Algorithms. The important concept name is First Come First Serve. This is the basic algorithm which every student must learn to understand all the basics of CPU Process Scheduling Algorithms. First Come First Serve paves the way...
8 min read
Shortest Job First (SJF) Scheduling Introduction: Till now, we were scheduling the processes according to their arrival time (in FCFS scheduling). However, SJF scheduling algorithm, schedules the processes according to their burst time. In SJF scheduling, the process with the lowest burst time, among the list of available...
3 min read
Highest Response Ratio (HRRN) Scheduling Highest Response Ratio (HRNN) is one of the most optimal scheduling algorithms. This is a non-preemptive algorithm in which, the scheduling is done on the basis of an extra parameter called Response Ratio. A Response Ratio is calculated for each...
1 min read
FCFS may suffer from the convoy effect if the burst time of the first job is the highest among all. As in the real life, if a convoy is passing through the road then the other persons may get blocked until it passes completely. This can...
2 min read
If we talk about scheduling algorithm from the GATE point of view, they generally ask simple numerical questions about finding the average waiting time and Turnaround Time. Let's discuss the question asked in GATE 2011 on SRTF. Q. Given the arrival time and burst time of 3...
1 min read
in Operating Systems Introduction: A process is defined as a computer program that is currently running. As multiple processes may be able to run simultaneously on operating systems with multiprogramming scheduling is crucial. Selecting applications will run on the CPU is one of the main duties of an...
5 min read
Introduction Process management in a single-tasking or batch-processing system is simple because only one process is operating at a time. When many processes (multiprogramming or multitasking) are engaged, process management becomes more complex since a CPU must be used efficiently by multiple processes. Multiple active processes...
6 min read
(OS) In the uniprogrammming systems like MS DOS, when a process waits for any I/O operation to be done, the CPU remains idol. This is an overhead since it wastes the time and causes the problem of starvation. However, In Multiprogramming systems, the CPU doesn't...
2 min read
Algorithm in OS (Operating System) In Priority scheduling, there is a priority number assigned to each process. In some systems, the lower the number, the higher the priority. While, in the others, the higher the number, the higher will be the priority. The Process with the...
1 min read
We request you to subscribe our newsletter for upcoming updates.
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India