Operating system page replacement algorithm
An operating system and page technology, which is applied in the field of operating system virtual storage management, can solve the problems of increased system overhead, waste of system resources, and failure to reduce the rate of page faults, and achieve the effect of reducing the rate of page faults
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] Embodiment 1: as figure 1 , figure 2 As shown, an operating system page elimination algorithm, the specific steps of the method include:
[0025] Step 101. Let i=1, i is the serial number of the page in the page elimination queue;
[0026] Step 102. Read the i-th page T of the page elimination queue i ;
[0027] Step 103. Determine page elimination threshold C im Whether it is greater than or equal to 2, C im Indicates the i-th page T of the page elimination queue i The elimination threshold C m , the elimination threshold C m Indicates the sum of the results of a page judging whether to eliminate the page according to the first-in-first-out elimination algorithm, the least recently used elimination algorithm, and the least recently used elimination algorithm.
[0028] If C im ≥ 2, it means that two or more of the three algorithms believe that the page should be eliminated, and the i-th page T is eliminated at this time i Write back to external memory, if C ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

