Skip to content

This program tests page replacement algorithms used by an operating system. Results were mirrored in study by Rollins Turner and Henry Levy at the Digital Equipment Corporation.

Notifications You must be signed in to change notification settings

Airick73/Segmented-FIFO-page-repalcement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Segmented-FIFO-page-repalcement

This program tests page replacement algorithms used by an operating system. Results were mirrored in study by Rollins Turner and Henry Levy at the Digital Equipment Corporation.

Authors: Eric Kemmer, Randall Hunt This program is for COP 4600 Operating Systems - Memory Virtualization

To run the following program:

  1. Go to the directly that contains the files.

  2. Type the following into the command line and press enter: "make"

  3. Run the program by typing this following into the command line: "./memsim <fifo | lru | vms> <quiet | debug>

         Notes: 1. Above you will enter the full name for the trace file that is to be used. 
                 2. Enter the number of frames you wish to use. 
                  3. Enter one of the three algorithms provided, FIFO ( first in first out), LRU (Least Recently Used), VMS (Segmented FIFO);
                   4. The percentage for vms is to be an interger between 1-100 and is ONLY used for vms. 
                    5. Enter wether you want the program to run quiet or debug. 
    

    Examples: ./memsim bzip.trace 64 fifo quiet ./memsim bzip.trace 64 lru quiet ./memsim sixpack.trace 64 vms 30 quiet ./memsim sixpack.trace 64 vms 40 debug

About

This program tests page replacement algorithms used by an operating system. Results were mirrored in study by Rollins Turner and Henry Levy at the Digital Equipment Corporation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published