Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
/ pagrip Public archive

Simulation of some page replacement algorithms

Notifications You must be signed in to change notification settings

agcom/pagrip

Repository files navigation

PagRIP

Simulation of the following page replacement algorithms:

Usage

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:

  1. Ordered page requests separated with commas
  2. Memory frames' quantity

Output Specification

  1. Number of page faults (PF)

  2. Memory frames' contents after each page request (trace)

    For the clock algorithm, the trace contains use-bit (*) and pointer (->) indicators.

About

Simulation of some page replacement algorithms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages