PagRIP
Simulation of the following page replacement algorithms:
This project was made as an assessment for a Operating Systems university course.
Simple Build & Run
Linux
cat ./sample-input.txt | ./gradlew --quiet :app:run
Windows
cat ./sample-input.txt | gradlew.bat --quiet :app:run
Input Specification
See the sample input file; this is a line-by-line description:
- Ordered page requests separated with commas
- Memory frames’ quantity
Output Specification
-
Number of page faults (PF)
-
Memory frames’ contents after each page request (trace)
For the clock algorithm, the trace contains use-bit (*) and pointer (->) indicators.