CPU Scheduler

Simulate CPU scheduling algorithms — FCFS, SJF, Round Robin, and Priority scheduling.

Category: Engineering · v1.0.0
Avg Wait
Avg Turnaround
Total Time

About This Simulator

This simulator demonstrates how operating systems schedule processes on a CPU. Add processes with different burst times and priorities, then watch how different scheduling algorithms (First Come First Served, Shortest Job First, Round Robin, Priority) decide which process runs when. Compare average wait times and turnaround times across algorithms.

How It Works

  1. Add processes with a name, burst time, and priority
  2. Select a scheduling algorithm from the dropdown
  3. For Round Robin, adjust the time quantum
  4. Click Run to watch the scheduler execute processes
  5. Observe the Gantt chart showing CPU allocation over time
  6. Compare average wait and turnaround times across algorithms