Simulation of CPU Allocation Algorithms

by Lauren Beatty

Create a New Process

ID:

CPU Burst Time:

Priority:

Existing Processes

(you have no processes yet)

Select Scheduling Algorithm

FCFS

First Come, First Served

Priority

Priority without preemption

Preempt. Priority

Priority with preemption

SJF

Shortest Job First

SRJF

Shortest Remaining Job First

RR

Round Robin w/ multi-level queues

Run Scheduling Algorithm

Currently Running Algorithm:

Current Process:

Total Running Time:

While you're waiting, add a new process:

ID:

CPU Burst Time:

Priority:

Add Process

Results for:

Gantt Diagram

Statistics

Average Turnaround Time:

Average Waiting Time:

Original Inputs

    Added Processes

      Start Over