/BAR-decentralized-MapReduce-sim

Simulator for MARS: decentralized Map-Reduce for bAR models

Primary LanguageCGNU General Public License v3.0GPL-3.0

Simulation for the decentralized Map-Reduce in BAR environments

Structure

  • Platform -> simulation platform
  • Experiments -> Experiment definitions

Execute the experiment

To execute:

  • Install simgrid (preferred 3.11)
  • Make simulation platform
  • Make Experiment definitions
  • Execute the experiment

The easy way with Docker:

docker build -t simgrid:3.11.1 -f Tools/SimGrid.Dockerfile .
docker build -t experiment .
docker run -v "$PWD/analysis/traces:/home/experiment/experiments/traces" experiment bin/hello.bin

Analyze data

To analyze the data it is used R

Dependencies apt install r-base r-cran-ggplot2 r-cran-dplyr pajeng

Each experiment run produce a tracefile.trace, this are in the Pajé format, we need to convert it in csv.

Preparing the traces manually

pj_dump tracefile.trace | grep State > tracefile.state.csv
pj_dump tracefile.trace | grep Link > tracefile.link.csv
pj_dump tracefile.trace | grep Container > tracefile.container.csv