Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems

The problems associated with the battery life of embedded systems were addressed by focusing on memory components that are heterogeneous and are known to meaningfully affect the power consumption and have not been fully exploited thus far. Our study establishes a model that predicts and orders the e...

Full description

Bibliographic Details
Main Authors: Hayeon Choi, Youngkyoung Koo, Sangsoo Park
Format: Article
Language:English
Published: MDPI AG 2019-06-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/9/11/2354
_version_ 1818037958703316992
author Hayeon Choi
Youngkyoung Koo
Sangsoo Park
author_facet Hayeon Choi
Youngkyoung Koo
Sangsoo Park
author_sort Hayeon Choi
collection DOAJ
description The problems associated with the battery life of embedded systems were addressed by focusing on memory components that are heterogeneous and are known to meaningfully affect the power consumption and have not been fully exploited thus far. Our study establishes a model that predicts and orders the efficiency of function-level code relocation. This is based on extensive code profiling that was performed on an actual system to discover the impact and was achieved by using function-level code relocation between the different types of memory, i.e., flash memory and static RAM, to reduce the power consumption. This was accomplished by grouping the assembly instructions to evaluate the distinctive power reduction efficiency depending on function code placement. As a result of the profiling, the efficiency of the function-level code relocation was the lowest at 11.517% for the branch and control groups and the highest at 12.623% for the data processing group. Further, we propose a prior relocation-scoring model to estimate the effective relocation order among functions in a program. To demonstrate the effectiveness of the proposed model, benchmarks in the MiBench benchmark suite were selected as case studies. The experimental results are consistent in terms of the scored outputs produced by the proposed model and measured power reduction efficiencies.
first_indexed 2024-12-10T07:35:07Z
format Article
id doaj.art-5e218f376ba8460aab88c1128311efa4
institution Directory Open Access Journal
issn 2076-3417
language English
last_indexed 2024-12-10T07:35:07Z
publishDate 2019-06-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj.art-5e218f376ba8460aab88c1128311efa42022-12-22T01:57:26ZengMDPI AGApplied Sciences2076-34172019-06-01911235410.3390/app9112354app9112354Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded SystemsHayeon Choi0Youngkyoung Koo1Sangsoo Park2Computer Science and Engineering, Ewha Womans University, 52 Ewhayeodae Rd., Seodaemun District, Seoul 03760, KoreaComputer Science and Engineering, Ewha Womans University, 52 Ewhayeodae Rd., Seodaemun District, Seoul 03760, KoreaComputer Science and Engineering, Ewha Womans University, 52 Ewhayeodae Rd., Seodaemun District, Seoul 03760, KoreaThe problems associated with the battery life of embedded systems were addressed by focusing on memory components that are heterogeneous and are known to meaningfully affect the power consumption and have not been fully exploited thus far. Our study establishes a model that predicts and orders the efficiency of function-level code relocation. This is based on extensive code profiling that was performed on an actual system to discover the impact and was achieved by using function-level code relocation between the different types of memory, i.e., flash memory and static RAM, to reduce the power consumption. This was accomplished by grouping the assembly instructions to evaluate the distinctive power reduction efficiency depending on function code placement. As a result of the profiling, the efficiency of the function-level code relocation was the lowest at 11.517% for the branch and control groups and the highest at 12.623% for the data processing group. Further, we propose a prior relocation-scoring model to estimate the effective relocation order among functions in a program. To demonstrate the effectiveness of the proposed model, benchmarks in the MiBench benchmark suite were selected as case studies. The experimental results are consistent in terms of the scored outputs produced by the proposed model and measured power reduction efficiencies.https://www.mdpi.com/2076-3417/9/11/2354function-level code relocationprior relocation-scoringsource code insertioncode profilinglow-powerembedded systems
spellingShingle Hayeon Choi
Youngkyoung Koo
Sangsoo Park
Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems
Applied Sciences
function-level code relocation
prior relocation-scoring
source code insertion
code profiling
low-power
embedded systems
title Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems
title_full Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems
title_fullStr Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems
title_full_unstemmed Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems
title_short Modeling the Power Consumption of Function-Level Code Relocation for Low-Power Embedded Systems
title_sort modeling the power consumption of function level code relocation for low power embedded systems
topic function-level code relocation
prior relocation-scoring
source code insertion
code profiling
low-power
embedded systems
url https://www.mdpi.com/2076-3417/9/11/2354
work_keys_str_mv AT hayeonchoi modelingthepowerconsumptionoffunctionlevelcoderelocationforlowpowerembeddedsystems
AT youngkyoungkoo modelingthepowerconsumptionoffunctionlevelcoderelocationforlowpowerembeddedsystems
AT sangsoopark modelingthepowerconsumptionoffunctionlevelcoderelocationforlowpowerembeddedsystems