计算机科学 > 分布式、并行与集群计算
[提交于 2026年11月24日]
标题:Parallel Memory Management in Goose, C++, and Rust: An Experimental Study of Allocation, Reclamation, and Scaling
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要: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.
提交历史
来自:Rafał Frączek[v1] 2026年11月24日 星期二 14:09:45 UTC (175 KB)