[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

[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

[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

[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] [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

[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

[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

[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