Code Monkey home page Code Monkey logo

cse231-os-xv6-assignment's Introduction

Assignment was done in a group by

  • Savit Gupta
  • Rohan Rajpal
  • Madhav Sainanee

You can try out the assignment(mentioned below) yourself. Our solution to the assignment is this repository

To view the complete assignment click here

Demand paging in xv6

The goal of this assignment to understand the paging subsystem of an operating system. The first component you need to implement is demand paging. Demand paging lazily maps a physical page corresponding to a virtual page during the time of dereferencing. In addition to demand paging, you also need to implement swapping. If the system runs out of physical memory, then the swapping subsystem reuse an already used physical page by saving its contents to secondary storage (e.g., disk).

Environment

For this assignment, you need to install qemu.
Run
sudo apt-get install qemu
Please clone the assignment repo from https://github.com/Systems-IIITD/
xv6-paging.git.
Run
make qemu
It will boot the xv6 OS in qemu emulator. You can also redirect the output to
a file using, make qemu > log.txt.
The default process is the shell. Type memtest1 to run memtest1.
Currently ( Ours does not :) ), it panics because the page fault handler is not implemented. After, you have correctly implemented everything, memtest1 and memtest2 should run normally

cse231-os-xv6-assignment's People

Contributors

aclements avatar beordle avatar chibby0ne avatar gw avatar icenowy avatar kaashoek avatar kehao95 avatar mikecat avatar phf avatar piyus avatar rohanrajpal avatar rsc avatar saarett avatar tchajed avatar zeldovich avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

hlaordsuh

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.