OS Algorithm Visualizer
CPU Scheduling, Page Replacement, and more — step through every algorithm with animated visualizations built for GATE CS exam prep.
Algorithm
Choose a scheduling policy to simulate
Basic
Priority
Multi-Queue
Processes run strictly in order of arrival. Simple, but a long process at the front delays everything behind it (convoy effect).
Processes
4 processes
Gantt Chart
CPU, IO, normalized, and combined views
Ready Queue
t=0 — 1 waiting
CPU Status
Executing P1
One process, one CPU — no context switch in progress.
Ready Queue
0Empty
Incoming
3Completed
0None yet
Live Statistics
Recomputed instantly for the selected algorithm
Avg Waiting
5.75
Avg Turnaround
11.25
Avg Response
5.75
Avg Completion
12.75
Scheduling Length
22units
Throughput
0.182/unit
CPU Utilization
100%
Context Switches
3
Idle Time
0units
Total Time
22units
Educational Log
Why the scheduler made each decision, revealed as the clock advances