On Cache Limits for Dataflow Applications and Related Efficient Memory Management Strategies

Alemeh Ghasemi, R. Cataldo, J. Diguet, Kevin J. M. Martin
{"title":"On Cache Limits for Dataflow Applications and Related Efficient Memory Management Strategies","authors":"Alemeh Ghasemi, R. Cataldo, J. Diguet, Kevin J. M. Martin","doi":"10.1145/3441110.3441573","DOIUrl":null,"url":null,"abstract":"The dataflow paradigm frees the designer to focus on the functionality of an application, independently from the underlying architecture executing it. While mapping the dataflow computational part to the cores seems obvious, the memory aspects do not match accordingly. Dataflow compilers usually do not consider the presence of caches when generating code. A generally accepted idea is that bigger and multi-level caches improve the performance of applications. Unfortunately, state-of-the-art dataflow compilers may prove the exception to this rule. This paper presents two efficient memory management strategies for dataflow applications through a study on the impact of sharing, size, and the number of levels of caches on them. The results show that bigger is not always better, and the foreseen future of more cores and bigger caches do not guarantee software-free better performance for dataflow applications. We propose two strategies, that can be used concurrently, to address the memory aspects of the dataflow model: copy-on-write and non-temporal memory transfers. Experimental results show that we speed up a computer stereo vision application by 2.1 × and reduce the number of L1 data cache misses by 45% while maintaining the actors’ source code and design intact.","PeriodicalId":398729,"journal":{"name":"Workshop on Design and Architectures for Signal and Image Processing (14th edition)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Workshop on Design and Architectures for Signal and Image Processing (14th edition)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3441110.3441573","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The dataflow paradigm frees the designer to focus on the functionality of an application, independently from the underlying architecture executing it. While mapping the dataflow computational part to the cores seems obvious, the memory aspects do not match accordingly. Dataflow compilers usually do not consider the presence of caches when generating code. A generally accepted idea is that bigger and multi-level caches improve the performance of applications. Unfortunately, state-of-the-art dataflow compilers may prove the exception to this rule. This paper presents two efficient memory management strategies for dataflow applications through a study on the impact of sharing, size, and the number of levels of caches on them. The results show that bigger is not always better, and the foreseen future of more cores and bigger caches do not guarantee software-free better performance for dataflow applications. We propose two strategies, that can be used concurrently, to address the memory aspects of the dataflow model: copy-on-write and non-temporal memory transfers. Experimental results show that we speed up a computer stereo vision application by 2.1 × and reduce the number of L1 data cache misses by 45% while maintaining the actors’ source code and design intact.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
数据流应用的缓存限制及相关的高效内存管理策略
数据流范式使设计人员能够专注于应用程序的功能,而不依赖于执行应用程序的底层体系结构。虽然将数据流计算部分映射到核心似乎很明显,但内存方面并没有相应地匹配。数据流编译器在生成代码时通常不考虑缓存的存在。一个普遍接受的观点是,更大的多级缓存可以提高应用程序的性能。不幸的是,最先进的数据流编译器可能是这条规则的例外。本文通过研究共享、大小和缓存级别对数据流应用程序的影响,提出了两种有效的内存管理策略。结果表明,更大并不总是更好,并且可以预见的更多核心和更大缓存的未来并不能保证数据流应用程序的无软件更好的性能。我们提出了两种可以并发使用的策略来解决数据流模型的内存方面的问题:写时复制和非临时内存传输。实验结果表明,在保持演员源代码和设计完整的情况下,我们将计算机立体视觉应用程序的速度提高了2.1倍,将L1数据缓存丢失次数减少了45%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
On Cache Limits for Dataflow Applications and Related Efficient Memory Management Strategies Hardware-software implementation of the PointPillars network for 3D object detection in point clouds Convolutional Fully-Connected Capsule Network (CFC-CapsNet) Low-Power Sign-Magnitude FFT Design for FMCW Radar Signal Processing Multiple Transform Selection concept modeling and implementation using Interface Based SDF graphs
×
引用
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