BBobop VirtMem

index tools

Memory Config

Replacement Policy

FIFO
LRU
Random

Address Accesses

Address Translation
Page Table
TLB (Translation Lookaside Buffer)
Physical Frames
Metrics
Access Log
How It Works
Virtual Memory

Virtual addresses are split into:
- VPN (Virtual Page Number)
- Offset (within page)

Translation: VPN → Page Table → PPN
Physical address = PPN + Offset

TLB caches recent translations. On TLB miss, consult the page table.

Page fault: page not in physical memory. Must load from disk (allocate a free frame or evict).

Replacement policies:
FIFO: evict oldest loaded
LRU: evict least recently used
Random: evict random frame