Adding Preemption to TinyOS
Cormac Duffy, Utz Roedig, John Herbert, and Cormac J. Sreenan. Adding Preemption to TinyOS. In Proceedings of the The Fourth Workshop on Embedded Networked Sensors (EmNets2007), Cork, Ireland, ACM Press, June 2007.
Download
Abstract
Event-driven operating systems such as TinyOS are the preferred choice for wireless sensor networks. Alternative designs such as MANTIS following a classical multi-threaded approach are also available. Event-based systems are generally more energy efficient than multi-threaded systems. However, multi-threaded systems are more capable than event-based systems of supporting time critical tasks as task preemption is supported. Timeliness can be traded for energy efficiency by choosing the appropriate operating system. In our recent work we have shown that the multi-threaded system MANTIS can be modified to be as energy efficient as TinyOS. As a result, the modified MANTIS can be used to fit both sensor network design goals of energy efficiency and timeliness. This solution is not considered optimal as most existing sensor network applications and software libraries are developed for TinyOS. Therefore, we present a TinyOS modification that adds preemption while retaining the existing TinyOS structure and features.
BibTeX
@InProceedings{ emnets07:duffy,
author = {Cormac Duffy and Utz Roedig and John Herbert and Cormac J. Sreenan},
title = {{Adding Preemption to TinyOS}},
year = {2007},
month = jun,
booktitle = {Proceedings of the The Fourth Workshop on Embedded Networked Sensors (EmNets2007), Cork, Ireland},
publisher = {ACM Press},
abstract =
{
Event-driven operating systems such as TinyOS are the preferred choice for wireless sensor networks. Alternative
designs such as MANTIS following a classical multi-threaded approach are also available. Event-based systems are
generally more energy efficient than multi-threaded systems. However, multi-threaded systems are more capable than
event-based systems of supporting time critical tasks as task preemption is supported. Timeliness can be traded for
energy efficiency by choosing the appropriate operating system. In our recent work we have shown that the multi-threaded
system MANTIS can be modified to be as energy efficient as TinyOS. As a result, the modified MANTIS can be used to fit
both sensor network design goals of energy efficiency and timeliness. This solution is not considered optimal as most
existing sensor network applications and software libraries are developed for TinyOS. Therefore, we present a TinyOS
modification that adds preemption while retaining the existing TinyOS structure and features.
}
}
