Re: [ns] Genrating graphs from trace file generated by OLSR ( tracegraph)
Dear Sasi, I used tracegraph some time ago, but I found it inefficient and sometimes gives misleading results. Therefore I do not use it anymore. Instead, I wrote my own code to calculate many parameters: packet delivery ratio, normalized throughput, routing overhead ratio, end2end delay, hop count and connection time. Furthermore, this code is suitable in case you want to repeat your simulation experiment many times to take the average of them. This code is freely available and you can download it from the following link: ( http://www.ikt.uni-hannover.de/fileadmin/institut/mitarbeiter/bali/pl-sim-1. 1.zip ) NOTE: Be sure to include all text between '(' and ')' when navigating to this code location! There is a text file that explains how to use the code. However, I wrote this code for my own use and for my specific scenario. Therefore, I encourage you to write your own code because this is the only way to obtain what you need. Best Regards, Samer -Original Message- From: Sasidhar [mailto:[EMAIL PROTECTED] Sent: Dienstag, 27. November 2007 00:38 To: [EMAIL PROTECTED] Subject: Genrating graphs from trace file generated by OLSR ( tracegraph) Hi I am comparing AODV and OLSR protocols.I just attached the three files which I implemented for both AODV and OLSR. I am sending the traffic and mobility scenarios. For comparison of different adhoc routing protocols the tcl file remains same except I am just changing the value of adhocRouting variable as AODV/OLSR/DSR, etc and calculating the results.Then when calculating for AODV I just put adhocRouting variable as AODV and run the simulation and got the trace files from which I generated the output successfully using tracegraph. Well did the same for OLSR. successful in simulation and generating the trace files but can't get graphs from the tracefiles generated by it using tracegraph. It is giving messages like converting nodes to ip saving in *.tr.ip file messages.Can you check if it happens to you also? What should I do to get the graphs for OLSR protocol from trace files? Please let me know if I have to do something with tcl code or some thing else. Thanks and regards. sasi.
[ns] which routing protocol is used in real ad hoc network
When we are creating ad hoc network (tools such as in windows) to make peer to peer network, which type of routing protocol (DSR,AODV, DSDV, etc...) are actually using? Is it true that in Windows they does not do any routing in ad-hoc mode. So what is the purpose of other routing protocol in ad hoc network (DSR, AODV, DSDV, DYMO, etc...). as we know this protocol is good and people always enhanced it. some of them are using multipath to distributed traffic load (sound good). Why they not implement it in real situation? My system : FC 6 2.6.18-1.2869.fc6 ns2.30 - Get easy, one-click access to your favorites. Make Yahoo! your homepage.
Re: [ns] changing priority of 4 queues of EDCA dynamically????
Please see inline below: Basim Javed wrote: Hi dear all I am using NS2.31 and EDCA patch of TU Berlin (EDCA_ns-2_28-v1-0-2.tgz) Within this EDCA patch, there is one patch file called priority.tcl and it holds values for some parameters of 4 priority queues of EDCA: I need to change these values dynamically during the run time of EDCA...please guide me how I can do so? If these settings are set in tcl you should be able to simply reset them with an at-event: $ns_ at 5.0 DO BLAH; I guess file priority.tcl is read once and these parameter values are fed into the C++ code where EDCA would be implemented, and then they remain as it is during the whole period of simulation. I need to change these parameter values dynamically when a certain event occurs??? Read about evaluating tcl from the C++ layer (for example on the WIKI.) http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#How_to_callback_to_OTcl_from_C.2B.2B_code thank you very much for your help. Please add any insight you gained into the ns2 wiki (http://nsnam.isi.edu/nsnam/index.php/Main_Page) so that others can learn about and from your work. kind regards Basim Good Luck, Claus -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150
Re: [ns] changing priority of 4 queues of EDCA dynamically????
thanks; but if the procedure which is changing values in priority.tcl is given a new call using $ns_ at 5.0 DO BLAH; it means probably another instance of the bind object, and hence probably another call to the EDCA object in C++...NO ADAPTATION PROBABLY...?? regards Basim On 11/27/07, Claus Christmann [EMAIL PROTECTED] wrote: Please see inline below: Basim Javed wrote: Hi dear all I am using NS2.31 and EDCA patch of TU Berlin (EDCA_ns-2_28-v1-0-2.tgz) Within this EDCA patch, there is one patch file called priority.tcl and it holds values for some parameters of 4 priority queues of EDCA: I need to change these values dynamically during the run time of EDCA...please guide me how I can do so? If these settings are set in tcl you should be able to simply reset them with an at-event: $ns_ at 5.0 DO BLAH; I guess file priority.tcl is read once and these parameter values are fed into the C++ code where EDCA would be implemented, and then they remain as it is during the whole period of simulation. I need to change these parameter values dynamically when a certain event occurs??? Read about evaluating tcl from the C++ layer (for example on the WIKI.) http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#How_to_callback_to_OTcl_from_C.2B.2B_code thank you very much for your help. Please add any insight you gained into the ns2 wiki (http://nsnam.isi.edu/nsnam/index.php/Main_Page) so that others can learn about and from your work. kind regards Basim Good Luck, Claus -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150
[ns] multicast routing algorithms
Hi!! I have to doy my End's Career Proyect working with ns2 and I'm new on it. My tutor wants me to test some multicast routing algorithms: the Floyd-Warshall algorithm and the Kompella one. I've been looking for information and i've seen the first one is implemented in some way on ns but for mobile agents (god.cc). Can i use it with non-mobile agents too in my simulations?? Is there any extension for ns-2 that implements any of these algorithms?? Thank you very much for any help you can provide me :). Pablo
Re: [ns] Ns-users Digest, Vol 47, Issue 25
Hi Folks! Is there anyone who runs LEACH or any other Mac/routing protocl successfully in NS-2? Can you provide me code and necessary suggestions? Thanks in advance. Regards, GM G M Shafiullah Master of Engineering (Research) Student Centre for Railway Engineering (CRE) Faculty of Sciences, Engineering and Health Central Queensland University Rockhampton, Qld 4702 AUSTRALIA Phone: 61 7 4930 9313 Mobile:61 4 3208 5800 Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 11:00 AM To: ns-users@ISI.EDU Subject: Ns-users Digest, Vol 47, Issue 25 Send Ns-users mailing list submissions to ns-users@isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of Ns-users digest... Today's Topics: 1. Re: help in emergency plz (abdqds) 2. Re: Calculating from trace file (abdqds) 3. Calculation from Trace file (Livian Zah) 4. reg power aware routing in wsn (Arunrajkumar Parthiban) 5. changing priority of 4 queues of EDCA dynamically (Basim Javed) 6. PHY error model feedback to MAC (Basim Javed) 7. Rate-limit and rate-limit-strategy (Arturo Servin) -- Message: 1 Date: Sun, 25 Nov 2007 17:13:19 -0800 (PST) From: abdqds [EMAIL PROTECTED] Subject: Re: [ns] help in emergency plz To: ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Basim Javed wrote: Dear all I am a newbie in NS2. I need an urgent help regarding; 1- I found many main() in C++ code, although I was expecting only one, which would control the whole NS - what does this mean? 2- Apparently 802.11e is not part of NS 2.31, and there is code available at some sites. How should I fit that separate code into the big NS 2.31; place of keeping it; recompiling steps etc? 3- Any help specifically to change the parameter set of EDCA, during start of superframes? How to do it, and any code available? 4- Do I need to understand the class hierarchy of NS 2.31 in order to run it after modifying or adding some code of my own? where to put that added code? steps involved? I would highly appreciate any help (even related to 802.11 context). Thank you very much. kind regards B hello Basim, plz provide information about the patch and web link so some can help. on the other hand you should have the instructions along with the patch file to use it with NS. regards, -- View this message in context: http://www.nabble.com/help-in-emergency-plz-tf4869385.html#a13942173 Sent from the ns-users mailing list archive at Nabble.com. -- Message: 2 Date: Sun, 25 Nov 2007 17:17:22 -0800 (PST) From: abdqds [EMAIL PROTECTED] Subject: Re: [ns] Calculating from trace file To: ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Gladiator Trojan wrote: Hello How can I calculate these following things From a Trace file ? 1.Throughput 2. Packet Drop Rate 3. GoodPut 4, Availabe BW Very urgent for me. - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. This is just an example awk script to calculate Throughput. It may help you. BEGIN { ue1_throughput=0; } { if($1==r $4==2 $5==tcp $8 == 0) { ue1_throughput = ue1_throughput + $6 - 40; } } END { print Throughputs for each user equipment - print Total throughput achieved by UE1: (ue1_throughput/10)*(8/1000) kbps; print End of Results; } -- View this message in context: http://www.nabble.com/Calculating-from-trace-file-tf4869595.html#a139422 93 Sent from the ns-users mailing list archive at Nabble.com. -- Message: 3 Date: Sun, 25 Nov 2007 18:08:27 -0800 (PST) From: Livian Zah [EMAIL PROTECTED] Subject: [ns] Calculation from Trace file To: NS-User ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 How can I calculate these following things From a Trace file ? 1.Throughput 2. Packet Drop Rate 3. GoodPut 4, Availabe BW I will higly appretaite anyone's suggestion. Thanks in advance. - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. -- Message: 4 Date: Mon, 26 Nov 2007 15:42:05 +0530 From: Arunrajkumar