The simulation uses BitSimulator. You need to download and compile it.
Extract the contents of ring.zip
into the BitSimulator directory (where the bitsimulator
executable is).
ring.sh
executes the simulator for all scenarios
multiple times. The results are written to results.txt,
forwarder.txt and control.txt in the respective subdirectory. Note that forwarder2.txt prepares the results for
plotting.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 (backoff flooding without and with ring,
and slr without and with ring), and for the two network sizes: 10000 and
20000 nodes.visualtracer.txt
is a readme file that explains how to obtain Figures 2.gnuplot file
is launched automatically by ring.sh.Open the results
directory and run ring.sh
using this command: PARALLEL=3 ./par.sh ring.sh. This runs 3 jobs in
parallel and takes some time (for 80 runs), and requires free storage
(Bitsimulator creates about 2.5GB log per run, overall 65 GB of logs).
Figures 1 is reproduced using senders_packet0_backoffflooding_slr_10000nodes_seed0.gnuplot
Figures 2 is reproduced using visualtracer in scenario()/(Routing_Agent)/run0.
Table 2: Results with 10000 nodes uses the last lines of scenario10/(Routing_Agent)/results.txt.
Table 3: Total data traffic generated for 10000 nodes uses the last lines of scenario10/(Routing_Agent)/control.txt, multiplied by packet sizes.
Table 4: Evaluation results for 20000 nodes uses the last lines of scenario20/(Routing_Agent)/results.txt.
Page written by Farah Hoteit