Round Robin scheduling
Animated RR with an adjustable quantum.
Module 2
Session 2.5
Lesson 1 of 5
Round Robin (RR) CPU Scheduling
An Preemptive Time-Slice Scheduling
Time Quantum Settings
Process Configuration
Round Robin Key Rules
- Preemptive Time-Slicing: Each process is given a fixed time slice (\(q\)). If incomplete, it is preempted and put at the back of the queue.
- Circular Ready Queue: Dispatched strictly in FIFO order from the ready queue.
- Simultaneous Events Rule: If a running process finishes its time slice at the exact moment a new process arrives, the newly arrived process enters the ready queue first, followed by the preempted process.
- Optimal Response Time (RT): Ensures every process gets a turn quickly, ideal for interactive time-sharing systems.
Simulation Controls
Initializing simulator... Click "Step Forward" or "Play" to start.
Interactive Gantt Chart
Hover or click on any Gantt block or process table row to view step-by-step metric formulas.
Process Execution Metrics
| PID | Arrival (\(AT\)) | Burst (\(BT\)) | Completion (\(CT\)) | Turnaround (TAT = CT − AT) | Waiting (WT = TAT − BT) | Response (RT) |
|---|