Skip to content

keltion/Scheduler_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheduler Simulator

This is a project that implements the 'scheduling policy' of the Operating System.
Implementation target: FCFS, SJF, RR, MLFQ, lottery scheduling


1. First Come First Served(FCFS)

  • Schedule the process that arrives first
  • Advantage: Simple and easy to implement
  • Disadvantage: Convoy effect occurs


2. Shortest Job First(SJF)

  • Schedule the process with the shortest execution time first
  • Advantage: If all tasks arrive at the same time, turnaround time can be minimized
  • Disadvantage: Convoy effect occurs


3. Round Robin(RR)

  • Schedule the process only for a time slice and switch to the next process.
  • The shorter the time slice, the better the response time.
  • However, the shorter the time slice, the higher the context exchange cost.
  • Advantage: The response time is fast.
  • Disadvantage: The turnaround time is slow.



# Example Input Data

About

Scheduler Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages