aboutsummaryrefslogtreecommitdiffstats
path: root/P2/README.md
diff options
context:
space:
mode:
authorAndrea Smith <smit9523@umn.edu>2020-11-03 20:24:19 -0600
committerAndrea Smith <smit9523@umn.edu>2020-11-03 20:24:19 -0600
commit10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4 (patch)
tree0683a7140eaebf9bc0252b4a5862aa262e351808 /P2/README.md
parentAdd exec flegs (diff)
downloadcsci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.tar
csci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.tar.gz
csci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.tar.bz2
csci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.tar.lz
csci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.tar.xz
csci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.tar.zst
csci4061-10b5f206a1816e5bb77cb7ee38380f9fbebe7bb4.zip
Added README
Diffstat (limited to 'P2/README.md')
-rw-r--r--P2/README.md31
1 files changed, 30 insertions, 1 deletions
diff --git a/P2/README.md b/P2/README.md
index 0266e65..0dec4a9 100644
--- a/P2/README.md
+++ b/P2/README.md
@@ -1 +1,30 @@
-Add your project details as mentioned in Section Deliverables. \ No newline at end of file
+# CSCI 4061: Project 2
+
+The second project in CSCI 4061: Intro to Operating Systems.
+
+## Fall 2020
+
+- **Test machine:** apollo.cselabs.umn.edu
+- **Date:** 10/24/2020
+- **Name:** Andrea Smith, Matt Strapp
+- **x500:** smit9523, strap012
+
+The purpose of this program is to recreate the mapreduce programming model for Big Data Analytics. In this project, we wrote the IPC utility functions that support the map and reduce process. In order to compile this program, simply run the included Makefile, which takes no arguments.
+
+#### Program structure
+
+```sendChunkData():```
+sendChunkData divides the input file into chunks of size 1024 bytes or less, then distributes the chunks to the mappers in a round robin fashion.
+
+```getChunkData():```
+Each mapper in the Map phase calls getChunkData to receieve the 1024 byte chunks from sendChunkData.
+
+```shuffle():```
+Shuffle divides the word.txt files in output/MapOut/Map_mapperID folders across nReducers, then sends out the filepaths across nReducers in a random order determined by a hash function.
+
+```getInterData()```
+getInterData is used by each reducer to retrieve the filepath for words that it must reduce and compute the total count for.
+
+#### Team Contributions:
+
+For the first draft, Andrea primarily contributed to sendChunkData() and getChunkData() and Matt wrote shuffle() and getInterData(), but the debugging process (the majority of the work) was entirely a joint effort. \ No newline at end of file