Parallel Memory Management in Goose, C++, and Rust: An Experimental Study of Allocation, Reclamation, and Scaling
Rafa\l{} Fr\k{a}czek
Key points
From the paper's conclusion- These results indicate that compiler-managed storage can be effective for parallel workloads with predictable object lifetimes.
Abstract
Compiler-managed memory can reduce allocation and reclamation overhead, but its behavior under parallel workloads remains insufficiently characterized. This study evaluates Goose v2026.3 against C++ and Rust implementations, including tree variants with individually allocated nodes and contiguous arenas. We benchmarked worker-local dynamic arrays and binary trees using multiple workers on a workstation with four physical cores and eight logical CPUs. Repeated tree experiments included five construction, traversal, and reclamation rounds. Each main experimental configuration was measured in 15 independent process runs. We measured whole-process execution time, release-operation intervals, and memory usage at synchronized checkpoints. We also examined strong and weak scaling. For depth-20 trees with eight workers, Goose achieved 5.62% and 10.95% lower median execution times than the C++ and Rust arenas, respectively. Its additional process RSS at the LIVE checkpoint was comparable to the arenas and substantially lower than that of individually allocated trees, but its virtual memory size was much larger. Logical reclamation did not always reduce resident memory, and Goose showed lower weak-scaling efficiency than the C++ and Rust arenas. Results for dynamic arrays were mixed. These results indicate that compiler-managed storage can be effective for parallel workloads with predictable object lifetimes. However, execution time alone does not capture its memory and scalability trade-offs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Memory Allocation for Constant-Bounded ProgramsarXiv · 2026
- Uncovering Hidden Memory Costs for Garbage CollectionProceedings of the ACM on Programming Languages · 2026
- A Formal Account of the Wasm 3.0 Concurrency ModelProceedings of the ACM on Programming Languages · 2026
- Should Your Database Systems Use Hardware-Assisted Memory Safety Extensions in Production?arXiv · 2026
- mold: A Massively Parallel LinkerarXiv · 2026
- Characterizing CPU-GPU Memory Sharing over Unified Memory ArchitecturearXiv · 2026