[ns] Normalized Data Load
Routing overhead : the number of transmitted control packets. For multi-hop communication, each transmission of the packet is taken into account. Data: the number of delivered data packets. Normalized Data Load : de#64257;ned by Data / RoutingOverhead Here is my awk script to measure Normalized Data Load but i'm not sure if is correct..can someone help me with this matter? BEGIN { rec=0 byte=0; } /^f|^s/ /RTR/ /-It (\?:|AODV|DSR)/ {byte+=$37}# Total number of transmitted packets /^r/ /AGT/ /-It cbr/ {rec++}# Number of delivered data packet END { ro = (byte); # Routing Overhead nrl = (rec/ro); # Normalized Data Load printf ( Data : ); printf (rec); printf (\n) printf ( Routing Overhead : ); printf (ro) printf (\n) printf (Normalized Data Load : ); printf (nrl); printf (\n) } __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] throughput.awk delay.awk pkt_loss.awk problem
I would like to use awk to run output (throughput, delay and packet loss) I try to run awk script as stated in this link: http://mailman.isi.edu/pipermail/ns-users/2004-September/044664.html When i try to run throughput.awk I got this: awk: throughput.awk:47: (FILENAME=aodv-50-0-20.tr FNR=245464) fatal: division by zero attempted When i run delay.awk I got this: awk: delay.awk:42: %g\n,pkt_id,time,pkt_id,recv[pkt_id]-send[pkt_id]) awk: delay.awk:42: ^ syntax error awk: delay.awk:42: %g\n,pkt_id,time,pkt_id,recv[pkt_id]-send[pkt_id]) awk: delay.awk:42:^ backslash not last character on line When i run pkt_loss.awk I got this: 0 1 0 0 Is this the output looks for printf(%10g %10g %10g\n,tx,drop,pkt_loss*100)? What is the problem for throughput.awk and delay.awk? Thanks - Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
[ns] scenario(movement pattern and connection pattern) problem
ns2 newbie here... I have download a scenarios which contain movement pattern and communication pattern using CBR sources from http://www.monarch.cs.rice.edu/cmu-ns.html I would like to use one of the scenario. My question is: Do i have to copy the scenario(movement pattern and communication pattern using CBR) in to ... /ns-2.30/tcl/mobility/scen like the example in Marc Greis' tutorial? If so, i have tried to do that but some sort of error occur. I am doing a report on the performance comparision between AODV,DSR,DSDV. Can send me a tcl scrip to run these 3 routing protocol? Anyone who willing to guide me with these report are welcome. Just give me a msn contact if u want to. Any advise are also welcome. Thank you. - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV.
[ns] How to run script(AODV,DSR,DSDV) in ns-allinone-2.30?
Hello, I'm new user for ns2 and I've ns-allinone-2.30 running on Ubuntu 6.06.. I want to run the sample of the script in few ad hoc routing protocols such as AODV, DSR and DSDV that is in the directory ../ns-allinone-2.30/ns-2.30/aodv or dsr or dsdv. Is it possible to me to run this script? (aodv.tcl, aodv.cc, aodv.h). What is the command I should use for? How can I run the script for dsdv directory that contain dsdv.cc and dsdv.h file? Could anyone show me step by step? - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit.
Re: [ns] ns-2.30 installation problem
I having problem installing ns-2.30. I run make after ./configure Lots of stuff running until at the end of of the line, this error display: make: *** No rule to make target `VERSION', needed by `gen/version.c'. Stop. what does it mean? I am very new to linux. I am using ubuntu 6.06 base and g++ 4.0 compiler. - Get your own web address. Have a HUGE year through Yahoo! Small Business.