Re: [Tinyos-help] How to read->send an entire log very fast

2007-11-15 Thread Michael Schippling

hmm, about 48,000 log records? My measurements of radio rates
indicate about 20 msg/sec for the 2000 (mica2) and 100-200 for
the 2420 (micaz, tmote). If you put one record in each message
that makes about 2400 sec for the mica2 and (absolute best case)
240 sec for the micaz. You should do a bit of timing analysis --
say, flash leds to indicate log-read and transmit cycles -- to
see if there is any room for improvement before you spend a lot
of time trying to improve things...

MS

Ariel Mauricio Nunez Gomez wrote:

Hello everyone,

I'm using the LogStorage abstraction on tinyos2-x with a tmote sky, my 
application fills a very large log (960Kb) and I'm using the same 
routine used in PacketParrot. 

Each Log entry is about 20 bytes and the whole read/send to Base Station 
takes about 15 minutes.


I guess the bottle neck is on the Flash read and I'm about to start 
making my log entries bigger and then splitting before sending.


I would like to know what you think about the problem. What is the the 
best time I should expect to achieve to get all the data from the flash 
and send it via the radio?


Thanks in advance,

Ariel.




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] How to read->send an entire log very fast

2007-11-14 Thread Ariel Mauricio Nunez Gomez
Hello everyone,

I'm using the LogStorage abstraction on tinyos2-x with a tmote sky, my
application fills a very large log (960Kb) and I'm using the same routine
used in 
PacketParrot.
Each Log entry is about 20 bytes and the whole read/send to Base Station
takes about 15 minutes.

I guess the bottle neck is on the Flash read and I'm about to start making
my log entries bigger and then splitting before sending.

I would like to know what you think about the problem. What is the the best
time I should expect to achieve to get all the data from the flash and send
it via the radio?

Thanks in advance,

Ariel.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help