https://github.com/andreaschatzopoulos/cpu-scheduler-simulator
Simulates and benchmarks five CPU scheduling algorithms (FCFS, RR, SJF, IdealSJF, MLFQ) using Java and Maven. Includes configurable experiments and aggregated results for performance analysis.
https://github.com/andreaschatzopoulos/cpu-scheduler-simulator
cpu-scheduling fcfs java maven mlfq operating-system os-simulator round-robin scheduler sjf
Last synced: 9 months ago
JSON representation
Simulates and benchmarks five CPU scheduling algorithms (FCFS, RR, SJF, IdealSJF, MLFQ) using Java and Maven. Includes configurable experiments and aggregated results for performance analysis.
- Host: GitHub
- URL: https://github.com/andreaschatzopoulos/cpu-scheduler-simulator
- Owner: AndreasChatzopoulos
- Created: 2025-06-17T11:44:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-06-17T11:52:21.000Z (9 months ago)
- Last Synced: 2025-06-29T11:05:53.675Z (9 months ago)
- Topics: cpu-scheduling, fcfs, java, maven, mlfq, operating-system, os-simulator, round-robin, scheduler, sjf
- Homepage:
- Size: 564 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CPU Scheduler Simulator (Java + Maven)
This project simulates multiple CPU scheduling algorithms under various workloads using Java. Designed for OS performance experimentation, it supports FCFS, RR, SJF, IdealSJF, and MLFQ schedulers.
## Features
- Experiment automation via batch files
- Configurable input/output structure
- CSV result aggregation for analysis
- Modular scheduler architecture in Java
## How to Run
1. Clone the repo:
```bash
git clone https://github.com/yourusername/cpu-scheduler-simulator.git
cd cpu-scheduler-simulator
2. Build the project with Maven:
bash
Copy code
mvn clean install
3. Navigate to any experimentX/ folder and run:
./run.bat (Windows)
# File Structure
/src/main/java: Core simulator logic
/experiment1,2,3: Run configurations and CSV results
/docs: Report documentation
# Requirements
Java 11+
Maven 3+
Author: Andreas Chatzopoulos