Towards Automatic Code Generation of Run-Time Power Management for Embedded Systems Using Formal Methods
Authors:
- Asieh Salehi FathabadiAFAsieh Salehi Fathabadi
- Luis Alfonso Maeda-NunezLMLuis Alfonso Maeda-Nunez
- Michael J. ButlerMBMichael J. Butler
- Bashir M. Al-HashimiBABashir M. Al-Hashimi
- Geoff V. MerrettGeoff V. Merrett
- 1 September 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 104-111
Abstract
Run-Time Management (RTM) systems are used to control energy hooks at run-time to minimise the energy consumption of embedded systems with single and many-core processors. Typically, such RTM systems are aware of application requirements and utilise workload prediction and machine learning algorithms to estimate the optimal configuration. An RTM mechanism should not compromise the reliability or performance of the platform it is managing. Because of the potential complexity and interaction with the platform and its applications, we are using rigorous design methods that allow us to master the complexity and verify the correctness of our designs in a formal way. The formal RTM design can be verified earlier in the development process before implementation, which early verification can reduce the cost of fixing potential failures which can be very demanding in testing the system after implementation. In addition, the formal model of a RTM system can be automatically translated into executable code to be executed on the hardware. Automatic code generation reduces the efforts of hand-coded implementation and is portable across different architectures and Operating Systems (OSs). In this paper we propose a formal approach toward automatic generation of RTM system code, for a video decoder application, from a verified formal model of a RTM. The formal model of the RTM system is developed using the Event-B formal modelling language and is verified using theorem proving and model checking. The automatically generated RTM system has been integrated in an embedded platform as a Linux governor, and provides up to 4% improvement over Linux's default Ondemand governor.Keywords
This publication has 13 references indexed in Scilit:
- Applying an Integrated Modelling Process to Run-time Management of Many-Core Systems2014
- Workload-Aware Neuromorphic Design of the Power ControllerIEEE Journal on Emerging and Selected Topics in Circuits and Systems, 2011
- Hybrid power management in real time embedded systems: an interplay of DVFS and DPM techniquesReal-Time Systems, 2011
- Applying statistical machine learning to multicore voltage & frequency scaling2010
- Modeling in Event-B2010
- System-Level Power Management Using Online LearningIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2009
- Linking Event-B and Concurrent Object-Oriented ProgramsElectronic Notes in Theoretical Computer Science, 2008
- Control theory-based DVS for interactive 3D games2008
- Dynamic voltage frequency scaling for multi-tasking systems using online learning2007
- Dynamic voltage scheduling using adaptive filtering of workload traces2002