[ns] AODV performance

2007-05-16 Thread Martin Ip

Hello everyone,

I am simulating AODV with HELLO messages in ns2. However, I have ran 5
simulations with different traffic and movement patterns (which are
generated using the following settings) and the average packet delivery
ratio is only around 70% ? Where in some paper I have seen the ratio
could be as high as 95-98% with the similar simulation settings. However,
if I increase the packet rate from 2 to 4 or even 6, then the results are
much closer to the other published results. Could anyone please please
kindly suggest me what could be the possible reasons that causes poor
packet delivery ratio results at lower offered load? I dunno what
settings i should be changing in the ns2 tcl script. Actually I'm trying
to follow the standard settings for Lucent WaveLAN. so, the bandwidth
should be 2Mbps. I know if i increase the bandwidth , the packet ratio
would be higher, but is there any other reasons that could help me to get
a better ratio at lower offered load.

My simulation settings are

  * 2200x600 dimension,

  * 100 nodes

  * max node speed is 20m/s

  * Packet rate 2 pkt/sec

  * Simulation time 500 sec

  * Pause time 100 sec

  * 40 CBR source

  * 2Mbps shared media bandwidth

  * 64 pkts in sending buffer

  * 30 sec for timeout before dropping packet from sending buffer


Thank you very much

Regards,
Martin


[ns] ifqueue->length() for Interface Queue Length

2007-05-13 Thread Martin Ip

Hello everyone,

I am looking for the correct place to retrieve the interface queue length
of each individual node during simulation runtime. I'm using the AODV
protocol in the simulation and I realise that there is a member variable
in aodv.h called the ifqueue, which is the pointer to the object
PriQueue. And from the class file packet.h I saw a method called length()
that could retrieve the length of the queue. So can I simply use
"ifqueue->length()" from the aodv.cc to retrieve the interface queue
length of the node?

Thanks in advance

Regards,
Martin


[ns] AODV with HELLO message

2007-05-13 Thread Martin Ip

Hello everyone,

Im working with AODV in ns2 and I would like to detect link breakage with
HELLO message instead of Link Layer Detection. According to the AODV
source code, do I simply comment out the line "#define
AODV_LINK_LAYER_DETECTION" in "aodv.h" ? Is there any other changes I
have to make in the code to achieve what I want? What about the local
repair?

Thanks in advance

Regards,
Martin


[ns] [AODV] How to get the length of node's interface queue

2007-05-11 Thread Martin Ip

Hello everyone,

I have working on a load balancing strategies for AODV. Can anyone teach me how 
to get the length of the current node's interface queue?

Thanks in advance.

Regards,
Martin

=




[ns] Calculating Average End-to-End Delay is slow with awk

2007-05-10 Thread Martin Ip

Hi everyone,

When you all calculating the average End-to-End delay for a particular
simulation, do you take all of the recv entries? (that is if there is
2 receives, you will gather all 2 to calculate the average)
However, the number of receives packets is very large ~19 at some
stage and the calculation time of the end-to-end delay take ages. I'm
using awk to calculate the average delay and at the moment I only take
few thousands of recv entries from my trace file. (Which I think its not
very accurate.) So do anyone of you know a better way to calculate the
average delay fast with all the recv entries?

Thanks in advance

Regards,
Martin


[ns] [AODV] Interface Queue and AODV packet queue

2007-05-10 Thread Martin Ip

Hello everyone,

I am doing project regarding to monitor each node's packet queue length
in AODV. However, there are two queue lengths in ns2 src code that makes
me confused. The `interface queue length` and the `Drop-front queue` in
AODV src file "aodv_rqueue.cc". If I want to get the packet queue length
of each node during simulations, should I get the length of the interface
queue or the length in aodv_rqueue.cc ?

interface queue length or rqueue.len_ ??

Regards,
Martin


[ns] Patching AOMDV into ns2

2007-05-04 Thread Martin Ip

Hello everyone,

Do anybody in this forum know the way to patch the original AODV in ns2
into AOMDV? I have got the AOMDV source code for ns-allinone-2.14ba. But
I do not think I can simply replace the original AODV files with the
AOMDV source files and everything will work. Can anyone please please
help me out on the procedures to install AOMDV for later release of ns2?

Thank you very very much.

Best regards,
Martin


[ns] AOMDV implementation for ns2.30

2007-04-27 Thread Martin Ip

Hello everyone in ns2,

I am currently working on a load balancing strategy on the AOMDV
protocol. I'm using ns2 and I am not able to find the AOMDV (Ad-hoc
Multipath Distance Vector) source code within the ns2 directory? After
hours of googling, I managed to find a copy of AOMDV source code for
older version of ns2.
http://www.icis.ntu.edu.sg/wagio/campus/research/codes/aomdv-code-ns2.tar.tar
However, the installation steps provide with the source code require me
to install an older version of AODV onto the new ns2 and some overriding
of ns2 original source code. Does anybody able to install AOMDV into
ns2.3x ? I will be very grateful if you can teach me how to do it
correctly.

Thanks in advance.
Martin