LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   ns-2 CRCN patch. Testing examples problem (http://www.linuxquestions.org/questions/linux-software-2/ns-2-crcn-patch-testing-examples-problem-4175448598/)

cosdag 02-04-2013 04:01 PM

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

knudfl 02-05-2013 06:01 AM

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


-

cosdag 02-05-2013 07:09 AM

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


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