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.
Comments and questions should be directed to pjh@cs.unh.edu