OS Algorithm Simulator

What is OS Algorithm Simulator?

OS Algorithm Simulator is an educational application that allows you to simulate the algorithms that make an Operating System (OS) work.

As you may know, the main objective of an OS is to manage 4 resources:

  1. The CPU.
  2. The Memory.
  3. The Input/Output (I/O) System.
  4. The File System.

Each OS contains several algorithms that provide the above functionalities. For instance:

In order to understand an OS deeply, one must know how these algorithms work and why some approaches that seem reasonable have been discarded by well-known Operating Systems such as Windows or Linux. The goal of this application is to provide explanations about different approaches to each problem and to illustrate how the each algorithm works by means of simulations. For that purpose, this app contains some examples, but it also allows you to provide your own datasets and check how each algorithm would perform on them. It is also important to say that in most of the cases, this application does not contain the state-of-the-art algorithms, but simplifications that we consider better for the learning process.

Features

Process scheduling algorithms:

Several preemptive and non-preemptive algorithms:

Deadlock algorithms:

Contiguous memory allocation algorithms:

Page replacement algorithms:

For each algorithm: