Utilization-Aware Data Variable Allocation on NVM-Based SPM in Real-Time Embedded Systems

Jinyu Zhan, Yixin Li, Wei Jiang, Junhuan Yang
{"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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
实时嵌入式系统中基于NVM的SPM的利用率感知数据变量分配
随着非易失性存储器(NVM)的发展,在高速缓冲存储器(SPM)的设计中使用NVM的情况有所增加。针对基于NVM的SPM,提出了一种基于遗传算法的数据变量分配(DVA)算法,以延长其使用寿命。寿命可以间接公式化为每个SPM地址上的写入计数。由于全局变量和堆栈变量之间的差异,我们的优化模型有三个约束。中央处理器(CPU)利用率和大小的约束用于所有变量,而没有覆盖约束仅用于堆栈变量。为了满足优化模型的约束,我们使用贪婪策略来生成初始种群,该种群可以确定数据变量是否分配给SPM,并将它们均匀地分布在SPM地址上。最后,我们使用Malardalen最坏情况执行时间(WCET)基准来评估我们的算法。实验结果表明,与基于SRAM的SPM相比,DVA算法不仅可以获得接近最优的解,而且平均寿命延长9.17%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Journal of Electronic Science and Technology
Journal of Electronic Science and Technology Engineering-Electrical and Electronic Engineering
CiteScore
4.30
自引率
0.00%
发文量
1362
审稿时长
99 days
期刊介绍: 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.
期刊最新文献
Source localization based on field signatures: Laboratory ultrasonic validation Machine learning model based on non-convex penalized huberized-SVM Iterative physical optics method based on efficient occlusion judgment with bounding volume hierarchy technology A multi-scale persistent spatiotemporal transformer for long-term urban traffic flow prediction Big data challenge for monitoring quality in higher education institutions using business intelligence dashboards
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1