⚙️Smart CPU Scheduling Optimizer
OptiCore is an interactive tool that optimizes CPU scheduling using a Genetic Algorithm (GA).
It benchmarks traditional scheduling algorithms such as FCFS, SJF, Priority, and Round Robin,
then evolves optimized hybrids that minimize average waiting time, turnaround time, and context switching.
- Compare baseline algorithms: FCFS, SJF, Priority, and Round Robin
- Optimize dynamically using a Genetic Algorithm
- Visualize results with Gantt charts and performance graphs
- Interactive process and GA parameter controls
- Analyze performance metrics:
- Average Waiting Time
- Average Turnaround Time
- Context Switch Count
- Fairness Standard Deviation
| Component | Description |
|---|---|
| Language | Python 3 |
| Libraries | Matplotlib, NumPy, ipywidgets |
| Algorithm | Genetic Algorithm |
| Environment | Jupyter / Google Colab |
- Open the OptiCore notebook in Google Colab.
- Run all cells in sequence.
- Adjust the sliders to set:
- Number of processes
- GA population size
- Generations
- Mutation rate
- Click Run GA Optimizer to evolve the best schedule.
- Use Compare Baselines to benchmark traditional algorithms.
- Bar Chart: Compare average waiting and turnaround times.
- Gantt Chart: Visualize process execution timelines.
- Convergence Plot: Track optimization progress per generation.
Add visuals such as:
- OptiCore Interface — interactive dashboard view
- Gantt Chart Visualization — optimized CPU schedule
- Performance Comparison Graph — baseline vs optimized performance
OptiCore — Optimizing CPU scheduling through intelligent algorithms.
Crafted for clarity, built for efficiency.
