[Tinyos Core WG] storage

Jonathan Hui jhui at archrock.com
Mon Sep 18 09:59:23 PDT 2006


Philip Levis wrote:
> But you can mask these latencies. For example, rather than erase a block 
> when you reach it, you can erase it when you reach the previous block. 
> As it is now, it's very difficult to write a high-speed logger with a 
> circular log. There's little sense of how long the erase will take, and 
> therefore how much buffering you'd have to do.

It's not obvious to me how you can mask these latencies. Whether you do 
it on the previous block or not, the flash chip will be busy for order 
seconds. If your period between writes is a fraction of a second, then 
buffering has to happen somewhere, and how large that buffer should be 
is best left to the application to decide.

--
Jonathan Hui
jhui at archrock.com


More information about the Tinyos-2.0wg mailing list