Urs Hunkeler wrote:
Hi Anu,

TOSSIM in TOS 2.x has specifically been written to be more efficient.
You probably notice a difference especially when you interact with the
TOS 1.x simulation with a java-based application, such as TinyViz.

I don't think there would me much of a difference on real hardware.

Cheers,
Urs

Anu Singh schrieb:
Hi All,
  Is there is a considerable performance difference between TinyOS-1 and
TinyOS-2?  I am doing simulation using TOSSIM for a program (encodes a
message passing iterative algorithm among network nodes).  I wrote the logic
of the program in  nesC for both TinyOS-1 and TinyOS-2.  When I simulated
the programs using TOSSIM for TinyOS-1 and TinyOS-2 (both running under
similar machine settings) I observed that for simulating same number of
iterations of the program it takes considerably longer in TinyOS-1 than in
TinyOS-2.  For example, for 40 iterations (200 virtual seconds) of the
program for 25 nodes it took 6 seconds in TinyOS-2, and 125 seconds in
TinyOS-1.  And when I simulated the program for 1000 iterations (5000
virtual seconds) for 25 nodes it took 28 seconds in TinyOS-2, and  51
minutes in TinyOS-1.

I am new to TinyOS. Is this difference in simulations times between TinyOS-1
and TinyOS-2 usual?  What are the possible reasons for it?

I have a few more questions:
1. How long  is  message transmission time between two connected nodes (link
gain 0.0) in TinyOS (TOSSIM).
2. The '-l' option while running TOSSIM for tinyos-1 doesn't allow scaling
more than approximately 1.5 times (that is simulate 1.5 virtual seconds in 1
real second).  Can the scaling factor be increased beyong 1.5 to reduce real
simulation time.

Thanks,
-Anu
____
There's a tech report that cross-evaluates them:

http://sing.stanford.edu/pubs/tinyos2-tr.pdf

Phil


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to