First-Come, First-Served
FCFS with an animated Gantt chart and convoy effect.
Module 2
Session 2.4
Lesson 3 of 6
First-Come, First-Served (FCFS) CPU Scheduling
An Interactive, Step-by-Step Simulator for Operating System Concepts
Process Configuration
FCFS Key Rules
- Non-Preemptive: A process keeps the CPU until its burst finishes.
- Queue Order: Dispatched strictly by Arrival Time (\(AT\)).
- Tie-Breaking Rule: If multiple processes arrive at the exact same time (\(AT\)), ties are broken by Process ID (PID order: P1 > P2 > P3).
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) |
|---|