[ns] Does Akaroa provide controls

Andrea Giordanna andrea.giordanna at gmail.com
Tue Jan 22 14:07:15 PST 2008


> Dear All

Hi, Basim


> I am trying to do some NS2 simulations for EDCA (IEEE 80-2.11e). Do you
> have some TCL scripts for throughput, reliability, delay etc...

What kind of traffic are you generating to the network? How do you do that?


> Also how can we control running of the EDCA using AKAROA...any tutorial on
> AKAROA?

Using akaroa can guarantee the reliability of your results, because it
performs simulations with infinite horizon, and discards values of the
transient period (begining of the simulation).
You tell akaroa which parameter you want to evaluate, and it performs the
simulation until the values of this parameter get into a precision (usually
90% or 95%). At the final it shows you the mean of the observed parameter.
However this process can take much time, so akaroa provides a way to perform
simulation in different machines, in a parallel manner.
In your tcl script you have to create an akaroa object and tell it how many
parameters you want to evaluate:

set ak [new Akaroa]                ;# creating akaroa object
$ak AkDeclareParameters 1    ;# hey, akaroa, I want to evaluate only one
parameter

After that, you only need to set this parameter in the right point of your
script

$ak AkObservation 1 $value    ;# hey, akaroa, $value is a value (generated
by my simulation) of the parameter I want to evaluate

So, akaroa is used to treat your results and make sure they are reliable.

Hope it helps,
Andrea


More information about the Ns-users mailing list