Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sai25590 committed Jun 5, 2012
1 parent 2380b88 commit c91e985
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
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.

0 comments on commit c91e985

Please sign in to comment.