The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.11 - November (2003 vol.52)
pp: 1454-1469
ABSTRACT
<p><b>Abstract</b>—This paper presents the modeling of embedded systems with SimBed, an execution-driven simulation testbed that measures the execution behavior and power consumption of embedded applications and RTOSs by executing them on an accurate architectural model of a microcontroller with simulated real-time stimuli. We briefly describe the simulation environment and present a study that compares three RTOSs: <it>µC/OS-II</it>, a popular public-domain embedded real-time operating system; <it>Echidna</it>, a sophisticated, industrial-strength (commercial) RTOS; and <it>NOS</it>, a bare-bones multirate task scheduler reminiscent of typical "roll--your-own" RTOSs found in many commercial embedded systems. The microcontroller simulated in this study is the Motorola M--CORE processor: a low-power, 32-bit CPU core with 16-bit instructions, running at 20MHz. Our simulations show what happens when RTOSs are pushed beyond their limits and they depict situations in which unexpected interrupts or unaccounted-for task invocations disrupt timing, even when the CPU is lightly loaded. In general, there appears no clear winner in timing accuracy between preemptive systems and cooperative systems. The power-consumption measurements show that RTOS overhead is a factor of two to four higher than it needs to be, compared to the energy consumption of the minimal scheduler. In addition, poorly designed idle loops can cause the system to double its energy consumption—energy that could be saved by a simple hardware sleep mechanism.</p>
INDEX TERMS
Embedded systems, real-time operating systems (RTOS), power and energy modeling, performance modeling, Motorola M-CORE, µC/OS-II, Echidna, Chimera.
CITATION
Kathleen Baynes, Chris Collins, Eric Fiterman, Brinda Ganesh, Paul Kohout, Christine Smit, Tiebing Zhang, Bruce Jacob, "The Performance and Energy Consumption of Embedded Real-Time Operating Systems", IEEE Transactions on Computers, vol.52, no. 11, pp. 1454-1469, November 2003, doi:10.1109/TC.2003.1244943
18 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool