1 / 20

Analysis of power dissipation in embedded systems using real-time operating systems

Analysis of power dissipation in embedded systems using real-time operating systems. Dick, R.P. Lakshminarayana, G. Raghunathan, A. Jha, N.K. Dept. of Electr. & Comput. Eng., Northwestern Univ., Evanston, IL, USA

chuck
Download Presentation

Analysis of power dissipation in embedded systems using real-time operating systems

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. Analysis of power dissipation in embedded systems using real-time operating systems Dick, R.P. Lakshminarayana, G. Raghunathan, A. Jha, N.K. Dept. of Electr. & Comput. Eng., Northwestern Univ., Evanston, IL, USA Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions, Sept. 2003, pp. 615 - 627 Presenter: Ching-Chi Hu

  2. Abstract • The increasing complexity and software content of embedded systems has led to the frequent use of system software to help applications access hardware resources easily and efficiently. In this paper, we present a method for detailed analysis of real-time operating system (RTOS) power consumption. RTOSs form an important component of the system software layer. Despite the widespread use of, and significant role played by, RTOSs in mobile and low-power embedded systems, little is known about their power-consumption effects. This paper presents a method of producing a hierarchical energy-consumption profile for applications as they interact with an RTOS.

  3. Abstract (Cont.) • As a proof-of-concept, we use our infrastructure to produce the power profiles for a commercial RTOS, μC/OS-II, running several applications on an embedded system based on the Fujitsu SPARClite processor. These examples demonstrate that an RTOS can have a significant impact on power consumption. We discuss ways in which application software can be designed to use an RTOS in a power-efficient manner. We believe that this is a first step toward establishing a systematic approach to power optimization of embedded systems containing RTOSs.

  4. Outline • What’s the problem? • Motivation for RTOS energy analysis • Energy analysis infrastructure • Result and Case studies • Conclusion and Recommendations

  5. What’s the problem? • RTOSs are used to embedded systems with soft real-time constraints, as well as formal real-time systems with hard real-time constraints • provide a method changes to the interaction between application software and RTOS that will most effectively reduce system power consumption

  6. Motivation for RTOS energy analysis • Antilock Braking System (ABS)

  7. Motivation for RTOS energy analysis (cont.) • Antilock Braking System (ABS) optimized

  8. Motivation for RTOS energy analysis (cont.) • ABS example by RTOS service category

  9. Motivation for RTOS energy analysis (cont.) • Commodity Trading Agent Example

  10. Motivation for RTOS energy analysis (cont.) • Ethernet Interface Example

  11. Motivation for RTOS energy analysis (cont.) • Two examples by RTOS service category

  12. Energy analysis infrastructure • Framework • a multitasking OS • UARTs • brake sensors, and other hardware components • Input • code is compiled and linked together with the μC/OS-II RTOS and Fujitsu’s SPARClite runtime libraries • External stimulus information • Output • call-tree format information

  13. Energy analysis infrastructure (cont.) • Energy analysis framework

  14. Energy analysis infrastructure (cont.) • Modeled architecture

  15. Energy analysis infrastructure (cont.) • analysis the energy consumption of the system • Functional models • OSSched function by μC/OS-II • Energy models • Instruction-level power models for the Fujitsu SPARClite processor and internal cache can be found in the literature: V. Tiwari, S. Malik, and A. Wolfe, “Power analysis of embedded software: A first step toward software power minimization,”

  16. Result and Case studies • Energy consumption profiles

  17. Result and Case studies (cont.) • Time consumption profiles

  18. Conclusion and Recommendations • Conclusion • demonstrated that the manner in which the RTOS is used has a significant impact on an embedded system’s power consumption. • Insights derived from such RTOS power analysis may be used to optimize embedded software power consumption and drive research on high-level power modeling of different RTOS components. • enables power-efficient RTOS and application design, and may be incorporated into power-aware system-level design tools.

  19. Conclusion and Recommendations (cont.) • Recommendations • Rewrite high energy consumption portions of an application to avoid unnecessary use of the RTOS scheduler. • When synchronization between tasks is implicitly carried out, do not use RTOS services to do (redundant) synchronization. • Take advantage of RTOS primitivesIf power analysis indicates that memory management consumes a substantial proportion of embedded system power, consider custom

  20. Conclusion and Recommendations (cont.) • Recommendations (cont.) • Concentrate on special modes available in the processor. Most designers already pay some attention to code execution time and, in the absence of special processor modes, there is a strong correlation between execution time and energy for general-purpose processors. However, using special processor modes

More Related