top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Round Robin Scheduling for processes in an Operating System and why this is a preferred choice?

+3 votes
558 views
What is Round Robin Scheduling for processes in an Operating System and why this is a preferred choice?
posted Jul 15, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

This is pretty a fair process scheduling algorithm. In round robin scheduling algorithm, each process gets a fixed time and for the end user seems the machine is allocated to him only. For example : When so many students write their program in Linux system during examination.

If a system wants to treat all processes with the same level/priority then it should prefer RR scheduling.

answer Jul 17, 2015 by Harshita
0 votes

What is Round Robin Scheduling
As the term is generally used, time slices are assigned to each process in equal portions and in circular order, handling all processes without priority
1. Each process is provided a fix time to execute called quantum.
2. Once a process is executed for given time period. Process is preempted and other process executes for given time period.
3. Context switching is used to save states of preempted processes.

Round Robin Algo

The main advantage of round robin algorithm over others is that it is starvation free. Every process will be executed by CPU for fixed interval of time (which is set as time slice) . So in this way no process left waiting for its turn to be executed by the CPU.

answer Jul 18, 2015 by Salil Agrawal
...