LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2015, 07:16 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154

← ref. #15.

Throughput :
Please try out all <thr> from awk-and-perl_scripts_12.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

avg_throughput.awk
avg_thr_wirelss.awk
e2ethroughput.awk
flow-thr.awk
genthroughput.awk
Lianghui-throughput.pl
myflowcalcall_throu.awk
thr_drop_delay.awk
thr-one.pl
throughput-8.pl
throughput-9.pl
throughput_newtrace.awk
throughput.pl
thruput.awk


-
 
Old 02-27-2015, 12:50 AM   #17
amita_s12
LQ Newbie
 
Registered: Feb 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
how and where to make changes in leach.tcl to generate the different scenario?
 
Old 02-28-2015, 08:01 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
← ref. #17.


Howto "generate the different scenario".
You can change some options in 'leach_test'.

And generate a new file Xxxnodes* with mit/uAMPS/sims/genscen ,
and use the file in 'leach_test', line 16.


About editing `leach.tclŽ : I have no idea.
***** And : Which "leach.tcl" do you mean ? ?
$ cd ns-2.34/<with-MIT-leach> && find . -name leach.tcl
./mit/uAMPS/sims/leach.tcl
( ./tcl/ex/tcl/mobility/leach.tcl )
./tcl/mobility/leach.tcl

$ cd ns-2.35/<with-mannasim> && find . -name leach.tcl
→ → No leach.tcl


-

Last edited by knudfl; 02-28-2015 at 08:30 AM.
 
Old 06-23-2015, 02:05 AM   #19
amita_s12
LQ Newbie
 
Registered: Feb 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
hello sir ,
i have successfully simulated Leach via mannsim on ns2.35. trace file is also generated. now the problem with the trace file is that it is not showing "rca" in the trace format.
pl. help what should i change in the cmu-trace file.
my trace file is looking as shown below.

s -t 0.033653807 -Hs 9 -Hd -2 -Ni 9 -Nx 89.20 -Ny 37.53 -Nz 0.00 -Ne 10.000000 -Nl AGT -Nw --- -Ma 0 -Md 9000000 -Ms 0 -Mt 0 -Is 9.0 -Id -1.0 -It tcp -Il 1 -If 0 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
r -t 0.033653807 -Hs 9 -Hd -2 -Ni 9 -Nx 89.20 -Ny 37.53 -Nz 0.00 -Ne 10.000000 -Nl RTR -Nw --- -Ma 0 -Md 9000000 -Ms 0 -Mt 0 -Is 9.0 -Id -1.0 -It tcp -Il 1 -If 0 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
s -t 0.033653807 -Hs 9 -Hd -2 -Ni 9 -Nx 89.20 -Ny 37.53 -Nz 0.00 -Ne 10.000000 -Nl RTR -Nw --- -Ma 0 -Md 9000000 -Ms 0 -Mt 0 -Is 9.0 -Id -1.0 -It tcp -Il 1 -If 0 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
s -t 0.033678807 -Hs 9 -Hd -2 -Ni 9 -Nx 89.20 -Ny 37.53 -Nz 0.00 -Ne 10.000000 -Nl MAC -Nw --- -Ma 0 -Md 9000000 -Ms ffff0008 -Mt 0 -Is 9.0 -Id -1.0 -It tcp -Il 21 -If 0 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
N -t 0.033679 -n 1 -e 9.999998
N -t 0.033679 -n 0 -e 99.999958
N -t 0.033679 -n 10 -e 9.999998
N -t 0.033679 -n 7 -e 9.999998
N -t 0.033679 -n 3 -e 9.999998
N -t 0.033679 -n 2 -e 9.999998
N -t 0.033679 -n 6 -e 9.999998
N -t 0.033679 -n 5 -e 9.999998
N -t 0.033679 -n 8 -e 9.999998
N -t 0.033679 -n 4 -e 9.999998
pl. let me know the correct trace file for leach from mannasim
 
Old 07-22-2015, 02:50 AM   #20
amita_s12
LQ Newbie
 
Registered: Feb 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
hi all,
i have simulated leach on ns2.35-mannasim. now i want to generate graph between energy consumption and of cluster head.
for that first simulation i fixed up to Cluster head - 2%
scenario size = 300X 1500
simulation time = 500 s
No. of nodes = 100
local energy = 10 J
my simulation shows error:
str2addr:Address 1936614739 outside range of address field length 1073741824.

but if i change the scenario size to 500 X 500.simulation time = 500 and no. of nodes =20. then no error has been shown.
but these are not the sufficient parameters i can work with.

pl. help for the desired parameters.
i am working with ubuntu 13.04, mannasim patch for ns2.35 by pradeep kumar.
sytem with 4 GB RAM.
 
Old 07-22-2015, 02:53 AM   #21
amita_s12
LQ Newbie
 
Registered: Feb 2015
Posts: 23

Original Poster
Rep: Reputation: Disabled
p. reply for post no. -19 also
 
  


Reply

Tags
leach, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mannasim .tcl error k.onkar Linux - Wireless Networking 1 04-19-2014 08:46 AM
error in tcl file chenil Linux - Newbie 6 07-24-2013 12:46 PM
Error in the tcl file nadeempitafi Linux - Newbie 1 12-26-2012 06:24 AM
Which log file contains information and error messages generated by sshd regarding... turbomen Linux - Newbie 1 11-16-2010 03:34 AM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration