Affiliation:
1. Queen’s University of Belfast
2. University of Edinburgh
3. Lancaster University
Abstract
Energy efficiency is becoming increasingly important, yet few developers understand how source code changes affect the energy and power consumption of their programs. To enable them to achieve energy savings, we must associate energy consumption with software structures, especially at the fine-grained level of functions and loops. Most research in the field relies on direct power/energy measurements taken from on-board sensors or performance counters. However, this coarse granularity does not directly provide the needed fine-grained measurements. This article presents ALEA, a novel fine-grained energy profiling tool based on probabilistic analysis for fine-grained energy accounting. ALEA overcomes the limitations of coarse-grained power-sensing instruments to associate energy information effectively with source code at a fine-grained level. We demonstrate and validate that ALEA can perform accurate energy profiling at various granularity levels on two different architectures: Intel Sandy Bridge and ARM big.LITTLE. ALEA achieves a worst-case error of only 2% for coarse-grained code structures and 6% for fine-grained ones, with less than 1% runtime overhead. Our use cases demonstrate that ALEA supports energy optimizations, with energy savings of up to 2.87 times for a latency-critical option pricing workload under a given power budget.
Funder
European Commission under the Seventh Framework Programme
UK Engineering and Physical Sciences Research Council
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture,Information Systems,Software
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Cost-effective Strategies for Building Energy Efficient Mobile Applications;2023 IEEE/ACM 45th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion);2023-05
2. Reliable Basic Block Energy Accounting;Lecture Notes in Computer Science;2023
3. Online Power Management for Multi-Cores: A Reinforcement Learning Based Approach;IEEE Transactions on Parallel and Distributed Systems;2022-04-01
4. Experimental Workflow for Energy and Temperature Profiling on HPC Systems;2021 IEEE Symposium on Computers and Communications (ISCC);2021-09-05
5. Lynsyn and LynsynLite: The STHEM Power Measurement Units;Towards Ubiquitous Low-power Image Processing Platforms;2020-12-16