模拟高性能内存分配器

José L. Risco-Martín, J. Manuel Colmenar, David Atienza, J. Ignacio Hidalgo
{"title":"模拟高性能内存分配器","authors":"José L. Risco-Martín, J. Manuel Colmenar, David Atienza, J. Ignacio Hidalgo","doi":"arxiv-2406.15776","DOIUrl":null,"url":null,"abstract":"For the last thirty years, a large variety of memory allocators have been\nproposed. Since performance, memory usage and energy consumption of each memory\nallocator differs, software engineers often face difficult choices in selecting\nthe most suitable approach for their applications. To this end, custom\nallocators are developed from scratch, which is a difficult and error-prone\nprocess. This issue has special impact in the field of portable consumer\nembedded systems, that must execute a limited amount of multimedia\napplications, demanding high performance and extensive memory usage at a low\nenergy consumption. This paper presents a flexible and efficient simulator to\nstudy Dynamic Memory Managers (DMMs), a composition of one or more memory\nallocators. This novel approach allows programmers to simulate custom and\ngeneral DMMs, which can be composed without incurring any additional runtime\noverhead or additional programming cost. We show that this infrastructure\nsimplifies DMM construction, mainly because the target application does not\nneed to be compiled every time a new DMM must be evaluated and because we\npropose a structured method to search and build DMMs in an object-oriented\nfashion. Within a search procedure, the system designer can choose the \"best\"\nallocator by simulation for a particular target application and embedded\nsystem. In our evaluation, we show that our scheme delivers better performance,\nless memory usage and less energy consumption than single memory allocators.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"1 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Simulation of high-performance memory allocators\",\"authors\":\"José L. Risco-Martín, J. Manuel Colmenar, David Atienza, J. Ignacio Hidalgo\",\"doi\":\"arxiv-2406.15776\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"For the last thirty years, a large variety of memory allocators have been\\nproposed. Since performance, memory usage and energy consumption of each memory\\nallocator differs, software engineers often face difficult choices in selecting\\nthe most suitable approach for their applications. To this end, custom\\nallocators are developed from scratch, which is a difficult and error-prone\\nprocess. This issue has special impact in the field of portable consumer\\nembedded systems, that must execute a limited amount of multimedia\\napplications, demanding high performance and extensive memory usage at a low\\nenergy consumption. This paper presents a flexible and efficient simulator to\\nstudy Dynamic Memory Managers (DMMs), a composition of one or more memory\\nallocators. This novel approach allows programmers to simulate custom and\\ngeneral DMMs, which can be composed without incurring any additional runtime\\noverhead or additional programming cost. We show that this infrastructure\\nsimplifies DMM construction, mainly because the target application does not\\nneed to be compiled every time a new DMM must be evaluated and because we\\npropose a structured method to search and build DMMs in an object-oriented\\nfashion. Within a search procedure, the system designer can choose the \\\"best\\\"\\nallocator by simulation for a particular target application and embedded\\nsystem. In our evaluation, we show that our scheme delivers better performance,\\nless memory usage and less energy consumption than single memory allocators.\",\"PeriodicalId\":501333,\"journal\":{\"name\":\"arXiv - CS - Operating Systems\",\"volume\":\"1 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Operating Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2406.15776\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.15776","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在过去的三十年里,人们提出了各种各样的内存分配器。由于每种内存分配器的性能、内存使用量和能耗各不相同,软件工程师在为其应用程序选择最合适的方法时常常面临困难的抉择。为此,需要从头开始开发自定义分配器,这是一个困难且容易出错的过程。这个问题在便携式消费嵌入式系统领域具有特殊的影响,因为这些系统必须执行数量有限的多媒体应用,要求在低能耗的情况下实现高性能和大量内存使用。本文介绍了一种灵活高效的模拟器,用于研究由一个或多个内存分配器组成的动态内存管理器(DMM)。这种新颖的方法允许程序员模拟定制的和通用的 DMM,这些 DMM 的组成不会产生任何额外的运行时开销或额外的编程成本。我们的研究表明,这种基础架构简化了 DMM 的构建,这主要是因为目标应用程序无需在每次评估新的 DMM 时都进行编译,而且我们提出了一种结构化方法,以面向对象的方式搜索和构建 DMM。在搜索过程中,系统设计人员可以针对特定的目标应用和嵌入式系统,通过模拟选择 "最佳 "分配器。在评估中,我们发现与单一内存分配器相比,我们的方案性能更好、内存使用量更少、能耗更低。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Simulation of high-performance memory allocators
For the last thirty years, a large variety of memory allocators have been proposed. Since performance, memory usage and energy consumption of each memory allocator differs, software engineers often face difficult choices in selecting the most suitable approach for their applications. To this end, custom allocators are developed from scratch, which is a difficult and error-prone process. This issue has special impact in the field of portable consumer embedded systems, that must execute a limited amount of multimedia applications, demanding high performance and extensive memory usage at a low energy consumption. This paper presents a flexible and efficient simulator to study Dynamic Memory Managers (DMMs), a composition of one or more memory allocators. This novel approach allows programmers to simulate custom and general DMMs, which can be composed without incurring any additional runtime overhead or additional programming cost. We show that this infrastructure simplifies DMM construction, mainly because the target application does not need to be compiled every time a new DMM must be evaluated and because we propose a structured method to search and build DMMs in an object-oriented fashion. Within a search procedure, the system designer can choose the "best" allocator by simulation for a particular target application and embedded system. In our evaluation, we show that our scheme delivers better performance, less memory usage and less energy consumption than single memory allocators.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信