首页> 外文期刊>IAENG Internaitonal journal of computer science >Efficient Memory Allocator with Better Performance and Less Memory Usage
【24h】

Efficient Memory Allocator with Better Performance and Less Memory Usage

机译:高效的内存分配器,具有更好的性能和更少的内存使用量

获取原文
获取原文并翻译 | 示例
           

摘要

Dynamic memory allocator is critical for native (C and C++) programs (malloc and free for C; new and delete for C++). Current memory allocator adopts a common design that organizes memory into several bins of fixed sizes to achieve fast memory allocation and de-allocation. This paper shows that this design would essentially introduce large ratio of memory fragmentation and thus lead to memory waste and degraded performance, especially for allocation intensive applications. To address this problem, we introduce a dynamic strategy to create customized bins of special sizes. Unlike the standard bins in previous general memory allocators, the customized bins created in our memory allocator can better fit allocations of special sizes and reduce memory fragmentation and usage, thus improve performance and space efficiency. Experimental results show that our new memory allocator can achieve up to 1.7x speedup (averagely over 18.8%) over the state-of-the-art memory allocator Hoard with 22% less memory usage.
机译:动态内存分配器对于本机(C和C ++)程序(对于C为malloc和free;对于C ++为new和delete)而言至关重要。当前的内存分配器采用通用设计,将内存组织到几个固定大小的存储箱中,以实现快速的内存分配和取消分配。本文表明,这种设计实质上会引入很大比例的内存碎片,从而导致内存浪费和性能下降,尤其是对于分配密集型应用程序。为了解决这个问题,我们引入了一种动态策略来创建特殊尺寸的定制储物箱。与以前的常规内存分配器中的标准垃圾桶不同,在我们的内存分配器中创建的自定义垃圾桶可以更好地适应特殊大小的分配,并减少内存碎片和使用情况,从而提高性能和空间效率。实验结果表明,与最新的内存分配器Hoard相比,我们的新内存分配器可实现高达1.7倍的加速(平均超过18.8%),而内存使用量减少了22%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号