Skip to content

Program that implements the FIFO, Optimal, MFU, and LRU page-replacement algorithms.

Notifications You must be signed in to change notification settings

yxu1183/Page-Faults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Page-Faults

Operating System/Assignment-3: Created by Dr. Trevor Bakker

Descirption

Program that implements the FIFO, Optimal, MFU, and LRU page-replacement algorthims.

Funtionality

  • With a given page-reference string, the code outpurs the number of page faults incurred by each algorithm.
  • Condition - page number ranges from 0 to 9.

Things I learned

  • How to calculate page-replacement algorithms.

Compilation Instructions

The application is built in an omega server at UTA. In terminal:

gcc pf.c -o pf 
pf datafile.txt

Acknowledgements

About

Program that implements the FIFO, Optimal, MFU, and LRU page-replacement algorithms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages