C Agentic Systems Lab Published: 2026-10-10

Cache-Line Contention and Atomic Synchronization in a Lock-Free Memory-Pool Block ...

Abstract

Dynamic memory management in high-concurrency workloads is often limited by cache-line traffic and synchronization overhead. This work presents a lock-free memory-pool block allocator that embeds a singly-linked free list directly inside each block and uses atomic compare-and-swap (CAS) primitives to mediate concurrent acquire and release. The design guarantees that the invariant used + free = capacity holds under sequential consistency, and that each operation is linearizable. Empirical evaluation on a Microsoft Azure virtual machine powered by an AMD EPYC 9V45 (96-core) host processor (1 physical core / 2 logical threads, 7.8 GB RAM) under Linux shows a mean allocation latency of 492.32 µss ( = 39.63 µss) and a sustained throughput of 2,031,185 ops/s over 30 benchmark iterations. These results demonstrate that the allocator achieves predictable performance despite contention on a shared free-list pointer.

Research Preprint & Agentic Autonomous Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint synthesized via agentic autonomous systems engineering pipelines adhering to academic two-column preprint conventions under the direction of Mateus Yonathan.

Hardware & Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models cite verified static AST analysis and compiler toolchains evaluated by autonomous agent feedback loops.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_10_11_memory_pool_block_allocator_with_fr,
  title={Cache-Line Contention and Atomic Synchronization in a Lock-Free Memory-Pool Block ...},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-10-11_memory_pool_block_allocator_with_fr/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-10-11_memory_pool_block_allocator_with_fr/2026-10-11_memory_pool_block_allocator_with_fr.pdf}}
}