This is a GUI application which provides a dynamic and interactive interface to compare and evaluate CPU scheduling algorithms.
- First Come First Serve (FCFS)
- Shortest Job First (SJF)
- Shortest Time Remaining First (SRTF) (Pre-emptive SJF)
- Priority Queue (Non Pre-emptive)
- Priority Queue (Pre-emptive)
- Round Robin with a range of time quanta available
- Multi-Level Queue with custom levels
- Multi-Level Feedback Queue with custom levels
- Also a default algorithm is provided for comparison which is based on general algorithms used in common operating systems.
We recommend using Python 3.7.x for this application as Tkinter comes bundled with Python from 3.7 onwards.
git clone https://github.com/aitikgupta/interactive_cpu_scheduler.git
cd interactive_cpu_scheduler
python3 gui.py
Enter the following command (Linux):
sudo apt-get install python3-tk
- Average Waiting Time
- Average Response Time
- Average Turnaround Time
- Throughput