Giter Club home page Giter Club logo

dsm's Introduction

Distributed-shared-memory-implementation

Description:

In this assignment I wrote my own distributed shared memory implementation. The basic idea is that you create (through software) the illusion that two processes on different machines share the same address space. So when a process writes to a memory location in a page that resides on a remote machine, my implementation asks my other implementation on the remote machine for a copy, the remote machine should protect its page, and then the local machine maps the page's data into its own address space. If the remote machine were to access to the page, the same protocol transfers the page back.

My implementation implements the process consistency memory model (x86 memory consistency model --- (writes from one processor need to be seen in the same order by the other machine).

Thats good for description, but how to run?

For linux platforms:

To run a test case type ./test master masterip slaveip testcase_number on the master machine and ./test slave masterip slaveip testcase_number on the slave machine where masterip == ip address of master machine slaveip == ip address of slave machine testcase_number is between 0 and 5.

dsm's People

Contributors

sai25590 avatar

Stargazers

 avatar Yiwei Yang avatar

Watchers

James Cloos 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.