Logo Lanfrica

inetrg/agere-2018

Type de record:

software
Créateur:
ine
Hôte:
Some measurement related to a new broker concept for CAF # Benchmarking the new brokers in CAF Some measurement for the new broker concept in CAF. These measurements are based on the branch new broker experiments. Since the branch will likely be merged into master at some point, there is a archive of the ## Requirements * CAF (caf.tar.gz) * Google Benchmark * Cmake * C++ 11 compiler * Mininet We used the VM available on the mininet website to run the benchmarks. CAF and google benchmark can be be build with the script `setup.sh` in the repository. *The VM was configured to use 4 processors and 4096 MB base memory.* The plots were created with R and exported as tikz for the paper (found in the `evaluation` folder). When using RStudio, set the working directory to the root folder of this repository and the scripts should find the files to read. (They will also produce PDFs, but the scripts were adjusted to the tikz output and some of the legends might look a little bit misplaced.) ## Layers Benchmark This benchmark uses google benchmark for the measurements. It evaluates the costs of a few layers we implemented for UDP and/or TCP. Here's the command to take the measurements: ``` $ ./build/bin/layers --benchmark_repetitions=10 --benchmark_report_aggregates_only=true --benchmark_out_format=csv --benchmark_out=evaluation/layers.csv ``` The resulting csv file can be plotted with the script `layers.R` found in the evaluation folder. ## Ping Pong Benchmark This benchmark lets two brokers exchange messages over a link with increasing loss. There is a python script to run the mininet benchmarks, `evaluation/mininet.py`. It has several options to determine which benchmarks to run: ``` $ ./evaluation/mininet.py -h usage: mininet.py [-h] [-l LOSS] [-d DELAY] [-r RUNS] [-T THREADS] [-R RTO] [-o] (-t | -u | -q) CAF newbs on Mininet. optional arguments: -h, --help show this help message and exit -l LOSS, --loss LOSS set packet loss in percent (0) -d DELAY, --delay DELAY set link delay in ms (0) -r RUNS, --run …

Languages