{"title":"Utilization-Aware Data Variable Allocation on NVM-Based SPM in Real-Time Embedded Systems","authors":"Jinyu Zhan, Yixin Li, Wei Jiang, Junhuan Yang","doi":"10.11989/JEST.1674-862X.8011801","DOIUrl":null,"url":null,"abstract":"With the development of the nonvolatile memory (NVM), using NVM in the design of the cache and scratchpad memory (SPM) has been increased. This paper presents a data variable allocation (DVA) algorithm based on the genetic algorithm for NVM-based SPM to prolong the lifetime. The lifetime can be formulated indirectly as the write counts on each SPM address. Since the differences between global variables and stack variables, our optimization model has three constraints. The constraints of the central processing unit (CPU) utilization and size are used for all variables, while no-overlay constraint is only used for stack variables. To satisfy the constraints of the optimization model, we use the greedy strategy to generate the initial population which can determine whether data variables are allocated to SPM and distribute them evenly on SPM addresses. Finally, we use the Malardalen worst case executive time (WCET) benchmark to evaluate our algorithm. The experimental results show that the DVA algorithm can not only obtain close-to-optimal solutions, but also prolong the lifetime by 9.17% on average compared with SRAM-based SPM.","PeriodicalId":53467,"journal":{"name":"Journal of Electronic Science and Technology","volume":"19 1","pages":"163-172"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Electronic Science and Technology","FirstCategoryId":"95","ListUrlMain":"https://doi.org/10.11989/JEST.1674-862X.8011801","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Engineering","Score":null,"Total":0}
引用次数: 1
Abstract
With the development of the nonvolatile memory (NVM), using NVM in the design of the cache and scratchpad memory (SPM) has been increased. This paper presents a data variable allocation (DVA) algorithm based on the genetic algorithm for NVM-based SPM to prolong the lifetime. The lifetime can be formulated indirectly as the write counts on each SPM address. Since the differences between global variables and stack variables, our optimization model has three constraints. The constraints of the central processing unit (CPU) utilization and size are used for all variables, while no-overlay constraint is only used for stack variables. To satisfy the constraints of the optimization model, we use the greedy strategy to generate the initial population which can determine whether data variables are allocated to SPM and distribute them evenly on SPM addresses. Finally, we use the Malardalen worst case executive time (WCET) benchmark to evaluate our algorithm. The experimental results show that the DVA algorithm can not only obtain close-to-optimal solutions, but also prolong the lifetime by 9.17% on average compared with SRAM-based SPM.
期刊介绍:
JEST (International) covers the state-of-the-art achievements in electronic science and technology, including the most highlight areas: ¨ Communication Technology ¨ Computer Science and Information Technology ¨ Information and Network Security ¨ Bioelectronics and Biomedicine ¨ Neural Networks and Intelligent Systems ¨ Electronic Systems and Array Processing ¨ Optoelectronic and Photonic Technologies ¨ Electronic Materials and Devices ¨ Sensing and Measurement ¨ Signal Processing and Image Processing JEST (International) is dedicated to building an open, high-level academic journal supported by researchers, professionals, and academicians. The Journal has been fully indexed by Ei INSPEC and has published, with great honor, the contributions from more than 20 countries and regions in the world.