wget http://garr.dl.sourceforge.net/sourceforge/nsnam/ns-allinone-2.32.tar.gz tar zxf ns-allinone-2.32.tar.gz cd ns-allinone-2.32/Get DAMA patch:
wget http://www.tlcsat.uniroma2.it/DAMA/ns-2.32_dama_V1.2.patch patch -p0 < ns-2.32_dama_V1.2.patchCompile (with Ubuntu in might be necessary to install x11 devel: sudo apt-get install libxmu-dev):
./installWhen install process is over, set environment variables as suggested.
wget http://www.tlcsat.uniroma2.it/DAMA/dama_test_script.tcl ns dama_test_script.tcl
Script output generated is slot.csv, containing variations of slots assigned to 2 terminals in RBDC for 1 TCP transfer per terminal on the return link.
Maximum available slots is 32.
The file can be plot with MS Excel using dispersion graph or gnuplot, grace etc. (first column is simulation time).
Example in Excel