This article is about algorithms specific to paging. For an outline of general cache algorithms (e.g. processor, disk, database, web), see Cache algorithms.
In a computer operating system that uses paging for virtual memory management, page replacement algorithms decide which memory pages to page out, sometimes called swap out, or write to disk, when a page of memory needs to be allocated. Page replacement happens when a requested page is not in memory (page fault) and a free page cannot be used to satisfy the allocation, either because there are none, or because the number of free pages is lower than some threshold.
When the page that was selected for replacement and paged out is referenced again it has to be paged in (read in from disk), and this involves waiting for I/O completion. This determines the quality of the page replacement algorithm: the less time waiting for page-ins, the better the algorithm. A page replacement algorithm looks at the limited information about accesses to the pages provided by hardware, and tries to guess which pages should be replaced to minimize the total number of page misses, while balancing this with the costs (primary storage and processor time) of the algorithm itself.
The page replacing problem is a typical online problem from the competitive analysis perspective in the sense that the optimal deterministic algorithm is known.
and 23 Related for: Page replacement algorithm information
operating system that uses paging for virtual memory management, pagereplacementalgorithms decide which memory pages to page out, sometimes called swap...
computing, cache replacement policies (also known as cache replacementalgorithms or cache algorithms) are optimizing instructions or algorithms which a computer...
Adaptive Replacement Cache (ARC) is a pagereplacementalgorithm with better performance than LRU (least recently used). This is accomplished by keeping...
Set) is a pagereplacementalgorithm with an improved performance over LRU (Least Recently Used) and many other newer replacementalgorithms. This is achieved...
Which page to page out is the subject of pagereplacementalgorithms. Some MMUs trigger a page fault for other reasons, whether or not the page is currently...
frame to reuse, which is its pagereplacementalgorithm, is important to efficiency. The operating system predicts the page frame least likely to be needed...
PageRank (PR) is an algorithm used by Google Search to rank web pages in their search engine results. It is named after both the term "web page" and co-founder...
with Adaptive Replacement (CAR): a pagereplacementalgorithm with performance comparable to adaptive replacement cache Dekker's algorithm Lamport's Bakery...
be removed. Dirty bits are used by the CPU cache and in the pagereplacementalgorithms of an operating system. Dirty bits can also be used in Incremental...
If the free page frame queue is empty then the paging supervisor must free a page frame using the same pagereplacementalgorithm for page stealing. Operating...
Northeast Rugby Union Not recently used, a pagereplacementalgorithm Nru Nsukka, a town This disambiguation page lists articles associated with the title...
be all pages referenced within a certain period of time. The working set isn't a pagereplacementalgorithm, but page-replacementalgorithms can be designed...
file pages (for example executable or library files) are present in the cache or not. Demand paging Cache (computing) PagingPagereplacementalgorithm Virtual...
keyboards OPT, the theoretically optimal pagereplacementalgorithm, a pagereplacementalgorithm for swapping out pages from memory Occupied Palestinian territories...
are hybrids that utilize LFU concepts. Cache replacement policies Memory pagingPagereplacementalgorithm § Not frequently used Donghee Lee; Jongmoo Choi;...
unit that supports page replacement. Memory management with pagereplacementalgorithms becomes slightly more complex. Possible security risks, including...
the page has been written to (the dirty bit), when it was last used (the accessed bit, for a least recently used (LRU) pagereplacementalgorithm), what...
The token bucket is an algorithm used in packet-switched and telecommunications networks. It can be used to check that data transmissions, in the form...