The performance and energy consumption of embedded real-time operating systems

被引:30
作者
Baynes, K [1 ]
Collins, C
Fiterman, E
Ganesh, B
Kohout, P
Smit, C
Zhang, TB
Jacob, B
机构
[1] Verizon, Reston, VA USA
[2] Intel Corp, Hudson, MA 01749 USA
[3] Salar Inc, Churchton, MD 20733 USA
[4] Univ Maryland, Dept Elect & Comp Engn, College Pk, MD 20742 USA
[5] EVI Technol LLC, Columbia, MD 21046 USA
[6] 3e Technol Inc, Germantown, MD USA
关键词
embedded systems; real-time operating systems (RTOS); power and energy modeling; performance modeling; Motorola M-CORE; mu C/OS-II; Echidna; Chimera;
D O I
10.1109/TC.2003.1244943
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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: muC/OS-II, a popular public-domain embedded real-time operating system; Echidna, a sophisticated, industrial-strength (commercial) RTOS; and NOS, 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.
引用
收藏
页码:1454 / 1469
页数:16
相关论文
共 44 条
[1]  
ALLARA A, 1998, P INT C COMP DES OCT
[2]  
[Anonymous], P INT S MICR MICRO
[3]  
Bach MJ, 1986, DESIGN UNIX OPERATIN
[4]  
Ball S. R., 1996, EMBEDDED MICROPROCES
[5]  
BAYNES K, 2000, UMDSCATR200004
[6]  
Baynes K., 2001, P INT C COMP ARCH SY, P203
[7]  
BENINI L, 1998, P INT S LOW POW EL D, P288
[8]  
Brooks D, 2000, PROCEEDING OF THE 27TH INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, P83, DOI [10.1145/342001.339657, 10.1109/ISCA.2000.854380]
[9]  
Collins C. M., 2000, THESIS U MARYLAND CO
[10]   Power analysis of embedded operating systems [J].
Dick, RP ;
Lakshminarayana, G ;
Raghunathan, A ;
Jha, NK .
37TH DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2000, 2000, :312-315