Analysis of page replacement algorithms using C
Aye Aye Cho
Abstract
Aye Aye Cho
Abstract
Page replacement algorithms are important of virtual memory management and it helps the operating system to decide which memory page can be moved out making space for the currently needed page. Whenever a process refers to a page that is not present in memory, a page fault occurs. Each algorithm has the objective to minimize the number of page faults. With minimum page faults, the performance of the process is increased. The purpose of this paper is to analyze the three algorithms via. First in First out(FIFO), Least Recently Used(LRU) and Optimal Page Replacement(OPT) is implemented using C++ programming. We will present implementation of three algorithms and compare their performance on generated virtual traces.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Page replacement algorithms are important of virtual memory management and it helps the operating system to decide which memory page can be moved out making space for the currently needed page. Whenever a process refers to a page that is not present in memory, a page fault occurs. Each algorithm has the objective to minimize the number of page faults. With minimum page faults, the performance of the process is increased. The purpose of this paper is to analyze the three algorithms via. First in First out(FIFO), Least Recently Used(LRU) and Optimal Page Replacement(OPT) is implemented using C++ programming. We will present implementation of three algorithms and compare their performance on generated virtual traces.
Key concepts: Demand paging, Page fault, Virtual memory, Computer science, FIFO (computing and electronics), Page, Algorithm, Process (computing)