English

GreenMalloc: Allocator Optimisation for Industrial Workloads

Software Engineering 2026-05-05 v1 Hardware Architecture Performance

Abstract

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.

Keywords

Cite

@article{arxiv.2510.21405,
  title  = {GreenMalloc: Allocator Optimisation for Industrial Workloads},
  author = {Aidan Dakhama and W. B. Langdon and Hector D. Menendez and Karine Even-Mendoza},
  journal= {arXiv preprint arXiv:2510.21405},
  year   = {2026}
}
R2 v1 2026-07-01T07:03:51.318Z