Virtual Memory System Emulator C++

January 2026

vmsim is a C++ virtual memory system emulator that replays memory-access traces through a configurable VM subsystem. It simulates a multi-level page table, a set-associative TLB with optional ASID support, page faults, frame allocation, and multiple eviction policies (FIFO, Clock, LRU, Aging). The simulator includes optional swap-backed paging, a detailed cycle-based cost model, and AMAT calculation, enabling quantitative analysis of memory-system design tradeoffs. It outputs detailed performance statistics in both human-readable and JSON formats for further evaluation.

Tech: C++, Operating Systems, Virtual Memory Systems, Page Tables, TLB Simulation

Source code on GitHub