From c91e9856af85eaf8234ddd69a2b5e329db22c690 Mon Sep 17 00:00:00 2001 From: Sairam Subramanian Gopal Date: Tue, 5 Jun 2012 16:57:50 -0700 Subject: [PATCH] first commit --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f1eaf5..1b5aeee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,31 @@ Distributed-shared-memory-implementation -======================================== \ No newline at end of file +======================================== + +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. +