Java Question

Simulate a Virtual Memory Manager named Vmm that reads in textual form memory requests (AKA loads and stores) from stdin and simulates them. Vmm measures the number of CPU cycles of any simulated action. The fixed cycles for memory accesses are defined via constants; they do not vary dynamically as they generally will in a real run-time system. Implement Vmm with three levels of 32-bit address mapping, using 10, 10 and 12 bits of any logical address. Except for the Page Directory (PD) which is implemented as a dedicated 4 kB-size cache, Vmm operates without cache. Accesses through the PD cost 1 cycle each.



Powered by WordPress