Offline (Page Replacements)

From Algorithm Wiki
Revision as of 07:53, 10 April 2023 by Admin (talk | contribs)
Jump to navigation Jump to search

Description

When page fault occurs during the program execution, operating systems use page replacement algorithms to select a victim page from primary memory and makes room for the required page.

Related Problems

Related: Online

Parameters

$n$: number of page requests

$k$: number of pages able to fit in cache

Table of Algorithms

Name Year Time Space Approximation Factor Model Reference
The theoretically optimal page replacement algorithm 1940 $O(n^{2})$ $O(k)$ Exact Deterministic

Time Complexity Graph

Error creating thumbnail: Unable to save thumbnail to destination

Space Complexity Graph

Error creating thumbnail: Unable to save thumbnail to destination

Time-Space Tradeoff

Error creating thumbnail: Unable to save thumbnail to destination