Energy Transparency for Deeply Embedded Programs
arXiv:1609.02193 · doi:10.1145/3046679
Abstract
Energy transparency is a concept that makes a program's energy consumption visible, from hardware up to software, through the different system layers. Such transparency can enable energy optimizations at each layer and between layers, and help both programmers and operating systems make energy-aware decisions. In this paper, we focus on deeply embedded devices, typically used for Internet of Things (IoT) applications, and demonstrate how to enable energy transparency through existing Static Resource Analysis (SRA) techniques and a new target-agnostic profiling technique, without hardware energy measurements. Our novel mapping technique enables software energy consumption estimations at a higher level than the Instruction Set Architecture (ISA), namely the LLVM Intermediate Representation (IR) level, and therefore introduces energy transparency directly to the LLVM optimizer. We apply our energy estimation techniques to a comprehensive set of benchmarks, including single- and also multi-threaded embedded programs from two commonly used concurrency patterns, task farms and pipelines. Using SRA, our LLVM IR results demonstrate a high accuracy with a deviation in the range of 1% from the ISA SRA. Our profiling technique captures the actual energy consumption at the LLVM IR level with an average error of 3%.
33 pages, 7 figures. arXiv admin note: substantial text overlap with arXiv:1510.07095
References in corpus (4)
Cited by in corpus (7)
- The IoT energy challenge: A software perspective
- Data dependent energy modelling for worst case energy consumption analysis
- Less is More: Exploiting the Standard Compiler Optimization Levels for Better Performance and Energy Consumption
- On the limitations of analysing worst-case dynamic energy of processing
- Accurate Energy Modelling on the Cortex-M0 Processor for Profiling and Static Analysis
- A Comprehensive and Accurate Energy Model for Arm's Cortex-M0 Processor
- DATE: Defense Against TEmperature Side-Channel Attacks in DVFS Enabled MPSoCs