quellobiondo / BAR-decentralized-MapReduce-sim

Simulator for MARS: decentralized Map-Reduce for bAR models
GNU General Public License v3.0
1 stars 0 forks source link
blockchain byzantine-failures mapreduce

Simulation for the decentralized Map-Reduce in BAR environments

Structure

Execute the experiment

To execute:

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