机构地区: 浙江大学计算机科学与技术学院
出 处: 《计算机测量与控制》 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.
领 域: [自动化与计算机技术] [自动化与计算机技术]