An interactive web application for visualizing CPU and Disk scheduling algorithms. This educational tool helps users understand how different scheduling algorithms work through animated visualizations.
- Interactive visualizations of CPU scheduling algorithms
- Supported algorithms include:
- First-Come, First-Served (FCFS)
- Shortest Job First (SJF)
- Priority Scheduling
- Round Robin
- Real-time view of the ready-queue
- Ability to compare different algorithms side by side
- Visual representations of disk scheduling algorithms
- Explore how different algorithms optimize read/write operations
- Compare performance metrics across algorithms
- React.js with TypeScript
- Material UI for styling and components
- React Router for navigation
- Chart.js and Recharts for data visualization
- Clone this repository
git clone https://github.com/SanchitNegi177/AlgoViz.git
cd AlgoViz
- Install dependencies
npm install
- Start the development server
npm start
- Open your browser and navigate to
http://localhost:3000
- Navigate to either the CPU Scheduler or Disk Scheduler section from the home page
- Select an algorithm to visualize
- Configure the parameters (processes, arrival times, burst times, etc.)
- Run the visualization and observe the scheduling in action
- View performance metrics and compare with other algorithms
src/
├── components/
│ ├── CPUScheduler/ # CPU Scheduler implementation
│ └── DiskScheduler/ # Disk Scheduler implementation
├── App.js # Main application component
└── index.js # Entry point
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Created for educational purposes
- Inspired by operating system scheduling concepts