CS520
Fall 2018
Laboratory 12
Friday November 30
This lab must be submitted prior to 12noon on Sunday December 1.


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 December 1. Be careful: one minute late is late.


Last modified on November 9, 2018.

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