Skip to content

ozyurtf/virtual-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Memory Simulator

In this project, I implemented a virtual memory simulator that models different page replacement algorithms. The goal behind the project was simulating how operating systems manage virtual memory and how they handle page faults. Almost everything (including the entire C++ implementation) was written by me 100% manually. Only the simulation of how my implementation works was created with Claude Code with my guidance.

Demo

Demo

Features

  • Multiple page replacement algorithms are simulated:
    • FIFO (First-In-First-Out)
    • Random
    • Clock
    • ESC (Enhanced Second Chance)
    • Aging
    • Working Set
  • Multiple processes with individual page tables are supported.
  • Virtual memory management with page tables and frame tables is implemented.
  • Different types of memory access operations (read, write) are handled.
  • Context switches between processes are simulated.
  • Detailed statistics on memory operations are provided.

About

A C++ implementation of a virtual memory management system simulator. This project models various page replacement algorithms, including FIFO, Random, Clock, ESC (Enhanced Second Chance), Aging, and Working Set.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors