CS520
Spring 2017
Laboratory 12
Friday April 28
This lab must be submitted prior to 8am on Sunday April 30.


Add LRU page and TLB replacement to your virtual memory simulation.

Counting page faults with round-robin page and TLB replacement will be worth 25 points. Counting TLB misses with round-robin page and TLB replacement will be worth 25 points. Counting page faults with LRU page and TLB replacement will be worth 25 points. Counting TLB misses with LRU page and TLB replacement will be worth 25 points.

You still do not need to count disk writes.

We will use the public sum.c and lru.c tests for grading, but we may vary the sizes of the virtual memory, the physical memory, and the page.

Please turn-off any debugging code before you submit your lab.

Also be sure you do not include a "main" function in your submitted code.

Submit your lab via:
~cs520/bin/submit lab12 simVM.c

Submissions can be checked by typing:
~cs520/bin/scheck lab12

Remember that there are no late submissions of labs. Submit what you have prior to noon on Sunday April 30.


Last modified on April 18, 2017.

Comments and questions should be directed to pjh@cs.unh.edu