📔 🗂️ 🗄️
Think of your program as a huge notebook with many pages. RAM is your tiny desk with only 4 slots. The OS keeps a Page Table — an index — that tracks which notebook page is currently on your desk. If the page isn't on the desk (Page Fault 💥), the OS fetches it from the hard drive.
Access Pattern:
Replace:
Virtual Address Space Program's "notebook"
8 virtual pages — more than RAM can hold at once
Performance
0
✅ Hits
0
💥 Faults
0%
Hit Rate
0
Accesses
Hit Rate: 0%
Access Log
Waiting for first access...
Page Table OS looks here first
Virtual Page In RAM? Frame # Status
What's happening?
Pick a pattern and press Next Access to begin!

The CPU will try to read a virtual page. Watch if it's already in RAM (✅ Hit) or needs to be loaded from disk (💥 Page Fault).
HIT
Upcoming Accesses
Physical RAM 4 frames only
⚡ Fast — nanoseconds
Hard Drive (Disk) All pages stored
🐢 Slow — milliseconds