could any one send me the modification done to any of the manet routing protocol alongwith data structure and algorithm than in advance....
On Wed, 01 Mar 2006 [EMAIL PROTECTED] wrote : >Send Ns-users mailing list submissions to > [email protected] > >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: using awk with Aodv (Emanuele Vecchio) > 2. wireless2.tcl example in Marc Geis' tutorial > ([EMAIL PROTECTED]) > 3. Re: tk8.4.11 make failed! (Kevin.McGrath) > 4. modified RED error (Jaewoo Park) > 5. Re: tk8.4.11 make failed! (Emanuele Vecchio) > 6. Re: wireless2.tcl example in Marc Geis' tutorial (Sasan) > 7. Re: tk8.4.11 make failed! (Cenker Demir) > 8. DeferTimer and BackoffTimerr (Mohamed Youssef) > 9. nam on ason (nuri azlia) > 10. Re: DeferTimer and BackoffTimerr (ozgur ekici) > 11. Re: wireless scripts (maashari) > 12. Re: modified RED error (Soo-Hyun Choi) > 13. Re: Compiling error NS-2 on Solaris 9 (Emanuele Vecchio) > 14. Re: CBR over TCP ? (alaeddine abdallah) > 15. Doubt in AODV protocol and NRTE error (A Anupama) > 16. Re: check simulation results of LEACH on ns-2.27 (Soo-Hyun Choi) > 17. Re: using awk with Aodv (Sasan) > 18. Re: CBR over TCP ? (kaibai) > 19. wireless lan scripts (ravi kumar) > 20. Queue - Monitoring problems - help needed! (Mark Shifrin) > 21. multiple queues? (Hari Prassadh) > 22. Queue Monitoring problem - urgent help needed! (Mark Shifrin) > 23. How to speed up ns-2 simulations (Michele Battelli) > 24. How to plot TCP throughput? (Aldabbagh Ghadah) > 25. memory full due to large simulations (venusian .) > 26. nam visualisation command on ason nodes~ help me URGENT~ > (nuri azlia) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Mon, 27 Feb 2006 21:20:56 +0100 > From: "Emanuele Vecchio" <[EMAIL PROTECTED]> >Subject: Re: [ns] using awk with Aodv >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > >On Mon, 27 Feb 2006 23:04:24 +0500, venusian . wrote > > And besides can anyone tell me how can i calculate the dropped, > > received,sent packets using awk script. if anyone has the awk script > > to calculate them then plz send me. > >Have you searched the NS source directory? I've found several awk script in >"tcl/ex" tree, and some of them are directly included in .tcl files. Read the >source to find which of them suites your needs: I tested none. > >BTW, if you have Perl installed you can have a look at this: >http://mailman.isi.edu/pipermail/ns-users/2006-February/054151.html >http://mailman.isi.edu/pipermail/ns-users/2006-February/054155.html > >Hope it helps, >-- >:::: Emanuele Vecchio :::: >Happy Debian GNU/Linux User >::::: [EMAIL PROTECTED] :::::: > > > >------------------------------ > >Message: 2 >Date: Mon, 27 Feb 2006 23:19:50 +0300 > From: [EMAIL PROTECTED] >Subject: [ns] wireless2.tcl example in Marc Geis' tutorial >To: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >Hi all, > >I tried this example and I got the follwoing error: >*************************************************************** >[EMAIL PROTECTED] ~ >$ ns wireless2.tcl >num_nodes is set 4 >warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl >INITIALIZE THE LIST xListHead >*** NOTE: no connection pattern specified. >Loading scenario file... >couldn't read file "../mobility/scene/scen-3-test": no such file or directory > while executing >"source.orig ../mobility/scene/scen-3-test" > ("uplevel" body line 1) > invoked from within >"uplevel source.orig [list $fileName]" > invoked from within >"if [$instance_ is_http_url $fileName] { >set buffer [$instance_ read_url $fileName] >uplevel eval $buffer >} else { >uplevel source.orig [list $fileName] >..." > (procedure "source" line 8) > invoked from within >"source $opt(sc)" > invoked from within >"if { $opt(sc) == "" } { > puts "*** NOTE: no scenario file specified." > set opt(sc) "none" >} else { > puts "Loading scenario file..." > source $op..." > (file "wireless2.tcl" line 183) > >*************************************************************** >the scenario file is available in my computer, I changed the path for several >and different ways. I don't know what's the correct path for this file. >in my pc the path is: > >C:\cygwin\home\Administrator\ns-allinone-2.29\ns-2.29\tcl\mobility\scene > >I read before that there is an error in this example ??!! >thank you in advance > > >---------------------------------------------------------------- >This message was sent using IMP, the Internet Messaging Program. > > > >------------------------------ > >Message: 3 >Date: Mon, 27 Feb 2006 20:36:44 -0000 > From: "Kevin.McGrath" <[EMAIL PROTECTED]> >Subject: Re: [ns] tk8.4.11 make failed! >To: <[email protected]> >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="us-ascii" > > >Help ... please! > > > > > >-----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf Of Kevin.McGrath >Sent: 26 February 2006 21:24 >To: [email protected] >Subject: [ns] tk8.4.11 make failed! > > > > > > >Hi > > > >I attempted to install ns-2 (v2.29) on a linux workstation (distro fc3, >with gcc version 3.4.2) here, unfortunately the following error >appeared. Suggestions appreciated > >Regards > >Kevin > > > > > >.......... > > > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1391: > >error: invalid operands to binary * > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1391: > >error: syntax error before ')' token > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1394: > >error: request for member `borderTable' in something not a structure or >union > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1394: > >error: request for member `borderTable' in something not a structure or >union > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1396: > >error: syntax error before ')' token > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c: > >In function `Tk_Get3DBorder': > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:193: > >warning: statement with no effect > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c: > >In function `Tk_Draw3DPolygon': > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:850: > >warning: value computed is not used > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:850: > >warning: value computed is not used > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c: > >At top level: > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1134: > >error: storage size of `shiftTable' isn't known > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:31: > >warning: 'BorderInit' declared `static' but never defined > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:35: > >warning: 'Intersect' declared `static' but never defined > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:38: > >warning: 'ShiftLine' declared `static' but never defined > >/home/kpmcgrath/workarea/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d. >c:1120: > >warning: 'shiftTable' defined but not used > >make: *** [tk3d.o] Error 1 > >tk8.4.11 make failed! Exiting ... > >For problems with Tcl/Tk see http://www.scriptics.com ><http://www.scriptics.com/> [EMAIL PROTECTED] ns-allinone-2.29]$ > > > > > > > >------------------------------ > >Message: 4 >Date: Mon, 27 Feb 2006 14:22:59 -0800 (PST) > From: Jaewoo Park <[EMAIL PROTECTED]> >Subject: [ns] modified RED error >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > >Dear ns-users > I've modified RED in ns-2.28 in a recent version of Red Hat. > But I get messages such as > > ***glibc detected***corrupted double-linked list: 0x09b70ec0*** > Aborted > ***glibc detected***malloc(): memory corruption (fast): 0x0977f510*** > Aborted > > when I run the tcl script. > What does this indicate? > > I appreciate your help in advance. > Sincerely > Jae > > > >--------------------------------- >Relax. Yahoo! Mail virus scanning helps detect nasty viruses! > >------------------------------ > >Message: 5 >Date: Tue, 28 Feb 2006 00:00:46 +0100 > From: "Emanuele Vecchio" <[EMAIL PROTECTED]> >Subject: Re: [ns] tk8.4.11 make failed! >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > >On Mon, 27 Feb 2006 20:36:44 -0000, Kevin.McGrath wrote > > Help ... please >[snip] > > For problems with Tcl/Tk see http://www.scriptics.com > > <http://www.scriptics.com/> > >First: have you searched http://www.tcl.tk/ for help? > >Second: maybe we could help you if you post the parameters and output of >./configure > >-- >:::: Emanuele Vecchio :::: >Happy Debian GNU/Linux User >::::: [EMAIL PROTECTED] :::::: > > > >------------------------------ > >Message: 6 >Date: Tue, 28 Feb 2006 00:03:40 +0000 > From: Sasan <[EMAIL PROTECTED]> >Subject: Re: [ns] wireless2.tcl example in Marc Geis' tutorial >To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Cc: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >change > >"../mobility/scene/scen-3-test" > >in the script to point to the exact location of the scenario file > >S. > > >On 2/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Hi all, > > > > I tried this example and I got the follwoing error: > > *************************************************************** > > [EMAIL PROTECTED] ~ > > $ ns wireless2.tcl > > num_nodes is set 4 > > warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl > > INITIALIZE THE LIST xListHead > > *** NOTE: no connection pattern specified. > > Loading scenario file... > > couldn't read file "../mobility/scene/scen-3-test": no such file or > > directory > > while executing > > "source.orig ../mobility/scene/scen-3-test" > > ("uplevel" body line 1) > > invoked from within > > "uplevel source.orig [list $fileName]" > > invoked from within > > "if [$instance_ is_http_url $fileName] { > > set buffer [$instance_ read_url $fileName] > > uplevel eval $buffer > > } else { > > uplevel source.orig [list $fileName] > > ..." > > (procedure "source" line 8) > > invoked from within > > "source $opt(sc)" > > invoked from within > > "if { $opt(sc) == "" } { > > puts "*** NOTE: no scenario file specified." > > set opt(sc) "none" > > } else { > > puts "Loading scenario file..." > > source $op..." > > (file "wireless2.tcl" line 183) > > > > *************************************************************** > > the scenario file is available in my computer, I changed the path for > > several > > and different ways. I don't know what's the correct path for this file. > > in my pc the path is: > > > > C:\cygwin\home\Administrator\ns-allinone-2.29\ns-2.29\tcl\mobility\scene > > > > I read before that there is an error in this example ??!! > > thank you in advance > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > > > >-- >Plan for things to go wrong, Design for things to go right >S+ > > >------------------------------ > >Message: 7 >Date: Mon, 27 Feb 2006 20:35:28 -0500 (EST) > From: Cenker Demir <[EMAIL PROTECTED]> >Subject: Re: [ns] tk8.4.11 make failed! >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=UTF-8 > > >Try a different version of tk, you might need to change some parameters >with configure, or install (if it is an allinone-2.29) > > >Emanuele Vecchio wrote: > > > > > >On Mon, 27 Feb 2006 20:36:44 -0000, Kevin.McGrath wrote > >> Help ... please > >[snip] > >> For problems with Tcl/Tk see http://www.scriptics.com > >> <http://www.scriptics.com/> > > > >First: have you searched http://www.tcl.tk/ for help? > > > >Second: maybe we could help you if you post the parameters and output of > >./configure > > > >-- > >:::: Emanuele Vecchio :::: > >Happy Debian GNU/Linux User > >::::: [EMAIL PROTECTED] :::::: > > > > > > > >------------------------------ > >Message: 8 >Date: Mon, 27 Feb 2006 20:32:36 -0500 > From: "Mohamed Youssef" <[EMAIL PROTECTED]> >Subject: [ns] DeferTimer and BackoffTimerr >To: <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="iso-8859-1" > > > >Hello, > > > > I am trying to modify the code of the MAC layer in ns-2. I am getting >confused about the difference between ?DeferTimer? and ?BackoffTimer?. I >have the impression that ns-2 is backing off twice before sending a packet. >Anyone can help?? > > > > > >Mohamed Youssef > >Universit? de Sherbrooke > > > > >-- >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 > > > >-- >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 > > > >------------------------------ > >Message: 9 >Date: Mon, 27 Feb 2006 18:10:16 -0800 (PST) > From: nuri azlia <[EMAIL PROTECTED]> >Subject: [ns] nam on ason >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=us-ascii > >hi ns users, > >if anyone know how to command the 'nam' programming for ason nodes.. i tried >before and there is a problems that have failure in the link. by the way,i'm >using the usual command for nam in order to see how the systems work.. > >hope anyone that have used the ason nodes can help > >advance thanks for ypur cooperation. > >-nuri- >QoS on GMPLS > >------------------------------ > >Message: 10 >Date: Mon, 27 Feb 2006 22:12:16 -0500 > From: "ozgur ekici" <[EMAIL PROTECTED]> >Subject: Re: [ns] DeferTimer and BackoffTimerr >To: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >Hi, > >In the DCF media access, the node must sense the wireless channel to >be idle for a DIFS period before it can attempt to transmit. If the >medium is determined to be busy (either NAV or physical carrier sense) >the terminal waits until the end of the current transmission before >initiating a backoff procedure. THIS IS CALLED DEFERAL. After sensing >the channel available at least DIFS period, then the station randomly >selects a backoff counter and goes into BACKOFF stage. > >On 2/27/06, Mohamed Youssef <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello, > > > > > > > > I am trying to modify the code of the MAC layer in ns-2. I am getting > > confused about the difference between "DeferTimer" and "BackoffTimer". I > > have the impression that ns-2 is backing off twice before sending a packet. > > Anyone can help?? > > > > > > > > > > > > Mohamed Youssef > > > > Universit? de Sherbrooke > > > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 > > > > > > > >------------------------------ > >Message: 11 >Date: Tue, 28 Feb 2006 08:25:30 +0400 > From: "maashari" <[EMAIL PROTECTED]> >Subject: Re: [ns] wireless scripts >To: <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="iso-8859-1" > >Ravi, > >the files with an extension .tr are not executable/runable files... they are >trace files that log simulation activities... >you can use any text editor to read its contents.. plus you can script a >bash/awk/etc... to make use of the information within this log (e.g. >received/transmitted ratio, delays, No. dropped packets, etc...) > >Please refer to this nice tutorial which has an example of access point: > >"ns-2 for the impatient by Imad Aad and Jean-Pierre Hubaux" > >Ahmed > >----- Original Message ----- > From: "ravi kumar" <[EMAIL PROTECTED]> >To: <[email protected]>; <[EMAIL PROTECTED]> >Sent: Monday, February 27, 2006 10:58 PM >Subject: [ns] wireless scripts > > > >hi, >how can i run *.tr file. > >i am working in WLAN. i am facing a problem to configure access point. >can anybody send me the wireless scripts,especially access point.sothat > >i could continue my work. > > > > > >------------------------------ > >Message: 12 >Date: Tue, 28 Feb 2006 13:33:01 +0000 > From: "Soo-Hyun Choi" <[EMAIL PROTECTED]> >Subject: Re: [ns] modified RED error >To: "Jaewoo Park" <[EMAIL PROTECTED]> >Cc: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >what have you modified for RED and what sort of tcl script did you run? > > >On 2/27/06, Jaewoo Park <[EMAIL PROTECTED]> wrote: > > > > Dear ns-users > > I've modified RED in ns-2.28 in a recent version of Red Hat. > > But I get messages such as > > > > ***glibc detected***corrupted double-linked list: 0x09b70ec0*** > > Aborted > > ***glibc detected***malloc(): memory corruption (fast): 0x0977f510*** > > Aborted > > > > when I run the tcl script. > > What does this indicate? > > > > I appreciate your help in advance. > > Sincerely > > Jae > > > > > > > > --------------------------------- > > Relax. Yahoo! Mail virus scanning helps detect nasty viruses! > > > > > >------------------------------ > >Message: 13 >Date: Tue, 28 Feb 2006 08:44:07 +0100 > From: "Emanuele Vecchio" <[EMAIL PROTECTED]> >Subject: Re: [ns] Compiling error NS-2 on Solaris 9 >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > >On Mon, 27 Feb 2006 19:39:04 -0000 (GMT), Sasan Sahraei wrote > > I get the following when compiling on Solaris 9. Which header should > > I replace? Any comments? idea? will be very appreciated. > >I got similar problem under HP-UX, but ot exactly the same, so here some >question for you ... :-) >- which compiler are you using? g++ or something else? >- is the Makefile correct? I saw some errors which stuck my compiling such as >"CFLAGS += $(DEFINE)" >- does your system support standard namespace in C++? >Try posting the output of ./configure, maybe something went wrong there. > >-- >:::: Emanuele Vecchio :::: >Happy Debian GNU/Linux User >::::: [EMAIL PROTECTED] :::::: > > > >------------------------------ > >Message: 14 >Date: Tue, 28 Feb 2006 08:59:52 -0500 > From: "alaeddine abdallah" <[EMAIL PROTECTED]> >Subject: Re: [ns] CBR over TCP ? >To: "Mohammad Zubair Ahmad" <[EMAIL PROTECTED]>, kaibai > <[EMAIL PROTECTED]>, Sasan <[EMAIL PROTECTED]> >Cc: ns users <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >Thank you all for your remarks, > >I said in the first mail that simulation with CBR traffic and TCP was >working but the problem was that the pacet size of CBR was ignored and the >rate at the destination was not constant. > >In fact, the CBR is in the application layer and the TCP is in the transport >layer. So the CBR is sending packets (having the CBR packetSize) in a >constant rate, than if TCP cannot send packetsin the same rate(depending on >Tcp packetSize, etc) , CBR packets will be waiting and that's why we cannot >observe a constant bit rate at the destination. > >So finally, the CBR traffic seems to be a good application to compare UDP >and TCP. > >isn't it ? > > >------------------------------ > >Message: 15 >Date: Tue, 28 Feb 2006 09:07:56 +0530 > From: "A Anupama" <[EMAIL PROTECTED]> >Subject: [ns] Doubt in AODV protocol and NRTE error >To: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >Hi all, > I am simulating AODV protocol on NS2. In the trace file I found a line >like > >D 166.721982758 _4_ RTR NRTE 3267 cbr 532 [0 0 0 0] ------- [4:1 6:0 30 >0] [16] 0 0 >i.e a cbr packet is sent at node 4 is dropped at 166.721982758 due to the >error NRTE (DROP_RTR_NO_ROUTE). Actually the packet is generated at 146.9.. >and route finding mechanism started at that time only... but, the receiver >is not sending reply ( I changed the code for not to send the reply). But, > from where this message is generated ? and what happened to the cbr packets >0-15 sent by the same node ? > >I am not able to understand, when NRTE error will be generated and depending >on what it will be generated? Is it in anyway depends on rt_req_timeout >field of routing table entry ? How and when this kind of error is generated >? > >Anyone Please help.... I am in urgent requirement to know about this ... > >Thanks & Regards > >Anupama A > > >------------------------------ > >Message: 16 >Date: Tue, 28 Feb 2006 13:46:23 +0000 > From: "Soo-Hyun Choi" <[EMAIL PROTECTED]> >Subject: Re: [ns] check simulation results of LEACH on ns-2.27 >To: "YoungTae Noh" <[EMAIL PROTECTED]> >Cc: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >What if you run the same simulation to the paper(s)? Anyway, you'd >better speak to the original authors for this. > >On 2/27/06, YoungTae Noh <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > thx in advance, I built LEACH on ns-2.27. > > > > To check that the LEACH works correctly, after changing some > > parameter, I simulated wireless.tcl file based on leach_test shell > > script file. > > > > > > With these changed parameters (in leach_test file) > > ------------------------------------------------------------------------------------------- > > # energy values. How much energy does each node have initially > > eq_energy=1 > > init_energy=0.25 > > # stop is the time to stop the simulation if it is still running > > stop=250 > > # x,y is the size of the field > > x=1000 > > y=1000 > > # bs_x, bs_y is the location of the base station in the field. > > bs_x=50 > > bs_y=150 > > ------------------------------------------------------------------------------------------- > > In addition to, > > > > Since the field 100by100 is changed into 50by50, > > the coordinates of all nodes (in ns-2.27\mit\uAMPS\sims\100nodes.txt) > > are divided by 2. > > ------------------------------------------------------------------------------------------- > > > > > > > > > > These changed parameters are for comparing results from this with the > > results from the original paper below. > > > > W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, "Energy-efficient > > routing protocols for wireless microsensor networks," in Proc. > > 33rd Hawaii Int. Conf. System Sciences (HICSS), Maui, HI, Jan. 2000. > > > > > > > > > > > > Unfortunately, the results bt'n two simultions are very different! > > > > > > > > > > With using these parameters, my result in 'leach.out' file is around > > -------------------------------------- > > > > At 139.09999999999638: > > Total Energy = 40.297139964540001 > > Total Data = 2510 > > Total Alive = 4 > > > > Simulation complete. > > > > -------------------------------------- > > > > In this simulation,cluster heads are changed every 2.5sec. (thus, 56 > > rounds totally) > > > > > > But, in W. Heinzelman's paper, when the last node dies, the number of > > total rounds is 665 with the same parameters. > > > > > > This is somewhat strange. > > > > > > > > So, I want to ask you, > > > > > > Did I make some mistakes? > > > > Or, should I port LEACH on NS-2.1b5 ? > > > > Thank for reading this. > > > > > > > > > > > > Hopely, waiting for reply. > > > > > > > >------------------------------ > >Message: 17 >Date: Tue, 28 Feb 2006 16:11:57 +0000 > From: Sasan <[EMAIL PROTECTED]> >Subject: Re: [ns] using awk with Aodv >To: "Emanuele Vecchio" <[EMAIL PROTECTED]> >Cc: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >you can simply write the awk script , its only a single line > >i.e. awk / $1 == `s`/ {print $n} trace file > >n = column representing the receive/dropped or send packet. actually it >could need some modifications. > > >On 2/27/06, Emanuele Vecchio <[EMAIL PROTECTED]> wrote: > > > > > > On Mon, 27 Feb 2006 23:04:24 +0500, venusian . wrote > > > And besides can anyone tell me how can i calculate the dropped, > > > received,sent packets using awk script. if anyone has the awk script > > > to calculate them then plz send me. > > > > Have you searched the NS source directory? I've found several awk script > > in > > "tcl/ex" tree, and some of them are directly included in .tcl files. Read > > the > > source to find which of them suites your needs: I tested none. > > > > BTW, if you have Perl installed you can have a look at this: > > http://mailman.isi.edu/pipermail/ns-users/2006-February/054151.html > > http://mailman.isi.edu/pipermail/ns-users/2006-February/054155.html > > > > Hope it helps, > > -- > > :::: Emanuele Vecchio :::: > > Happy Debian GNU/Linux User > > ::::: [EMAIL PROTECTED] :::::: > > > > > > >-- >Plan for things to go wrong, Design for things to go right >S+ > > >------------------------------ > >Message: 18 >Date: Tue, 28 Feb 2006 08:44:55 -0700 > From: kaibai <[EMAIL PROTECTED]> >Subject: Re: [ns] CBR over TCP ? >To: "'alaeddine abdallah'" <[EMAIL PROTECTED]>, "'Mohammad > Zubair Ahmad'" <[EMAIL PROTECTED]>, "'Sasan'" <[EMAIL PROTECTED]> >Cc: 'ns users' <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="us-ascii" > >Sounds good. Thank you! > > > >Regards, > >Kai > > > > _____ > > From: alaeddine abdallah [mailto:[EMAIL PROTECTED] >Sent: Tuesday, February 28, 2006 7:00 AM >To: Mohammad Zubair Ahmad; kaibai; Sasan >Cc: ns users >Subject: Re: [ns] CBR over TCP ? > > > >Thank you all for your remarks, > >I said in the first mail that simulation with CBR traffic and TCP was >working but the problem was that the pacet size of CBR was ignored and the >rate at the destination was not constant. > >In fact, the CBR is in the application layer and the TCP is in the transport >layer. So the CBR is sending packets (having the CBR packetSize) in a >constant rate, than if TCP cannot send packetsin the same rate(depending on >Tcp packetSize, etc) , CBR packets will be waiting and that's why we cannot >observe a constant bit rate at the destination. > >So finally, the CBR traffic seems to be a good application to compare UDP >and TCP. > >isn't it ? > > > >------------------------------ > >Message: 19 >Date: 28 Feb 2006 17:24:28 -0000 > From: "ravi kumar" <[EMAIL PROTECTED]> >Subject: [ns] wireless lan scripts >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > > ?hi, >i am working enhancement of QOS of wireless lan.can anybody help me how to >create wireless lan scripts or can send simple wireless lan topology scripts . >please reply me immediately. > > >------------------------------ > >Message: 20 >Date: Tue, 28 Feb 2006 19:35:56 +0200 > From: "Mark Shifrin" <[EMAIL PROTECTED]> >Subject: [ns] Queue - Monitoring problems - help needed! >To: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="iso-8859-1" > > > Hello to everybody who attends this list, > > I am a new ns2 user so may be this question will look simple to many of > > you: > > My objective is to monitor the queue length of the bottleneck link > > between router and server which i limited as follows: > > $ns queue-limit $n_router $n_server $buffer_size > > The buffer size is an integer number (in my case it was 362). Then i > > defined the instance of the queue-monitoring object as follows: > > set qmon [$ns monitor-queue $n_router $n_server ""] > > and i zeroed the fields i need to monitor at the start of simulation like > > this: > > $ns at $sim_trace_start "$qmon set pdepartures_ 0 ; \ > > $qmon set parrivals_ 0 ; \ > > $qmon set pdrops_ 0 ; \ > > $qmon set pkts_ 0; " > > Then i tried to print the intantaneous size of the queue by approaching > > fields pkts_, and also reading the feild pdrops_, by printing them into the > > file, > > in a for-loop defined as follows: > > for {set t $sim_trace_start} {$t <= $sim_end} {set t [expr > > $t+$time_slice]} { > > ..... > > ... > > set log2 "set cur_arrivals \[$qmon set parrivals_\] ; \ > > set cur_departures \[$qmon set pdepartures_\] ; \ > > set cur_drops \[$qmon set pdrops_\] ; \ > > set cur_pack \[$qmon set pkts_\] ; \ > > set cur_queue \[expr > > \$cur_arrivals-\$cur_departures-\$cur_drops\] ; \ > > set cur_bpercentage \[expr > > \$cur_pack*100.0/\$buffer_size\] > > ; \ > > puts $qfile \"$t \t \$cur_queue \t \$cur_arrivals \t > > \$cur_departures \t \$cur_drops \t \$cur_pack \t \$cur_bpercentage \"; " > > .... > > .... > > $ns at $t $log2 > > } > > > > However - the pdrops_ is always 0 and the queue length exceeds the limit! > > i.e. the pkts_ is more then the limit i defined (=362) and constantly > > grows! > > Why?? PLease someone help me in this obstacle the script is attached, > > thank you for your time everybody, > > Best Regards, > > Mark, Technion. > > > >------------------------------ > >Message: 21 >Date: Tue, 28 Feb 2006 23:19:15 +0530 > From: "Hari Prassadh" <[EMAIL PROTECTED]> >Subject: [ns] multiple queues? >To: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1 > >hi, > can someone tell me how to implement multiple queues in the mac >layer? i want to categorize the outgoing packets in terms of a >priority level. is it possible to implement this? > >thanking in advance, >hari > > > >------------------------------ > >Message: 22 >Date: Tue, 28 Feb 2006 20:08:12 +0200 > From: "Mark Shifrin" <[EMAIL PROTECTED]> >Subject: [ns] Queue Monitoring problem - urgent help needed! >To: [email protected] >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="iso-8859-1" > >Hello to everybody who attends this list, >I am a new ns2 user so may be this question will look simple to many of you: >My objective is to monitor the queue length of the bottleneck link between >router and server which i limited as follows: >$ns queue-limit $n_router $n_server $buffer_size >The buffer size is an integer number (in my case it was 362). Then i defined >the instance of the queue-monitoring object as follows: >set qmon [$ns monitor-queue $n_router $n_server ""] >and i zeroed the fields i need to monitor at the start of simulation like >this: >$ns at $sim_trace_start "$qmon set pdepartures_ 0 ; \ > $qmon set parrivals_ 0 ; \ > $qmon set pdrops_ 0 ; \ > $qmon set pkts_ 0; " >Then i tried to print the intantaneous size of the queue by approaching >fields pkts_, and also reading the feild pdrops_, by printing them into the >file, >in a for-loop defined as follows: >for {set t $sim_trace_start} {$t <= $sim_end} {set t [expr $t+$time_slice]} >{ >..... >... >set log2 "set cur_arrivals \[$qmon set parrivals_\] ; \ > set cur_departures \[$qmon set pdepartures_\] ; \ > set cur_drops \[$qmon set pdrops_\] ; \ > set cur_pack \[$qmon set pkts_\] ; \ > set cur_queue \[expr >\$cur_arrivals-\$cur_departures-\$cur_drops\] ; \ > set cur_bpercentage \[expr \$cur_pack*100.0/\$buffer_size\] >; \ > puts $qfile \"$t \t \$cur_queue \t \$cur_arrivals \t >\$cur_departures \t \$cur_drops \t \$cur_pack \t \$cur_bpercentage \"; " >.... >.... >$ns at $t $log2 >} > >However - the pdrops_ is always 0 and the queue length exceeds the limit! >i.e. the pkts_ is more then the limit i defined (=362) and constantly grows! >Why?? PLease someone help me in this obstacle the script is attached, thank >you for your time everybody, >Best Regards, >Mark, Technion. > > <?view=att&disp=attd&attid=0.1&th=109b0e578b0bef7f> >*experiment.tcl* >12K Download <?view=att&disp=attd&attid=0.1&th=109b0e578b0bef7f> > >ReplyForward > > > > > > > Mark Shifrin to ns-users > More options 7:35 pm (30 minutes ago) >- Show quoted text - > > Hello to everybody who attends this list, > > I am a new ns2 user so may be this question will look simple to many of > > you: > > My objective is to monitor the queue length of the bottleneck link > > between router and server which i limited as follows: > > $ns queue-limit $n_router $n_server $buffer_size > > The buffer size is an integer number (in my case it was 362). Then i > > defined the instance of the queue-monitoring object as follows: > > set qmon [$ns monitor-queue $n_router $n_server ""] > > and i zeroed the fields i need to monitor at the start of simulation like > > this: > > $ns at $sim_trace_start "$qmon set pdepartures_ 0 ; \ > > $qmon set parrivals_ 0 ; \ > > $qmon set pdrops_ 0 ; \ > > $qmon set pkts_ 0; " > > Then i tried to print the intantaneous size of the queue by approaching > > fields pkts_, and also reading the feild pdrops_, by printing them into the > > file, > > in a for-loop defined as follows: > > for {set t $sim_trace_start} {$t <= $sim_end} {set t [expr > > $t+$time_slice]} { > > ..... > > ... > > set log2 "set cur_arrivals \[$qmon set parrivals_\] ; \ > > set cur_departures \[$qmon set pdepartures_\] ; \ > > set cur_drops \[$qmon set pdrops_\] ; \ > > set cur_pack \[$qmon set pkts_\] ; \ > > set cur_queue \[expr > > \$cur_arrivals-\$cur_departures-\$cur_drops\] ; \ > > set cur_bpercentage \[expr > > \$cur_pack*100.0/\$buffer_size\] > > ; \ > > puts $qfile \"$t \t \$cur_queue \t \$cur_arrivals \t > > \$cur_departures \t \$cur_drops \t \$cur_pack \t \$cur_bpercentage \"; " > > .... > > .... > > $ns at $t $log2 > > } > > > > However - the pdrops_ is always 0 and the queue length exceeds the limit! > > i.e. the pkts_ is more then the limit i defined (=362) and constantly > > grows! > > Why?? PLease someone help me in this obstacle the script is attached, > > thank you for your time everybody, > > Best Regards, > > Mark, Technion. > > > > ><?view=att&disp=attd&attid=0.1&th=109b1bb0191427b8> >*experiment.tcl* >12K Download <?view=att&disp=attd&attid=0.1&th=109b1bb0191427b8> > >ReplyForward > > > > > > > [EMAIL PROTECTED] to *logout* > More options 7:12 pm (53 minutes ago) > >Welcome to posting to the ns-users mailing list! > >We automatically send this message to every new person who sends mail >to the list. You should only receive it once. My apologies if the >program contacts you twice, perhaps because you have multiple e-mail >addresses or send mail from multiple machines. > >If you are an experienced ns-user who simply has not posted since we >started using this responder, our apologies for inconveniencing you >with this message. This message is intended to help inform users and >cut down on redundant posts, which benefits everyone. > >Please look at the attached list of ns Frequently Asked Questions. >If it answers your question, great! You're done. >If not, please RE-SEND your original message to [EMAIL PROTECTED] >A copy of your original message is included below for reference. > >You will NOT have to do re-send your message every time you post, only >the FIRST time you send from a new account. The goal is to quickly >help new users find the FAQ (hopefully answering their question). > >Thanks, > -the ns development team > >------------------------------ > >Message: 23 >Date: Tue, 28 Feb 2006 13:20:30 -0500 > From: Michele Battelli <[EMAIL PROTECTED]> >Subject: [ns] How to speed up ns-2 simulations >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="iso-8859-1" > >Hi all, > I am facing the problem of speeding up ns-2 simulations. I have my own >agent and I do simulation on wireless networks with up to 600 nodes. I >don't use any routing agent nor I use traffic generators. >Assuming that my agent is internally well optimized, I tried to reduce >the number of "things" that ns-2 does in order to avoid unnecessary >computation. The first thing was to I avoid the use of GOD. Second, I >disabled all the tracing from my Tcl script. >Unfortunately I could not disable the creation of the trace file, i.e., >I could not get rid of the following lines: > >set tracefd [open wireless-out.tr w] >$ns_ trace-all $tracefd > >without getting an error. > >I would like to know 1) if I can totally disable any internal tracing 2) >if there are other things that I can disable to make ns-2 run faster >either in the C part of the simulator or though Tcl script. > >Thank you in advance, >Regards >Michele Battelli > >------------------------------ > >Message: 24 >Date: Tue, 28 Feb 2006 11:02:10 -0800 (PST) > From: Aldabbagh Ghadah <[EMAIL PROTECTED]> >Subject: [ns] How to plot TCP throughput? >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > >Hi, > How could I plot the throughput of a TCP connection of a network??? I > tried to use Marc Greis's tutorial example but 0 throughput is displayed for > my TCP connection. > Could someone please, help me? > Ghadah > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >------------------------------ > >Message: 25 >Date: Wed, 01 Mar 2006 00:17:53 +0500 > From: "venusian ." <[EMAIL PROTECTED]> >Subject: [ns] memory full due to large simulations >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; format=flowed > >hieee, > >the problem i'm facing is not directly related to NS-2 but its caused b'coz >of it so i'm posting it (coz someone else might hav faced it earlier. > >i ran about 10 simulations in NS-2 and haved the .tr file with different >names. while doing so i didn't realize that the size of files was huge >enough for my OS to handle. so after some time it stopped responding. i >restarted the computer but linux is not working at all. after doing the >initial test and allocating spaces etc ( which it performs at linux startup) >it shows a blank screen. i have a dual boot OS, and the other one is windows >2000, and it is working fine. i saw that the space i allocated for linux >partitions is almost full only few MBs is left. > >if someone has any idea how i can get the linux start working again plz do >let me know....coz i hav important data which i can't compromise. > >Thanking in Advance > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today it's FREE! >http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > >------------------------------ > >Message: 26 >Date: Tue, 28 Feb 2006 11:43:49 -0800 (PST) > From: nuri azlia <[EMAIL PROTECTED]> >Subject: [ns] nam visualisation command on ason nodes~ help me URGENT~ >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=us-ascii > >hi , > >have anyone know the specific command for nam visualisation for ason nodes. i >try the basic command for nam,but it seems not working. Hope you all can help >me on this. > >thanks in advance > >-nuri- > >------------------------------ > >_______________________________________________ >Ns-users mailing list >[email protected] >http://mailman.isi.edu/mailman/listinfo/ns-users > > >End of Ns-users Digest, Vol 26, Issue 30 >**************************************** ...kothari...
