mp3-addendum-sp11 - command1.txt with that using...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Distributed Shared Memory (DSM) System This addendum discusses the experimental results that are expected from your programming assignment 3. First, generate 10 nodes, using node IDs 0 through 9, using your dsm.cc or dsm.c as described in the assignment specification. Create an appropriate membership.conf file containing the TCP ports of all the nodes, and generate the memory_map.conf file using the script provided earlier. The following table shows two command files, command1.txt and command2.txt. Both of them contain the same set of instructions executed by nodes 0 and 1. However, in command1.txt , the nodes acquire and release lock exactly once, while they acquire and release the lock multiple times in command2.txt . Execute your code with each of the command files and: 1) Record the output of each of the command files along with the number of messages exchanged, in each of the cases, in your report. 2) Compare the number of messages exchanged using
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: command1.txt with that using command2.txt and comment on why they do or do not differ. command1.txt command2.txt 1000:0:1 1000:0:3:10:10:100 2000:0:3:20:20:10:10 2000:1:1 1000:1:3:10:10:13 1000:0:4:20 2000:0:3:10:20:100 2000:1:3:20:20:10:1 1000:1:4:20 3000:0:4:10 1000:0:3:30:30:10 3000:1:3:30:20:30:0 1000:1:4:30 1000:0:4:30 1000:0:3:10:20:30:0 1000:0:4:10 1000:0:2 1000:1:3:10:30:10:11 1000:1:4:10 1000:0:1 1000:0:3:10:10:100 2000:0:3:20:20:10:10 2000:1:1 1000:0:2 1000:1:3:10:10:13 1000:0:1 2000:1:3:20:20:10:1 2000:1:2 1000:0:4:20 2000:0:3:10:20:100 1000:1:1 1000:1:4:20 3000:1:3:30:20:30:0 1000:0:2 2000:1:2 1000:0:1 3000:0:4:10 1000:0:3:30:30:10 3000:1:1 1000:0:4:30 1000:1:4:20 3000:1:3:30:20:30:0 2000:1:2 1000:0:3:10:20:30:0 1000:0:2 1000:0:1 1000:0:4:10 1000:0:2 2000:1:1 1000:1:4:30 1000:1:3:10:30:10:11 1000:1:4:10 1000:1:2 ECE428/CS425/CSE424: Distributed Systems Spring 2011 Programming assignment 3 - Addendum Due: by 5:00p.m. on May 2, 2011...
View Full Document

This note was uploaded on 02/08/2012 for the course ECE 428 taught by Professor Hu during the Spring '08 term at University of Illinois, Urbana Champaign.

Ask a homework question - tutors are online