1 / 10

The TinyOS of Tomorrow

The TinyOS of Tomorrow. Phil Levis NEST Retreat, Jan. 2003. TinyOS Progress. Data link layer Language support (nesC) Concurrency model formalization Data race detection Low-power mechanisms Network layer. What’s to Come. Abstract components vs. parameterized interfaces

etana
Télécharger la présentation

The TinyOS of Tomorrow

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The TinyOS of Tomorrow Phil Levis NEST Retreat, Jan. 2003

  2. TinyOS Progress • Data link layer • Language support (nesC) • Concurrency model formalization • Data race detection • Low-power mechanisms • Network layer

  3. What’s to Come • Abstract components vs. parameterized interfaces • Incorporating concurrency model • Further static analysis • Maximum stack depth • Model checking

  4. Abstract vs. Parameterized • Abstract components • State replication • Complication: shared state • One-of-many • Parameterized interfaces • Compile-time binding

  5. Incorporating Concurrency • Synchronous (task) • Asynchronous (interrupt) • Translating between the two • Timer: Synchronous -> Asynchronous • Tasks: Asynchronous -> Synchronous

  6. Post Considered Harmful • Deprecated by concurrency qualifiers • Abstract components (linkage analysis) • Task queue length • Scheduler component interface TaskBasic { acommand result_t post(); event void run(); } uses TaskBasic as SendTask;

  7. Abstract Tasks abstract component SchedulerBasic() { provides TaskBasic; } … TaskEntry taskQueue[_INSTANCES_]; … components SchedulerBasic(); … TinyDB.SendTask -> SchedulerBasic; …

  8. Parameterized Tasks interface TaskPriority { acommand result_uncombined_t post(); event void run(); } component SchedulerPriority { provides TaskPriority[uint8_t priority]; }

  9. Static Analysis • Stack depth (full program analysis) • Model checking (Engler et al., SOSP) • Implicit state transitions (MHSR) • Read-modify-write races (cross-component)

  10. The Mantra • HURRY UP PLEASE ITS TIME • SOSP 2003

More Related