[ns] User arrival pattern (poisson distribution)
Hi, I want to simulate a scenario related to video streaming. I want that Nodes enter the network, should follow poisson distribution. Any one having idea about this? Regards, Ubaid Ahmed
Re: [ns] AODV local repair
Ok.My knowledge in C/C++ is not bad. I know a little about ns-2. I made some simulations, I already modified some AODV modules and I changed makefile to force to the modify. I understand a little the way NS-2 work internally. The version of NS-2 is 2.33. I try modify AODV in file aodv.cc at line 322 -334 * **#ifdef AODV_LOCAL_REPAIR /* if the broken link is closer to the dest than source, attempt a local repair. Otherwise, bring down the route. */ if (ch-num_forwards() rt-rt_hops) { local_rt_repair(rt, p); // local repair // retrieve all the packets in the ifq using this link, // queue the packets for which local repair is done, return; } else #endif // LOCAL REPAIR * I modify this condition if (ch-num_forwards() rt-rt_hops) { to *if (true) { local_rt_repair(rt, p); // local repair // retrieve all the packets in the ifq using this link, // queue the packets for which local repair is done, return; }* after that, I did: 1. Go to the /ns-allinone-2.33/ns-2.33 2. make clean 3. make I try to force AODV make only local repair, but I don't have security about my modification. I created a scenario, I tested and gave me results that wanted. But I really don't have security about my modification. Any other suggestions about the modify? * *On Tue, Apr 21, 2009 at 9:33 PM, Carlos Alberto Quiroz-Perez cqui...@engr.uvic.ca wrote: Hi, First of all, I need to know what is your knowledge in programming. In the case you have a decent knowledge in C/C++, you should understand the way NS-2 works internally, the structure and order of its classes. This is important because you need to know what you affect in ns-2 when you change variables or constants in the AODV module. It is also important to know what version of ns-2 you are using. Through the time has been some modifiations for AODV in ns-2. For instance, for the protocols I created in NS-2 they work better with a old version of ns-2. It depends of your needs. In other words, you should porvide more inforation of your task and what is failing in detail this in order to help you! take care, Carlos ps. don't worry abut your Engish, it's fine! Hi, i'm new to ns2, i'm from brazil and im doing a research about the aodv peformance. i'm trying to change the aodv code.cc to make two changes: 1- disable the local repair. So, when a route changes, it would be rebuilded from the source. 2- do the opposite. Change the aodv.cc to always make the local repair for building the route when the route changes. But i'm get no success on what i've been trying. So i'd like to ask ur help. Any suggestions? [thanks, and sorry about my english] ^ If I am not for myself, who will be for me? If I am for me only, who I am? And if not now, when? Misnah Abat. ^ Ing. Carlos Alberto Quiroz-Perez cqui...@engr.uvic.ca Electrical Computer Engineering University of Victoria, Victoria, BC, Canada Office: ELW A110 Lab: ELW B335 Cell phone: (250) 217-99-71
[ns] 'Handoff Attempted' message
Hi, I was wondering if anyone had any ideas what the message 'Client X: Handoff Attempted' means, which is occasionally produced when running simulations on ad hoc routing protocols (e.g. AODV, DSDV). I've looked around the list and on internet sites and found the question asked many times, but they never seem to have been answered. I'm assuming this message is just informative and that no error has occurred, but it would be nice to know what it is referring too. I've tried looking in the ns-2 source code to figure out where it is generated but haven't been able to find out so far. Any suggestions welcome. Cheers, Tim
[ns] Draft AODV in Ns-2
Somebody know what draft of AODV implemented at Ns-2 version 2.33???
[ns] Reg. strange behaviour of throughput with changing interface queue length
Hi people, I have encountered a strange behavior with throughput on changing interface queue length. I am simulating a scenario where one node is an access point and the rest of the wireless nodes are sending it data via a TCP/FTP traffic source. For higher number of nodes(10 - 40 nodes, for example) the throughput is maximum when ifqlength is 5. throughput decreases a little when ifqlength is changed to 10 and further reduces when it is 20. After this, when I increase the ifq length further, the throughput profile(i am plotting throughputVsnumber of nodes connected for each ifglength) increases higher than it was for length=20. overall the total behavious is sthg like this : (Throughput)ifq=5 (Th)ifq=10 (Th)ifq=15 (Th)ifq=20 (Th)ifq=20 (Th)ifq=30 (Th)ifq=40 (Th)ifq=50 Did anyone encounter such behaviour or can offer any reasonable explanation for this ? I am not exactly sure how changing the interface queue length affects the simulation. It would be great if anyone can throw some light. Thank you ! Karthik
[ns] Need help about NS2 simulation
Hello, Can any one help to answer those problems that I have met during simulation. 1, my wireless nodes can be seen from the nam window as long as I use wired routing ON, not OFF. I currently do not know why 2, my random number generator cannot generate different random number, so that all of my mobile nodes are located in (0,0) 3, all of the mobile nodes may out of the transmission range of the base station. I do not know how to guarantee that 4, when I execute the program, from the terminal, I can always find Routes not yet computed, I do not know what does this message mean 5, my animation final cannot start automatically. 6, I have search the internet and also read some parts of the NS mannual, and now I still get puzzled about the differences of setting up wireless nodes and wired nodes, and also about setting up mobile nodes and base station. Thank you for your kind help. Sincerely, Feng An
Re: [ns] 'Handoff Attempted' message
See following link, where it was already reported as a bug, because there is no point of doing a Handoff in a NON-INFRASTRUCTURAL environment. It includes a simple solution also. (Note: The asterisks (*) in the snippet of the code are extra, ignore them...) http://mailman.isi.edu/pipermail/ns-users/2008-December/064100.html Mayur Hi, I was wondering if anyone had any ideas what the message 'Client X: Handoff Attempted' means, which is occasionally produced when running simulations on ad hoc routing protocols (e.g. AODV, DSDV). I've looked around the list and on internet sites and found the question asked many times, but they never seem to have been answered. I'm assuming this message is just informative and that no error has occurred, but it would be nice to know what it is referring too. I've tried looking in the ns-2 source code to figure out where it is generated but haven't been able to find out so far. Any suggestions welcome. Cheers, Tim
Re: [ns] tracegraph help!
My thesis advisor give me the licence. It must be install on Windows XP On Wed, Apr 22, 2009 at 10:14 PM, qute rose cynosureb...@yahoo.com wrote: Hi! Sir i could not get what do you wanted to say? How will i install matlab libraries on fedora 8? How will i get the lisece of Matlab? Will you plz guide me? Thanks