LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-04-2013, 04:01 PM   #1
cosdag
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
ns-2 CRCN patch. Testing examples problem


Hello everyone.
This is my first and I'm guessing not last post. I have installed ns-2 and CRCN patch using information from here:

http://mclab.wikidot.com/wiki:howto-...on-ubuntu10-04

everything went smoothly. Ns-2, CRCN from terminal and CRCN GUI seem to work ok.
At the webpage below are presented the simulation results (throughput) of tcl scripts test4maccon, test4mcng, test4macng for 2 & 5 channels.

http://stuweb.ee.mtu.edu/~ljialian/C...0for%20MAC.htm

running the test4maccon.tcl I get the exact same graph which is correct because the topology and mobility are defined, BUT when I run the test4macng scripts I get different throughput results which make no sense at all! has anyone ever tested these scripts? can somebody please give it a go so I can tell whether it's an installation fault or not? any suggestions? (I have installed Ubuntu 10.04 on VMWare by the way)

Thank you in advance
 
Old 02-05-2013, 06:01 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Not quite clear what you mean.
Results can be different each time you run the same simulation.
( Haven't checked if that's the case with the test4macng*.tcl files.)

I made a test with a 2 year old "ns -crcn" executable.
All six simulations seem OK.
The result, crcn-test-all-tcl.tar.bz2 (1.8 MB) can be downloaded from ..
https://docs.google.com/file/d/0B7S2...it?usp=sharing
.. Please read the included file 'README-test-ns-crcn'.

CRCN info : LQ Search → → Tag = crcn


-

Last edited by knudfl; 02-05-2013 at 06:08 AM.
 
Old 02-05-2013, 07:09 AM   #3
cosdag
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for the reply

Perhaps I wasn't clear enough. I have no problems running the scripts. I get no errors. The problem is calculating throughput either using GUI or terminal. The resulting graph should be exactly the same, as there is no random motion of the nodes. The topology and mobility of nodes are strictly defined through topology files random.tcl and topo4.tcl.
As I said, the throughput graph of script test4maccon.tcl is exactly the same as the one presented on their webpage, but that's not the case for the rest of the scripts.
I could upload my results compared with the given ones, but I don't think it would help in any way, as the problem is that there shouldn't be any difference at all...
 
Old 12-06-2015, 06:23 PM   #4
marwa88
Member
 
Registered: Nov 2015
Posts: 56

Rep: Reputation: Disabled
Hi knudfl,
please did you get idea about this problem?
i have the same problem above. when i try to get the throughput results, about maccon (test4maccon.tcl+topo4.tcl) i get the same result in the link below, but when i try Macng (test4macng.tcl+topo4.tcl) my result are diffrent to results affered in this link.
have you idea please?

http://faculty.uml.edu/Tricia_Chigan/Research/CRCN%20user%20code%203/CRCN%20user%20code%203/Script%20and%20Test%20result/Simulation%20result%20for%20MAC.htm

Thank you.
 
Old 12-06-2015, 11:10 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #4.

? May be you are using the wrong "Linux OS" ?

The link to Tricia_Chigan http://faculty.uml.edu/Tricia_Chigan/ in post #4 : Not a valid link.
 
Old 12-07-2015, 05:04 AM   #6
marwa88
Member
 
Registered: Nov 2015
Posts: 56

Rep: Reputation: Disabled
I use fedora 12 ( i think that it support the CRCN patch).

About the link, i did a screenshot to explain what I mean exactly,see them please.
Click image for larger version

Name:	kn.jpg
Views:	82
Size:	191.1 KB
ID:	20235 : this is was ok, i get the same.
Click image for larger version

Name:	kn1.jpg
Views:	60
Size:	191.7 KB
ID:	20236 : i get a difrent one.


if you have any suggestion, tell me please.
Thank you.
 
Old 12-09-2015, 09:07 PM   #7
marwa88
Member
 
Registered: Nov 2015
Posts: 56

Rep: Reputation: Disabled
Hi knudfl,

I try to simulate macng of the CRCN, but the problem: when i use channel number = 1,2,3,4; the throughput is the same and don't change. Throughput change only when channel=5 (with 6 channel i get the same result as 5 channel).
Have you idea please about my problem please?

thank you
 
  


Reply

Tags
crcn, ns2



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
channel sensing in CRCN (cognitive radio cognitive network) patch saywei89 Linux - Software 12 08-30-2014 12:28 PM
CRCN ns2 add channel GUI nam throughput problem Khaled ELmishad Linux - Software 37 12-05-2013 02:23 AM
problem in CRCN fabe856 Linux - Software 0 05-21-2012 11:12 AM
crcn ns2 add channel GUI nam throughput problem Khaled ELmishad Programming 1 05-12-2012 08:37 AM
problem in displaying throughput in crcn patch in ns2 humairaafzal73 Linux - Software 0 02-07-2012 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:22 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
Open Source Consulting | Domain Registration