Re: [ns] help needed in performance comparison of AODV, DSR and DSDV routing protocol
Hi I want to compare my AODV.tcl including DSDV and DSR the only change I have to make is the set val (rp) from AODV-DSDV and then to DSR. THNAKS mike ... Salahedin wrote: Hi, I am doing exactly the same and my results are similar to yours. I was thinking that I have some problems with the tcl or wak file but I am now starting changing some configuration like node speed to try to get better statistics. Anyway, can you send me the awk file you used as well as the traffic and movement specification so I would be able to see if we get the same results. My email is s_l_h_3[at]yahoo[dot]es Thanks Haripriya Nair wrote: ankur goyal wrote: Hi All, I have written a tcl script and an awk script to evaluate the performance of AODV, DSR and DSDV protocols in terms of average delay and total number of packets received and dropped. But i am getting very absurd results when i run my script to extract the data. My results are as follow: for DSR: Generated Packets = 46904 PACKETS Received Packets = 1227 PACKETS Total Dropped Packets = 12443 e2e delay = 3.911883 for AODV: Generated Packets = 12362 PACKETS Received Packets = 3221 PACKETS Total Dropped Packets = 9105 e2e delay = 0.007428 I believe that there is something wrong in my script which i am not able to figure out. So can anyone provide me a tcl script for AODV, DSR and DSDV protocols such that all the required data are extracted from trace files in TCL scripts only rather than using AWK script separately. Eagerly waiting for a quick reply as i need it urgently. Thanks Regards, Ankur -- View this message in context: http://old.nabble.com/help-needed-in-performance-comparison-of-AODV%2C-DSR-and-DSDV-routing-protocol-tp29588901p31377944.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Can I run multiple instances of ns2 at the same time?
Hi, Is it possible to run multiple instances of ns2.34 on cygwin at the same time? Do I need to setup any configurations? I want to run a different simulation script on each instance... Thank you. Regards, Lup.
[ns] Help to simulate the algorithm
* QOS-A Novel Multipath Routing* *Algorithem Protocol For Ad Hoc Networks* Algorithm QAMRouting() 1. Create nodes by allocating bandwidth randomly. 2. Set transmission range of each and every node i . 3. Initialize cache tables with their range nodes and initially allocated bandwidth. 4. Select destination from source node i. 5. Flood RREQ(SrcID,ReqID,DestId,QoS,Nutilization) to all neighbor nodes of node i 1. For each node j do Calculate available bandwidth of node j If(RREQ.QoS AvailableBW of node j) Descard the RREQ Else If(node j is equal to RREQ.Destid) Send RREP to source node i Goto 8. Else callWait(0.1) //allow many/all the RREQ’s to reach the node j If more then one RREQ’s which has same *SrcID ReqID* , Chose the RREQ which has the least Nutilization Calculate node j’s Nutilization If(RREQ.NutilizationNutilization of node j) RREQ.Nutilization Nutilization of node j //Update RREQ // Record the route in the cache j table Append node j in the “path” string and update cache j 1. Goto step 5 2. Send RREP to the Source 3. Start Communication Send data from source to destination through the reliable path computed earlier. Help me to simulate this algorithm ns-2 Please help
[ns] Scheduler::instance().clock() in ns.2.30
Hi all, Can anybody tell me something about Scheduler::instance().clock(), the function returns system time, what kind of system time it returns? Does the return time including the current system date and time or something else??
[ns] Problem in GPSR simulation
Hi friends, i'm trying to simutate GPSR protocol.For the organization of the directories, i put these informations in the correspondant .sh file proto=GPSR simdir=gpsrsimulation statdir=stat scendir=$simdir/scen trafdir=$simdir/trafic when i execute the simulation file .sh it shows me this error num_nodes is set 50 couldn't open gpsrsimulation/GPSR.tr: no such file or directory while executing open $opt(tr) w invoked from within set tracefd[open $opt(tr) w] (file simulation.tcl line 166) tail: cannot open `statfile' for reading: No such file or directory How can i deal with this error? Thank you ZAK
Re: [ns] [NS-ANS] Re: help regarding ARQ
Thank you very much for the replay But I want to implement to wireless model I am using 802.11 as mac protocol If you have any idea please replay From: Teerawat@UBC teera...@ece.ubc.ca To: amareswararao k amar_21cent...@yahoo.co.in Cc: ns-users@isi.edu ns-users@ISI.EDU Sent: Tuesday, 12 April 2011 7:46 AM Subject: Re: [NS-ANS] Re: [ns] help regarding ARQ HI, If you are interested in implementing ARQ in NS2, please read http://www.ns2ultimate.com/post/1539258323/arq-module-program-update Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Apr 11, 2011, at 11:52 PM, amareswararao k wrote: could any one please give me a suggestion about link layer ARQ or any website
[ns] some questions of AODV in ns2.30
Hi all, I want to modify AODV but I encounter some questions and have no ways to make it. The situation is like this: I want the destination node to record the received RREQ packets within the nearest five seconds. And compare a certain field to choose the best path to send the RREP. I know the destination node needs to wait some time for all the RREQ packets to arrive, but I do not how to write a c++ code to record the RREQs and choose the best node. Can anybody give me some advice to solve this problem?? Thanks a lot!!!
[ns] How to calculate end-to-end delay without queuing delay?
Hello ns-users, First of all, sorry if this is a stupid question. I am completely new in simulation. I want to compare simulation result with my mathematical model result. In 802.11b simulation, I need to calculate end-to-end packet delay without queuing delay. How can I calculate total queuing delay separately using ns-2? Or, pls. tell me the easiest way to modify code to calculate end-2-end delay without queuing delay. Regards, Ritika
[ns] xgraph ERROR
In the name of God Dear friends Hi when we want to run xgraph in our tests, we write in stop proc the bellow commands: exec xgraph out.tr and we have ERROR: couldn't execute xgraph:no such file or directory. would you please help me? Best Regards Sarah
[ns] Grid environment
In the name of God Dear friends Hi When we use the routing protocol that made base on Grid ,how we can see it? can we see it in nam or not? Best Regards Sarah
[ns] Guidance for How to start with my algo
HI i m working on WSNs my algo requires flooding a message to all the nodes periodically. on receiving the message by a node , its coordinates decides whether it should be made a dissemination node or not. kindly suggest me how to start with this i mean which classes and methods are required for this, and in which file i should implement it. like which thing in .cc file and which in .tcl file. this is somewhat same as TTDD ,if somebody is having the code for the same plz send it also. Sudhanshu Pant