Module 8.2 - Page Replacement Algs

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:42 PM on 6/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

Page Frame Allocation

The policy question regarding which specific page frame a new page should be assigned to, noting that because all frames are the same size, any empty frame can be used.

2
New cards

Page Replacement Policy

A well-defined policy used to decide which page should be evicted or de-allocated from main memory when no free page frames are available.

3
New cards

Write Back

The process of writing an evicted page back to disk, which is only required if the page has been modified since it was loaded into memory.

4
New cards

Modified Page Tracking

A function of the page table that keeps track of whether a page has been modified or not to determine if a write back to disk is necessary during eviction.

5
New cards

Optimal Page Replacement Policy

An ideal but impractical policy that evicts the page that will not be used for the longest time in the future, requiring known memory reference patterns.

6
New cards

First-In First-Out (FIFO)

A simple replacement policy that evicts the page that has been in main memory the longest, providing fairness but failing to consider page usage.

7
New cards

TLB Policy

The policy consideration of determining which specific page table entries should be placed in the Translation Lookaside Buffer (TLB).

8
New cards

Second chance

A modification of FIFO that maintains a FIFO list of pages and a reference bit for each page to determine which page to evict.

9
New cards

Reference bit

A bit kept for each page in the second chance algorithm; a value of 00 indicates the page has not been referenced, while a value of 11 indicates it has been referenced.

10
New cards

Second Chance Eviction (Bit 00)

The action taken when an eviction is needed and the reference bit of the oldest page is 00; the page is evicted.

11
New cards

Second Chance Eviction (Bit 11)

The action taken when the oldest page's reference bit is 11; the bit is set to 00, the page is moved to the end of the list, and the check repeats.

12
New cards

Least Recently Used (LRU)

A page replacement option that evicts the page that has not been used recently.

13
New cards

Locality of reference

A program characteristic that, when present, allows the Least Recently Used (LRU) algorithm to work reasonably well.

14
New cards

optimal page replacement theory

If new page is already in main memory, access is a hit.

Else,

(1) access causes a page fault,

(2) identify page whose next access will be farthest in the future,

(3) replace identified page with newly requested page.

15
New cards

first in first out (FIFO) page replacement theory

If new page is already in main memory, access is a hit.

Else,

(1) access causes a page fault,

(2) identify page that was brought into main memory the longest time ago,

(3) replace identified page with newly requested page.

16
New cards

modified FIFO/second chance page replacement theory

If new page is already in main memory, (1) access is a hit, (2) set reference bit of page to true.

Else,

access causes a page fault,

Do

(1) identify page that was marked as the oldest page,

(2) if identified page has its reference bit set to true, mark identified page as the newest page

(3) set reference bit of identified page to false

(4) else, replace identified page with newly requested page, break out of loop

17
New cards

least recently used page replacement policy

If newly requested page is already in main memory, access is a hit.

Else, (1) access causes a page fault, (2) identify page whpse previous access was fathest in the post, (3) replace identified page with newly requested page.