GreenMalloc:面向工业负载的分配器优化
GreenMalloc: Allocator Optimisation for Industrial Workloads
AI总结:
GreenMalloc通过多目标搜索自动优化内存分配器配置,利用NSGA II和rand_malloc代理基准,在gem5上验证,平均堆使用量减少达4.1%且不损失效率。
摘要:
我们提出了GreenMalloc,一个基于多目标搜索的框架,用于自动配置内存分配器。我们的方法使用NSGA II和rand_malloc作为轻量级代理基准测试工具。我们高效地从执行轨迹中探索分配器参数,并将最佳配置迁移到gem5(一个大型系统模拟器)上,在两项分配器案例研究中进行了验证:GNU C/CPP编译器的glibc malloc和Google的TCMalloc。在多样化的负载下,我们的实证结果显示,平均堆使用量最多可减少4.1%,且不损失运行时效率;实际上,我们实现了0.25%的减少。
英文摘要:
We present GreenMalloc, a multi objective search-based framework for automatically configuring memory allocators. Our approach uses NSGA II and rand_malloc as a lightweight proxy benchmarking tool. We efficiently explore allocator parameters from execution traces and transfer the best configurations to gem5, a large system simulator, in a case study on two allocators: the GNU C/CPP compiler's glibc malloc and Google's TCMalloc. Across diverse workloads, our empirical results show up to 4.1 percantage reduction in average heap usage without loss of runtime efficiency; indeed, we get a 0.25 percantage reduction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。