The simulation uses BitSimulator. You need to download and compile it.
Extract the contents of dynamicring.zip
into the BitSimulator directory (where the bitsimulator
executable is).
dynamicring.sh
executes the simulator for all scenarios multiple times. The results are written to finalresults.txt
in the respective subdirectory.par.sh
launches jobs in parallel.scenario.xml
describes the scenario to be executed. It exists in 8 variants in the respective subdirectories for the four routing agents (pure flooding, proba flooding, backoff flooding and slr), and for two schemes: no ring and dynamic ring. It runs for 10 different random seeds and for 10000 nodes in the network.Go to bitsimulator
directory and run dynamicring.sh
from it using this command: PARALLEL=2 ./par.sh dynamicring.sh. This runs 2 jobs in parallel and takes some time (for 120 runs), and requires free storage (Bitsimulator creates about 2.5GB log per run, overall 65 GB of logs).
Figures 7, 8, 9 and 10 are reproduced using visualtracer in the (subdirectory)/run0 using the command ../../../visualtracer -D . -s 1000000000000.
Table 2: "Evaluation results with 10000 nodes averaged for 10 runs and 50 packets each" are found in (subdirectory)/finalresults.txt.
Page written by Farah Hoteit