Giter VIP home page Giter VIP logo

virtual-memory-management-simulator's Introduction

Virtual Memory Management Simulator

Overview

Virtual memory serves as an essential part of computer architectures in the modern world. As computer memory, in reality, is expensive, the need for virtual memory arises, which helps to create an illusion of the presence of a very large main memory. This project aims to implement a virtual memory manager that will facilitate the simulation of virtual memory in a way that is feasible and is easily understandable to the consumer. The objective of this project is to experiment and analyze the different combinations of paging schemes and replacement algorithms and to get the best possible combination, and plot the obtained results.

Project structure

a. Data --> Contains the process list and process trace text files. (Dataset)
b. Plots --> Contains the plots which are generated when the simulator is executed.
c. Presentation and Report --> Contains the presentaion and report for the project.
d. driver.py --> Driver file of the project.
e. generateResults.py --> Generates results and creates plots to be shown in final GUI.
f. menuGUI.py --> A GUI which allows user to enter input data.
g. resultsGUI.py --> GUI where final results and plots are displayed.
h. simClass.h --> Header file to store created classes.
i. simConstants.h --> Header file to store constants.
j. simInput.h --> Header file to read the process list and process trace files given as input by user.
k. simulator.cpp --> C++ program simulate virtual memory management.

Instructions

To run the simulator, follow these instructions:

a. Enter the project directory and execute the file 'driver.py':
python3 driver.py

b. Browse appropriate '.txt' files for process trace and process list. Select the page fetch policy, page replacement policy and page size for running the simulation.
Otherwise, click the button 'set default' which will automatically fill all the fields with the default options.

c. Click the 'submit' button.

d. Wait for the simulations to complete. Final results will be displayed after processing is complete.

Contributors

  • Suyash Chintawar (191IT109)
  • Aditya Sharma (201MN003)

virtual-memory-management-simulator's People

Contributors

abyss9x3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.