4tal / MMUProject

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMUProject

In the last couple of months we built from scratch MMU - Memory menagement unit - That's the part in the Operating System that in charge of allocating system resources to processes according to many different parameter - Caching Algorithms.

We develop the MMU with software architecture principles:

  1. SingelTone:
  2. We use it to enforce only one instance of a class, Main window, Logger, Database access.
  3. Strategy:
  4. a way to encapsulate different approaches for class behavior and decide which one to use during runtime Caching Algorithms.
  5. MVC:
  6. Model - incharge of the logic.
  7. View - The inteface with the User.
  8. Controller - Connects the 2.

What is Process? Process is a computer program instance. For Example Google Chrome is a computer program and Every new Tab is a process.

How the OS prioritize CPU time per process?

In our project we implemented 3:

  1. LRU.
  2. NFU.
  3. RANDOM.

Installation instructions:

  1. Open project Of the caching Algorithm part from: https://github.com/4tal/CacheAlgorithms
  2. Make sure the test are working and than create a Jar file (not excecutable).
  3. Add the JAR File to MMU.
  4. Add another external JAR -

About


Languages

Language:Java 100.0%