Question
1. Download the simulators at http://www.ontko.com/moss/ 2. Install and test Memory Management Simulator using user guide http://www.ontko.com/moss/memory/user_guide.html 3. Do the 'suggested' exercises: a. Create a
1. Download the simulators at http://www.ontko.com/moss/
2. Install and test Memory Management Simulator using user guide http://www.ontko.com/moss/memory/user_guide.html 3. Do the 'suggested' exercises:
a. 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?
b. Modify replacePage() in PageFault.java to implement a round robin page replacement algorithm (i.e., first page fault replaces page 0, next one replaces page 1, next one replaces page 2, etc.).
c. Modify replacePage() in PageFault.java to implement a least recently used (LRU) page replacement algorithm.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started