Skip to content

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.

Notifications You must be signed in to change notification settings

AndreasChatzopoulos/CPU-Scheduler-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
    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

  1. 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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published