Skip to content

aryan21x/Memory-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Memory Simulator

Memory Simulator is a Python-based simulation tool that emulates memory allocation for processes using three policies: Variable-Sized Partitioning (VSP), Paging (PAG), and Segmentation (SEG). It reads process data from a workload file, simulates process arrivals and completions over time, manages memory based on the selected strategy and fit algorithm (first-fit, best-fit, worst-fit), and prints real-time memory maps. The simulator tracks and displays process turnaround times, supporting redirection of output for detailed analysis.

How to Run

python .\Project2.py

About

Memory Simulator is a Python-based simulation tool that emulates memory allocation for processes using three policies: Variable-Sized Partitioning (VSP), Paging (PAG), and Segmentation (SEG). It reads process data from a workload file, simulates process arrivals and completions over time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages