Interactive LRU page replacement simulator with recency-ordered queue, decision explainer, step controls, statistics, and step history.

Presets
Reference string processed left to right
Step 0 / 0
Idle
Press play or step forward to begin. LRU keeps frames sorted by how recently they were used. On a hit, the page moves to the most-recent end. On a fault with no free frames, the least-recently-used page is evicted.
Frames ordered by recency · oldest use → most recent use
evict
(LRU)
most
recent
Speed
Page faults
0
Page hits
0
Hit ratio
0%
Step historylatest 2 steps
# Page Frames (LRU → MRU) Result
No steps yet