Publish on Ping: A Better Way to Publish Reservations in Memory Reclamation for Concurrent Data Structures
Ajay Singh, Trevor Brown

TL;DR
This paper introduces a novel memory reclamation technique called publish-on-ping that reduces overhead in concurrent data structures by eliminating global reservations, leading to significant performance improvements over hazard pointers and hazard eras.
Contribution
The paper proposes a new memory reclamation method combining POSIX signals and delayed reclamation, serving as a drop-in replacement for hazard pointers and hazard eras, with enhanced performance and robustness.
Findings
Performance improvements of 1.2X to 4X over hazard pointers
Up to 20% faster than optimized hazard pointer implementations
Up to 3X faster than hazard eras
Abstract
Safe memory reclamation techniques that utilize per read reservations, such as hazard pointers, often cause significant overhead in traversals of linked concurrent data structures. This is primarily due to the need to announce a reservation, and fence to enforce appropriate ordering, before each read. In read-intensive workloads, this overhead is amplified because, even if relatively little memory reclamation actually occurs, the full overhead of reserving records is still incurred while traversing data structures. In this paper, we propose a novel memory reclamation technique by combining POSIX signals and delayed reclamation, introducing a publish-on-ping approach. This method eliminates the need to make reservations globally visible before use. Instead, threads privately track which records they are accessing, and share this information on demand with threads that intend to reclaim…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management
