HomeComputer ScienceCPU Scheduling & Memory Management

3D Page Replacement Visualizer

Interactive 3D virtual memory simulator: watch FIFO, LRU and LFU page replacement swap pages in and out of a physical frame grid as a program's reference string plays, with page faults and hit rate tracked live.

Computer Science3DEasy60 FPS📱 Mobile-adapted⇄ 2D version
3d-operating-systems-computer-science ↗ Open standalone

Virtual memory lets a process address more memory than physically exists by keeping only the pages it actually needs in RAM, swapping others to disk. This simulator renders physical memory as a grid of frame sockets in 3D: a simulated program repeatedly references pages drawn mostly from a small "working set", and every reference is checked against the resident frames. A hit pulses the frame green in place; a fault evicts a victim frame — chosen by whichever replacement policy you select, FIFO, LRU or LFU — and swaps in the freshly requested page as a new colored block. Watch how frame count and working-set size change the fault rate under each policy.

⚙ Under the hood

Explore virtual memory page replacement techniques (FIFO, LRU, LFU) in a 3D environment where memory frames are represented as sockets, and requests interact with them visually.

operating-systemscomputer-scienceschedulingmemory-management

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)