Title :
Development of a Virtual Memory Simulator to Analyze the Goodness of Page Replacement Algorithms
Author :
Sibai, Fadi N. ; Ma, Maria ; Lill, David A.
Author_Institution :
UAE Univ., AlAin
Abstract :
We modified the Java code of the MOSS simulator to develop a robust virtual memory simulator which allows the user to easily switch between different page replacement algorithms including FIFO, LRU, and optimal replacement algorithms. The simulator clearly demonstrates the behavior of the page replacement algorithms in a virtual memory system, and provides a convenient way to obtain their page fault costs. We ran the simulator under various scenarios including random and mixed random-local memory access patterns. The results indicate that the Optimal algorithm produces the least number of page faults, LRU is general better than FIFO, and that FIFO behavior is unpredictable and illustrates Belady´s anomaly.
Keywords :
Java; operating systems (computers); random-access storage; virtual storage; Java code; optimal Algorithm; page replacement algorithms; random-local memory; virtual memory simulator; Algorithm design and analysis; Analytical models; Cache memory; Costs; Java; Memory management; Modems; Operating systems; Robustness; Switches;
Conference_Titel :
Innovations in Information Technology, 2007. IIT '07. 4th International Conference on
Conference_Location :
Dubai
Print_ISBN :
978-1-4244-1840-4
Electronic_ISBN :
978-1-4244-1841-1
DOI :
10.1109/IIT.2007.4430437