A Post-compiling Approach that Exploits Code Granularity in Scratchpads to Improve Energy Efficiency

D. Volpato, Alexandre K. I. Mendonça, L. Santos, José Luís Almada Güntzel
{"title":"A Post-compiling Approach that Exploits Code Granularity in Scratchpads to Improve Energy Efficiency","authors":"D. Volpato, Alexandre K. I. Mendonça, L. Santos, José Luís Almada Güntzel","doi":"10.1109/ISVLSI.2010.66","DOIUrl":null,"url":null,"abstract":"Since most of the energy spent in embedded processors is consumed when accessing instruction and data caches, scratchpad memories (SPMs) are promising for energy efficiency, because they require less energy per access than caches do. Most SPM mapping techniques require the availability of source code and are therefore unable to treat third-party software. This work handles precompiled software while simultaneously mapping code and data elements into SPMs. It evaluates energy savings for code elements defined either by procedure or basic block (BB) boundaries. For a subset of the MiBench program suite, the experimental results show that the adoption of BB boundaries leads to average energy savings of 30% for a 1KB SPM, which are 10% better than when procedure boundaries are considered. For procedure boundaries to achieve average energy savings comparable to those obtained with BBs, SPM size must be increased to 4KB, resulting in a 31% area overhead in the memory subsystem. Higher savings, on the order of 40%, were achieved for real-life use cases exhibiting BBs with high profit/cost ratios. This work also shows that, when exploiting the finer-grain BB boundaries to achieve higher savings, relocatable object files are the most efficient binary media (average patching time is 2.05 seconds), despite the higher number of resulting code elements (mapping takes at most 10 ms).","PeriodicalId":187530,"journal":{"name":"2010 IEEE Computer Society Annual Symposium on VLSI","volume":"192 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 IEEE Computer Society Annual Symposium on VLSI","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISVLSI.2010.66","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Since most of the energy spent in embedded processors is consumed when accessing instruction and data caches, scratchpad memories (SPMs) are promising for energy efficiency, because they require less energy per access than caches do. Most SPM mapping techniques require the availability of source code and are therefore unable to treat third-party software. This work handles precompiled software while simultaneously mapping code and data elements into SPMs. It evaluates energy savings for code elements defined either by procedure or basic block (BB) boundaries. For a subset of the MiBench program suite, the experimental results show that the adoption of BB boundaries leads to average energy savings of 30% for a 1KB SPM, which are 10% better than when procedure boundaries are considered. For procedure boundaries to achieve average energy savings comparable to those obtained with BBs, SPM size must be increased to 4KB, resulting in a 31% area overhead in the memory subsystem. Higher savings, on the order of 40%, were achieved for real-life use cases exhibiting BBs with high profit/cost ratios. This work also shows that, when exploiting the finer-grain BB boundaries to achieve higher savings, relocatable object files are the most efficient binary media (average patching time is 2.05 seconds), despite the higher number of resulting code elements (mapping takes at most 10 ms).
利用代码粒度在scratchpad提高能源效率的后编译方法
由于嵌入式处理器中消耗的大部分能量都是在访问指令和数据缓存时消耗的,因此刮本存储器(spm)有望提高能源效率,因为它们每次访问所需的能量比缓存少。大多数SPM映射技术需要源代码的可用性,因此无法处理第三方软件。该工作处理预编译软件,同时将代码和数据元素映射到spm中。它评估由过程或基本块(BB)边界定义的代码元素的节能。对于MiBench程序套件的一个子集,实验结果表明,对于一个1KB的SPM,采用BB边界可以平均节省30%的能量,比考虑过程边界时节省10%的能量。为了使过程边界达到与bb相当的平均节能,必须将SPM大小增加到4KB,从而在内存子系统中增加31%的区域开销。对于具有高利润/成本比的实际用例,实现了更高的节省,约为40%。这项工作还表明,当利用更细粒度的BB边界来实现更高的节省时,可重定位的目标文件是最有效的二进制媒体(平均修补时间为2.05秒),尽管结果代码元素的数量更多(映射最多需要10毫秒)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信