-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|