帮助 本站公告
您现在所在的位置:网站首页 > 知识中心 > 文献详情
文献详细Journal detailed

多线程环境的高效内存分配技术
High Performance Memory Allocator for Multithreaded Applications

作  者: ; ; ;

机构地区: 浙江大学计算机科学与技术学院

出  处: 《计算机测量与控制》 2006年第11期1551-1553,1556,共4页

摘  要: 介绍了一种新的多线程内存分配技术(NIXMalloc)的设计和实现,提出了两种高效的分配策略及其自适应调优方法,有效地提高多线程应用程序的内存管理性能;其中Local分配策略对超级块对象Span进行了线程私有化,基于超级块对象为单位的垃圾回收和内存布局调整使多线程性能更优越;Global分配策略采用了自适应调优方法,在动态检测应用程序内存使用情况的基础上进行内存预取和线程缓存限值的动态调整;实验证明NIXMalloc可改善内存管理性能,提高吞吐量,同时降低内存使用量;在多线程应用系统中能获得较好的时空效率。 This paper introduces the design and implementation of NIXMalloc, a new high- performance memory allocator based on two efficient allocation policies and their self-optimizing techniques, and it effectively improves the performance of memory management in multithreaded applications. The Local allocation policy makes Span be local thread super block object. And the garbage collection and memory adjustment based on Span improves the performance of memory allocation. The Global allocation policy adopts self- optimizing techniques. Dynamic adjustment of memory prefetch and thread max cache quantity is performed based on the memory usage of application. The benchmark show NIXMalloc can improve memory operation performance and enhance overall throughput of common multithreaded applications with little memory consumption. Especially it will achieve significant time/space efficiency in multithreaded applications.

关 键 词: 多线程 内存分配 内存管理 自适应调优

领  域: [自动化与计算机技术] [自动化与计算机技术]

相关作者

作者 邓展鸿

相关机构对象

机构 华南农业大学信息学院人机交互研究中心
机构 深圳职业技术学院
机构 暨南大学文学院中国文化史籍研究所

相关领域作者

作者 李文姬
作者 邵慧君
作者 杜松华
作者 周国林
作者 邢弘昊