Back to projects

FIFO Page Replacement Visualizer

View code
2022 web
FIFO Page Replacement Visualizer

Overview

Interactive web-based visualization tool for demonstrating the FIFO page replacement algorithm used in operating systems memory management.

Provides real-time visualization of page frames along with live statistics for page faults and page hits.

The challenge

Understanding page replacement algorithms can be challenging without visual feedback showing how pages are loaded, replaced, and counted as faults or hits.

The approach

Built a browser-based simulation using JavaScript to implement FIFO logic, combined with dynamic UI updates and animations to visualize page frame state and algorithm behavior in real time.

Key results

  • Visualized FIFO page replacement behavior with real-time page fault and hit tracking
  • Enabled interactive experimentation with cache size and page reference sequences
  • Deployed a responsive educational tool accessible via the web