pads:lunesinst
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pads:lunesinst [2013/04/04 12:29] – gdangelo | pads:lunesinst [2019/11/15 12:56] (current) – gda | ||
---|---|---|---|
Line 22: | Line 22: | ||
The last version of the LUNES software can be freely downloaded from the [[pads: | The last version of the LUNES software can be freely downloaded from the [[pads: | ||
- | LUNES is provided as part of the ARTÌS/GAIA distribution or as a standalone archive. In the first case all the LUNES files are already placed in the ARTÌS-2.0.4/ | + | LUNES is provided as part of the ARTÌS/GAIA distribution or as a standalone archive. In the first case all the LUNES files are already placed in the ARTÌS-x.y.z/ |
For a complete installation and setup guide of ARTÌS/GAIA please see its specific howto: [[pads: | For a complete installation and setup guide of ARTÌS/GAIA please see its specific howto: [[pads: | ||
Line 28: | Line 28: | ||
==== Missing libraries ==== | ==== Missing libraries ==== | ||
- | <fc # | + | <color # |
| name ^ description | | name ^ description | ||
Line 34: | Line 34: | ||
^ libigraph0-dev | ^ libigraph0-dev | ||
- | <fc # | + | <color # |
< | < | ||
sudo apt-get install libigraph0 libigraph0-dev | sudo apt-get install libigraph0 libigraph0-dev | ||
Line 41: | Line 41: | ||
==== Working directory ==== | ==== Working directory ==== | ||
- | LUNES needs <fc # | + | LUNES needs <color # |
- | <fc # | + | <color # |
===== Basic Usage ===== | ===== Basic Usage ===== | ||
Line 52: | Line 52: | ||
In this case our goal is to simulate a gossip protocol called " | In this case our goal is to simulate a gossip protocol called " | ||
- | <fc # | + | <color # |
< | < | ||
cd ARTIS-2.0.4/ | cd ARTIS-2.0.4/ | ||
Line 59: | Line 59: | ||
The LUNES simulator is provided as source code and therefore needs to be compiled before usage, a Makefile is provided. | The LUNES simulator is provided as source code and therefore needs to be compiled before usage, a Makefile is provided. | ||
- | <fc # | + | <color # |
< | < | ||
make | make | ||
Line 70: | Line 70: | ||
The first step is to prepare the corpus to be used in the simulation runs. In the LUNES distribution (i.e. in the **example_corpuses** directory) are provided some corpuses that can be used for this purpose. | The first step is to prepare the corpus to be used in the simulation runs. In the LUNES distribution (i.e. in the **example_corpuses** directory) are provided some corpuses that can be used for this purpose. | ||
- | <fc # | + | <color # |
< | < | ||
tar xvfz example-corpuses/ | tar xvfz example-corpuses/ | ||
</ | </ | ||
- | <fc # | + | <color # |
< | < | ||
ln -s / | ln -s / | ||
Line 82: | Line 82: | ||
Most of simulation parameters can be controlled using the parameters found in the **scripts_configuration.sh** and in the first part of the evaluation script (in this case the **sim-metrics-broadcast-corpus**). For example, each corpus is composed of 100 graphs but in this case, to reduce the running time, we are going to evaluate the broadcast protocol on smaller set of graphs. This can be done editing the **scripts_configuration.sh** and modifying the **NUMBERRUNS** parameter. | Most of simulation parameters can be controlled using the parameters found in the **scripts_configuration.sh** and in the first part of the evaluation script (in this case the **sim-metrics-broadcast-corpus**). For example, each corpus is composed of 100 graphs but in this case, to reduce the running time, we are going to evaluate the broadcast protocol on smaller set of graphs. This can be done editing the **scripts_configuration.sh** and modifying the **NUMBERRUNS** parameter. | ||
- | <fc # | + | <color # |
< | < | ||
[...] | [...] | ||
Line 93: | Line 93: | ||
</ | </ | ||
- | <fc # | + | <color # |
< | < | ||
[...] | [...] | ||
Line 106: | Line 106: | ||
The **sim-metrics-broadcast-corpus** is intended for testing the gossip protocol in presence of a full range of dissemination probabilities. Also in this case it is possible to cut the running time reducing the number of tests to be done. | The **sim-metrics-broadcast-corpus** is intended for testing the gossip protocol in presence of a full range of dissemination probabilities. Also in this case it is possible to cut the running time reducing the number of tests to be done. | ||
- | <fc # | + | <color # |
< | < | ||
[...] | [...] | ||
Line 116: | Line 116: | ||
</ | </ | ||
- | <fc # | + | <color # |
< | < | ||
[...] | [...] | ||
Line 128: | Line 128: | ||
Now it is possible to start the simulation. The evaluation script will run the dissemination protocol on 10 graphs in the corpus and for each graph will test 3 different configurations (dissemination probability = {10, 30, 50}). | Now it is possible to start the simulation. The evaluation script will run the dissemination protocol on 10 graphs in the corpus and for each graph will test 3 different configurations (dissemination probability = {10, 30, 50}). | ||
- | <fc # | + | <color # |
< | < | ||
./ | ./ | ||
Line 139: | Line 139: | ||
Each directory contains the results for the adaptive broadcast gossip protocol when run with the given dissemination probability. For example, in the **broadcast-100-lp1-migr0-prob50-mfactor1.2-load0** the file **broadcast-STATS.dat** contains the following results: | Each directory contains the results for the adaptive broadcast gossip protocol when run with the given dissemination probability. For example, in the **broadcast-100-lp1-migr0-prob50-mfactor1.2-load0** the file **broadcast-STATS.dat** contains the following results: | ||
- | <fc # | + | <color # |
< | < | ||
100 | 100 | ||
Line 173: | Line 173: | ||
===== Appendix A: trace files ===== | ===== Appendix A: trace files ===== | ||
- | As described above, LUNES produces a large amount of trace files that are stored in the working directory (the default is **/ | + | As described above, LUNES produces a large amount of trace files that are stored in the working directory (the default is **/ |
+ | The file structure is very simple: | ||
+ | STAT < | ||
+ | In the current version there are only thee operations that are implemented: | ||
+ | |||
+ | ^ Operation | ||
+ | | STAT GEN | parameter | ||
+ | | STAT RCV | parameter1 parameter2 parameter3 [parameter4] | ||
+ | | STAT MSG | parameter | ||
pads/lunesinst.1365078570.txt.gz · Last modified: 2013/04/04 12:29 by gdangelo