hello everybody........
am using NS2 4 my thesis and simulating a wireless n/w... i need to compare performance metrics lik ( throughput,routing load, packet delay) for dsr and aodv... and i dont have idea for calculating these.... could anyone plz, help me in sharing me the sample code for these that retriving the datas from trace files...... thank u in advance, regards, Priyanka ________________________________ ________________________________ From: "ns-users-requ...@isi.edu" <ns-users-requ...@isi.edu> To: ns-users@ISI.EDU Sent: Thursday, 30 July, 2009 5:31:16 AM Subject: Ns-users Digest, Vol 67, Issue 29 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 ns-users-requ...@isi.edu You can reach the person managing the list at ns-users-ow...@isi.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Ns-users digest..." Today's Topics: 1. Re: Qos in routing protocol for ad hoc (qweq adcsad) 2. Priority Controll and different package size (Tom G) 3. Mobile node not handing over in mobile ip scenario (Oladapo Oluwadiya) 4. Re: awk scripts for calculating delay, throughput and packet loss in wireless networks (S.M. Fahim Al-Faruqui) 5. UWB + OLSR wirless network - A working combination. (2...@email.it) ---------------------------------------------------------------------- Message: 1 Date: Wed, 29 Jul 2009 01:00:20 -0700 (PDT) From: qweq adcsad <nill_akaser_t...@yahoo.com> Subject: Re: [ns] Qos in routing protocol for ad hoc To: ns-users@ISI.EDU, Yota Alexiou <giotuel1...@hotmail.com> Message-ID: <278170.90930...@web62408.mail.re1.yahoo.com> Content-Type: text/plain; charset=us-ascii 1)At first be specific. Determine which Link Metric is in ur consideration. 2)Then look for the suitable routing protocol that deals with those link metric in contributed code for NS2 . 3) If it is available, move forward; else write codes and incorporate it NS2 :( --- On Tue, 7/28/09, Yota Alexiou <giotuel1...@hotmail.com> wrote: > From: Yota Alexiou <giotuel1...@hotmail.com> > Subject: [ns] Qos in routing protocol for ad hoc > To: ns-users@ISI.EDU > Date: Tuesday, July 28, 2009, 1:48 PM > > > Hello!I am doing my thesis on qos in routing for ad hoc > networks!Has anyone got the qos version for AODV routing > protocol or any other routing protocol that supports qos > implemented in ns2??I would be really grateful if anyone > could help me beacuse I m running out of > time!!Pleaaaaaase!!! > > Thank you in advance!! > > _________________________________________________________________ > Show them the way! Add maps and directions to your party > invites. > http://www.microsoft.com/windows/windowslive/products/events.aspx > ------------------------------ Message: 2 Date: Wed, 29 Jul 2009 08:26:14 +0000 (GMT) From: Tom G <forenm...@yahoo.de> Subject: [ns] Priority Controll and different package size To: ns users <ns-users@ISI.EDU> Message-ID: <426274.54281...@web24714.mail.ird.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hi ns2 users 0 4 \ / 2------->3 / \ 1 5 I send audio data from Node 0 to Node 4. The Link between Node 2 and Node 3 should be scientific overloaded. Therefor there is further UDP Traffic from Node 1 to Node 5. The Audio Signals are realised with a RTP Agent and a RealAudio Application And here is my question: Why does my Priority control not work? (It's in the Funktion "attach-expoo-traffic") I guess I forgot something but I don't know what. Further my next problem? How can I change the RTP package size of my audio signals? Following my code: proc record {} { global ns sink4 sink5 f0 f1 f3 lf monFile ;#qmon samples #Get an instance of the simulator #Set the time after which the procedure should be called again set time 0.025 #How many bytes have been received by the traffic sinks? set bw0 [$sink4 set bytes_] set bw1 [$sink5 set bytes_] #Get the current time set now [$ns now] #Calculate the bandwidth (in MBit/s) and write it to the files puts $f0 "$now [expr $bw0/$time*8/1000000]" puts $f1 "$now [expr $bw1/$time*8/1000000]" puts $f3 "$now [expr ($bw0+$bw1)/$time*8/1000000]" #Reset the bytes_ values on the traffic sinks $sink4 set bytes_ 0 $sink5 set bytes_ 0 #Re-schedule the procedure $ns at [expr $now+$time] "record" } proc record1 {qmon samples} { global ns monFile set throughput [expr [$qmon set bdepartures_]*3.2/10000.9] set byteint [$qmon get-bytes-integrator] if {[$samples cnt] != 0} { set mean [$samples mean] } else { set mean 0 } puts $monFile "[$ns now] $throughput [$qmon set bdrops_] [$byteint set sum_] $mean" $qmon reset $samples reset $ns at [expr [$ns now]+0.025] "record1 $qmon $samples" } proc attach-expoo-traffic { node sink class size burst idle rate agent traffica } { global ns f2 monFile #Erzeugen neuer Agents und konfig. parameter setzen set source [new Agent/$agent] $source set fid_ $class $source set prio_ $class $ns attach-agent $node $source #Create an Expootraffic agent and set its configuration parameters set traffic [new Application/Traffic/$traffica] $traffic set packetSize_ $size $traffic set burst_time_ $burst $traffic set idle_time_ $idle $traffic set rate_ $rate # Attach traffic source to the traffic generator $traffic attach-agent $source #Connect the source and the sink $ns connect $source $sink puts $f2 "$traffic $node $sink $size $burst $idle $rate $agent $traffica $source $monFile" return $traffic } #Finishprozedur hinzuf?gen proc finish {} { global ns nf f0 f1 f2 f3 lf monFile $ns flush-trace close $f0 close $f1 close $f2 close $f3 close $nf close $lf close $monFile exec xgraph sink4.tr sink5.tr link2-3.tr -geometry 800x400+90+600 & exec xgraph queueStats.mon -geometry 800x400+90+80 & exec nam out1.nam & exit 0 } # new simulator / Neuer Simulator set ns [new Simulator] #Open the output files / ?ffnen neuer outputfiles set f0 [open sink4.tr w] set f1 [open sink5.tr w] set f2 [open out2.tr w] set f3 [open link2-3.tr w] set lf [open link.tr w] set monFile [open queueStats.mon w] #Open file for nam tracing set nf [open out1.nam w] $ns namtrace-all $nf #creating new nodes / Erzeugen von Nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] set n4 [$ns node] set n5 [$ns node] $n0 color "blue" $n1 color "green" $n2 color "black" $n3 color "black" $n4 color "blue" $n5 color "Green" $n0 label "Audio Source" $n1 label "PC1" $n2 label "Switch1" $n3 label "Switch2" $n4 label "Audio sink" $n5 label "PC2" #connect the nodes / Verbinden der Nodes $ns duplex-link $n0 $n2 10Mb 10ms DropTail $ns duplex-link $n1 $n2 10Mb 10ms DropTail $ns duplex-link $n3 $n2 10Mb 10ms DropTail $ns duplex-link $n4 $n3 100Mb 10ms DropTail $ns duplex-link $n5 $n3 100Mb 10ms DropTail #arrange the nodes / Anordnung der Nodes $ns duplex-link-op $n0 $n2 orient right-down $ns duplex-link-op $n1 $n2 orient right-up $ns duplex-link-op $n2 $n3 orient right $ns duplex-link-op $n3 $n4 orient right-up $ns duplex-link-op $n3 $n5 orient right-down #create the two sink / zwei Empf?nger erzeugen set sink4 [new Agent/LossMonitor] set sink5 [new Agent/LossMonitor] $ns attach-agent $n4 $sink4 $ns attach-agent $n5 $sink5 set qmon [$ns monitor-queue $n2 $n3 monFile] set samples [new Samples] $qmon set-delay-samples $samples $ns at 0.025 "record1 $qmon $samples" #create the two sources / zwei Sources erzeugen set rtp [attach-expoo-traffic $n0 $sink4 0 1500kb 0.02s 0.05s 0 RTP RealAudio] set udp [attach-expoo-traffic $n1 $sink5 2 5000kb 0.02s 0.05s 2500k UDP CBR] #distinguish the streams / Unterscheiden der Verkehrsstr?me $ns color 0 Blue $ns color 2 Green #watch the queue / ?berwachen der Warteschlange $ns duplex-link-op $n2 $n3 queuePos 0.5 $ns duplex-link-op $n3 $n2 queuePos 0.5 #$ns trace-queue $n2 $n3 $lf #start record / Aufnahme beginnen $ns at 0.0 "record" #define start stop / Sendebeginn und -ende definieren $ns at 0.2 "$udp start" $ns at 4.1 "$udp stop" $ns at 0.1 "$rtp start" $ns at 4.5 "$rtp stop" #fix simulation time / Simulationsdauer festlegen $ns at 6.0 "finish" #start simulation / starten der Simulation $ns run I hope someone could help me. kind regards Tom ------------------------------ Message: 3 Date: Wed, 29 Jul 2009 05:22:35 -0700 (PDT) From: Oladapo Oluwadiya <ooluwad...@yahoo.com> Subject: [ns] Mobile node not handing over in mobile ip scenario To: ns-users@ISI.EDU Message-ID: <291336.70576...@web35506.mail.mud.yahoo.com> Content-Type: text/plain; charset="us-ascii" Hi , It seems my mobile node handed over just once instead of three times.i noticed from the trace file that the R2,BS3,BS4 werent listed in the tr file events.more like the area border router didnt re-route via the second access router to the two other base stations.what do you think could be wrong? i assumed the base station coverage area is about 250m radius.could this be the issue?attached is the network diagram/schematic showing mobile node movement and tcl file regards dapo ------------------------------ Message: 4 Date: Tue, 28 Jul 2009 22:23:38 +0100 From: "S.M. Fahim Al-Faruqui" <smfa...@gmail.com> Subject: Re: [ns] awk scripts for calculating delay, throughput and packet loss in wireless networks To: Yota Alexiou <giotuel1...@hotmail.com> Cc: ns-users@ISI.EDU Message-ID: <d58e30080907281423j6effc983i4407b5dcd773d...@mail.gmail.com> Content-Type: text/plain; charset=windows-1252 Hello Giotue! I am also looking for the same thing. I have found a website which has some scripts but it doesn't aloow to download. You can have a look on them. http://en.pudn.com/downloads95/sourcecode/unix_linux/network/detail381235_en.html So, if you or anyone reading this email have the scripts for calculating delay, throughput and loss in wireless ad hoc networks please help. Thanks and regards, Fahim On Sat, Jul 25, 2009 at 9:43 PM, Yota Alexiou <giotuel1...@hotmail.com>wrote: > > > Hello everyone!! > Has anyone have any awk scripts for calculating delay, throughput and loss > in wireless ad hoc networks? > If yes, I would be GRATEFULL to send me those cause I need them for my > final project!! > Thank you all in advance!! > > Giotuel > > _________________________________________________________________ > Drag n? drop?Get easy photo sharing with Windows Live? Photos. > > http://www.microsoft.com/windows/windowslive/products/photos.aspx > ------------------------------ Message: 5 Date: Wed, 29 Jul 2009 14:29:36 +0200 From: 2...@email.it Subject: [ns] UWB + OLSR wirless network - A working combination. To: ns-users@ISI.EDU Message-ID: <927c0173937ed0ac264e4b4c67892...@151.100.17.24> Content-Type: text/plain; charset = "iso-8859-1" Hello Everyone, Is anyone aware of a working implementation for OLSR? I've tryed the um-OLSR with UWB merz module and 802_15_4 provided with NS2 but they are not working. Since i've seen some paper on the net comparing OLSR to other ad hoc routing protocols, i'like to know if there are some public implementation working with 802_15_4 + OLSR THank you very much in advice. Good bye Alexandra. -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it: http://www.email.it/f Sponsor: VOGLIA DI VACANZE ? I Costahotels sono gli alberghi specializzati in tour enogastronomici nell'entroterra Romagnolo. Rimini, Riccione, Misano. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9373&d=20090729 ------------------------------ _______________________________________________ Ns-users mailing list Ns-users@isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 67, Issue 29 **************************************** Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com