next up previous contents
Next: Assignment IV; due to Up: OPERATING SYSTEMS LABORATORY IX Previous: OPERATING SYSTEMS LABORATORY IX   Contents

MOSS Simulator

Lab work:
  1. Create a command file that maps any 8 pages of physical memory to the first 8 pages of virtual memory, and then reads from one virtual memory address on each of the 64 virtual pages. Step through the simulator one operation at a time and see if you can predict which virtual memory addresses cause page faults. What page replacement algorithm is being used?
  2. Modify replacePage() in PageFault.java to implement a least recently used (LRU) page replacement algorithm.

next up previous contents
Next: Assignment IV; due to Up: OPERATING SYSTEMS LABORATORY IX Previous: OPERATING SYSTEMS LABORATORY IX   Contents
Cem Ozdogan 2009-05-11