LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 03-02-2011, 12: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, 10:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,301

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
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, 03: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, 04:36 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,301

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
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, 01: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, 11 views)
 
Old 03-07-2011, 02:06 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,301

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
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, 07: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, 04: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.
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 11:30 AM
Maillog file not being generated sanjibgupta Linux - Newbie 1 02-12-2007 11:33 PM
firewall traffic simulation props666999 Linux - General 3 02-02-2006 02:49 AM
route locally generated traffic to ip:port to localhost:port maenho Linux - Software 2 03-11-2005 04:08 AM
DHCP leases file not being generated. abhijeetudas Linux - Networking 1 09-25-2004 10:31 PM


All times are GMT -5. The time now is 05:40 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration