LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-02-2011, 01:59 AM   #1
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Rep: Reputation: 1
Meaning of Traffic and IT file generated after simulation in CRCN


How to analyse the IT and Traffic file generated in CRCN simulation? What they represent i.e what is the format?
 
Old 03-03-2011, 11:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Ns2 ? Which version of 'ns-allinone-2.xx' ? ?

CRCN : Is that a protocol you have added ?
Then please provide a download link for the protocol / patch.
And a link to the CRCN documentation, please.
 
Old 03-04-2011, 04:29 AM   #3
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Original Poster
Rep: Reputation: 1
Thank you for showing interest.
ns-allinone-2.31.
CRCN is a patch for cognitive radio network available at http://stuweb.ee.mtu.edu/~ljialian/
 
Old 03-05-2011, 05:36 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Quote:
CRCN is a patch for cognitive radio network
Yes, that's old news.
Please read http://linuxsilo.net/docs/smart-questions_en.html
And http://www.linuxquestions.org/linux/...Ask_a_Question
I.e. we are not meant to guess, what you are doing.
*** The idea is, that by every question : the OS used ( Fedora<version>),
the application (ns-2.31), and the used commands must all be specified / shown.

The download links mean these
crcn.zip > http://stuweb.ee.mtu.edu/~ljialian/crcn.zip
CRCN.jar >
http://stuweb.ee.mtu.edu/~ljialian/C...e%203/CRCN.jar

So please show the command(s) you are using ( "CRCN simulation" )
to generate the files in question. ( "IT" and "Traffic file" ).
./ns test4maccon.tcl ? ./ns MRMAC.tcl ( > Trafficfile ).

Generally about analyzing (tr) files, example
http://www.winlab.rutgers.edu/~zhibi.../ns_trace.html
crcn example http://stuweb.ee.mtu.edu/~ljialian/case%20study.htm
crcn http://stuweb.ee.mtu.edu/~ljialian/helpv4.htm : 2.5 Simulation Result

..
 
1 members found this post helpful.
Old 03-07-2011, 02:43 AM   #5
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Original Poster
Rep: Reputation: 1
I am sorry and thank you for guiding me.

My os is Fedora11. I provided that information in my profile and thought it need not to be mentioned.
I am using NS2.31 allinone version. I have installed CRCN patch in it.

I simulated the file test4maccon.tcl using command
ns test4maccon.tcl.

then 4 files namely test.tr, test.nam, IT and Traffic files generated.

Now i have found the format of IT and Traffic files in their website.

According to them IT file format is
Timestamp node id interference channel id

But in my case five columns are there. I can't understand what last column represents?

I have attached the IT file herewith.

I will try not to repeat the above mistakes.
Attached Files
File Type: txt ITfile.txt (218.5 KB, 39 views)
 
Old 03-07-2011, 03:06 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Sorry, I didn't see the 'Fedora11' text in your profile, my mistake.

I get a similar result : ./ns test4maccon.tcl → → ITfile, 363.3 kB.
Code:
0.010000 0 0.000000 0 0
0.010000 0 0.000000 1 0
0.010000 0 0.000000 2 0
0.010000 1 0.000000 0 0
.
.
.
 
Old 03-07-2011, 08:20 AM   #7
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Original Poster
Rep: Reputation: 1
Anyway thank you....
Please inform me if you find anything relevant..
 
Old 03-08-2011, 05:08 AM   #8
jaibaba1
LQ Newbie
 
Registered: Dec 2009
Location: Tezpur, India
Distribution: Fedora11
Posts: 12

Original Poster
Rep: Reputation: 1
knudfl,
I find it..last column represent "Channel with minimum Interference".

It is in file /home/bikram/Desktop/ns-allinone-2.31/ns-2.31/common/mobilenode.cc
in the function PacketPr::IT_Calculate()
 
1 members found this post helpful.
Old 06-19-2012, 05:28 PM   #9
Khaled ELmishad
LQ Newbie
 
Registered: May 2012
Posts: 10

Rep: Reputation: Disabled
ITfile xgraph call format

How to plot ITfile format using terminal since I am facing problems from GUI simulation graphs.
 
Old 02-19-2014, 08:22 AM   #10
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
How can i define PU and SU in ns2

i have installed ns2.31 and then patched cognitive radio patch successfully but I need help how can I make some nodes as primary users and other as secondary users in a tcl file.i searched too much but no helping material available regarding it...anyone of you know plz help me.
 
Old 07-16-2014, 07:15 AM   #11
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
how can I make nodes as primary and secondary in CRCN patch?
 
Old 07-16-2014, 07:22 AM   #12
rajbora80
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
how can I make nodes as primary and secondary in CRCN patch?
 
  


Reply

Tags
crcn, 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
NS2 network simulation problem:Change queue parameters dynamically during simulation raeisy Linux - Networking 1 11-21-2010 12:30 PM
Maillog file not being generated sanjibgupta Linux - Newbie 1 02-13-2007 12:33 AM
firewall traffic simulation props666999 Linux - General 3 02-02-2006 03:49 AM
route locally generated traffic to ip:port to localhost:port maenho Linux - Software 2 03-11-2005 05:08 AM
DHCP leases file not being generated. abhijeetudas Linux - Networking 1 09-25-2004 11:31 PM


All times are GMT -5. The time now is 09:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration