LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Meaning of Traffic and IT file generated after simulation in CRCN (https://www.linuxquestions.org/questions/linux-software-2/meaning-of-traffic-and-it-file-generated-after-simulation-in-crcn-865883/)

jaibaba1 03-02-2011 12:59 AM

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?

knudfl 03-03-2011 10:03 AM

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.

jaibaba1 03-04-2011 03:29 AM

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/

knudfl 03-05-2011 04:36 AM

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

..

jaibaba1 03-07-2011 01:43 AM

1 Attachment(s)
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.

knudfl 03-07-2011 02:06 AM

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
.
.
.


jaibaba1 03-07-2011 07:20 AM

Anyway thank you....
Please inform me if you find anything relevant..

jaibaba1 03-08-2011 04:08 AM

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()

Khaled ELmishad 06-19-2012 04:28 PM

ITfile xgraph call format
 
How to plot ITfile format using terminal since I am facing problems from GUI simulation graphs.

uzmag 02-19-2014 07:22 AM

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.

rajbora80 07-16-2014 06:15 AM

how can I make nodes as primary and secondary in CRCN patch?

rajbora80 07-16-2014 06:22 AM

how can I make nodes as primary and secondary in CRCN patch?


All times are GMT -5. The time now is 11:23 AM.