嵌入式dsp中的缓存预取

A. Vaintraub, R. Kahn, S. Weiss
{"title":"嵌入式dsp中的缓存预取","authors":"A. Vaintraub, R. Kahn, S. Weiss","doi":"10.1109/ICSEE.2018.8646161","DOIUrl":null,"url":null,"abstract":"Prefetching has been a commonplace feature in the general purpose CPU world for more than a decade but has been much less common in the embedded and mobile world, moreover it has not been utilized for DSPs. The goal of this paper is to adapt and simulate straight-forward hardware prefetching techniques for embedded DSPs, assess their performance using the cycle count metric and find their potential improvement under the strict constraints of low power and low complexity. By using industry standard benchmarks we come to the conclusion that even though these algorithms exhibit a very high inherent hit rate, total cycle count improvement is possible due to relatively high external memory delay that stems from shared buses. Several parameters are simulated, including but not limited to cache size, number of prefetched blocks and the use of a small FIFO buffer to store the prefetched blocks as opposed to writing them directly into cache memory. We show that even a small FIFO buffer results in an improvement of 8% on average and up to 35% in total cycle count even in traces that exhibited a cache hit rate of over 99% without prefetching. We also show that a small prefetch buffer enables us to halve the cache size with no discernible effect on performance.","PeriodicalId":254455,"journal":{"name":"2018 IEEE International Conference on the Science of Electrical Engineering in Israel (ICSEE)","volume":"2016 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Cache Prefetching in Embedded DSPs\",\"authors\":\"A. Vaintraub, R. Kahn, S. Weiss\",\"doi\":\"10.1109/ICSEE.2018.8646161\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Prefetching has been a commonplace feature in the general purpose CPU world for more than a decade but has been much less common in the embedded and mobile world, moreover it has not been utilized for DSPs. The goal of this paper is to adapt and simulate straight-forward hardware prefetching techniques for embedded DSPs, assess their performance using the cycle count metric and find their potential improvement under the strict constraints of low power and low complexity. By using industry standard benchmarks we come to the conclusion that even though these algorithms exhibit a very high inherent hit rate, total cycle count improvement is possible due to relatively high external memory delay that stems from shared buses. Several parameters are simulated, including but not limited to cache size, number of prefetched blocks and the use of a small FIFO buffer to store the prefetched blocks as opposed to writing them directly into cache memory. We show that even a small FIFO buffer results in an improvement of 8% on average and up to 35% in total cycle count even in traces that exhibited a cache hit rate of over 99% without prefetching. We also show that a small prefetch buffer enables us to halve the cache size with no discernible effect on performance.\",\"PeriodicalId\":254455,\"journal\":{\"name\":\"2018 IEEE International Conference on the Science of Electrical Engineering in Israel (ICSEE)\",\"volume\":\"2016 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 IEEE International Conference on the Science of Electrical Engineering in Israel (ICSEE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSEE.2018.8646161\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE International Conference on the Science of Electrical Engineering in Israel (ICSEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSEE.2018.8646161","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

十多年来,预取在通用CPU领域一直是一个常见的特性,但在嵌入式和移动领域却不太常见,而且它还没有被用于dsp。本文的目标是适应和模拟嵌入式dsp的直接硬件预取技术,使用周期计数度量评估其性能,并在低功耗和低复杂性的严格约束下发现其潜在的改进。通过使用行业标准基准测试,我们得出结论,尽管这些算法表现出非常高的固有命中率,但由于来自共享总线的相对较高的外部内存延迟,总周期计数可能会有所改善。模拟了几个参数,包括但不限于缓存大小、预取块的数量以及使用一个小的FIFO缓冲区来存储预取块,而不是直接将它们写入缓存内存。我们表明,即使是一个小的FIFO缓冲区,即使在没有预取的情况下,缓存命中率超过99%的跟踪中,平均也会提高8%,总周期数也会提高35%。我们还展示了一个小的预取缓冲区使我们能够将缓存大小减半,而不会对性能产生明显的影响。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Cache Prefetching in Embedded DSPs
Prefetching has been a commonplace feature in the general purpose CPU world for more than a decade but has been much less common in the embedded and mobile world, moreover it has not been utilized for DSPs. The goal of this paper is to adapt and simulate straight-forward hardware prefetching techniques for embedded DSPs, assess their performance using the cycle count metric and find their potential improvement under the strict constraints of low power and low complexity. By using industry standard benchmarks we come to the conclusion that even though these algorithms exhibit a very high inherent hit rate, total cycle count improvement is possible due to relatively high external memory delay that stems from shared buses. Several parameters are simulated, including but not limited to cache size, number of prefetched blocks and the use of a small FIFO buffer to store the prefetched blocks as opposed to writing them directly into cache memory. We show that even a small FIFO buffer results in an improvement of 8% on average and up to 35% in total cycle count even in traces that exhibited a cache hit rate of over 99% without prefetching. We also show that a small prefetch buffer enables us to halve the cache size with no discernible effect on performance.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Robust Motion Compensation for Forensic Analysis of Egocentric Video using Joint Stabilization and Tracking DC low current Hall effect measurements Examining Change Detection Methods For Hyperspectral Data Effect of Reverberation in Speech-based Emotion Recognition Traveling-Wave Ring Oscillator – Simulations and Prototype Measurements for a New Architecture for a Transmission Line Based Oscillator
×
引用
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