dalgama / os-page-replacement-algo

Two page-replacement algorithms are implemented, which are the FIFO and LRU page-replacement algorithms. Random page-reference string are used to each algorithm and the number of page faults incurred by each algorithm is recorded.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

os-page-replacement-algo

The Tasks in the project is available in the OS_project4.pdf

Group members:

  • Student Name: Dilanga Algama (8253677)
  • Student Name: Mokhtar Zehrawi (7308460)

Project work breakdown:

Q1: Answered by Dilanga Algama

Q2: JAVA code by Dilanga Algama

Q3: C code by Mokhtar Zehrawi

How to run files:

Q2: run java program straight from your IDE

Q3: Command line instructions:

  • gcc -pthread -o q3 Question3.c
  • ./q3 x (where x is an integer argument)

About

Two page-replacement algorithms are implemented, which are the FIFO and LRU page-replacement algorithms. Random page-reference string are used to each algorithm and the number of page faults incurred by each algorithm is recorded.


Languages

Language:Java 59.8%Language:C 40.2%