Efficient Hardware Primitives for Immediate Memory Reclamation in Optimistic Data Structures
| dc.contributor.author | Singh, Ajay | |
| dc.contributor.author | Brown, Trevor | |
| dc.contributor.author | Spear, Michael | |
| dc.date.accessioned | 2026-10-22T14:21:59Z | |
| dc.date.issued | 2023-05 | |
| dc.description | Expanded accepted author manuscript, 13 pages, arXiv:2302.12958v1 (25 February 2023), including detailed safety and progress arguments. Expansion not separately peer reviewed. Existing manuscript licence: CC BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/, as recorded on arXiv; no new licence assigned. Conference publication: © 2023 IEEE, IPDPS 2023, pp. 112–122, https://doi.org/10.1109/IPDPS54959.2023.00021. Original PDF preserved unchanged. | |
| dc.description.abstract | Safe memory reclamation (SMR) algorithms are crucial for preventing use-after-free errors in optimistic data structures. SMR algorithms typically delay reclamation for safety and reclaim objects in batches for efficiency. It is difficult to strike a balance between performance and space efficiency. Small batch sizes and frequent reclamation attempts lead to high overhead, while freeing large batches can lead to long program interruptions and high memory footprints. An ideal SMR algorithm would forgo batching, and reclaim memory immediately, without suffering high reclamation overheads. To this end, we propose Conditional Access: a set of hardware instructions that offer immediate reclamation and low overhead in optimistic data structures. Conditional Access harnesses cache coherence to enable threads to efficiently detect potential use-after-free errors without explicit shared memory communication, and without introducing additional coherence traffic. We implement and evaluate Conditional Access in Graphite, a multicore simulator. Our experiments show that Conditional Access can rival the performance of highly optimized and carefully tuned SMR algorithms while simultaneously allowing immediate reclamation. This results in concurrent data structures with similar memory footprints to their sequential counterparts. | |
| dc.description.sponsorship | Natural Sciences and Engineering Research Council of Canada, Discovery RGPIN-2019-04227; Discovery Launch Supplement DGECR-2019-00048 || Canada Foundation for Innovation John R. Evans Leaders Fund and Ontario Research Fund CFI Leaders Opportunity Fund, 38512 || National Science Foundation, CNS-CSR-1814974 || University of Waterloo | |
| dc.identifier.uri | https://doi.org/10.1109/IPDPS54959.2023.00021 | |
| dc.identifier.uri | https://hdl.handle.net/10012/24591 | |
| dc.language.iso | en | |
| dc.publisher | IEEE | |
| dc.relation.ispartofseries | 2023 IEEE International Parallel and Distributed Processing Symposium (IPDPS) | |
| dc.relation.uri | http://ca.tbrown.pro/ | |
| dc.subject | safe memory reclamation | |
| dc.title | Efficient Hardware Primitives for Immediate Memory Reclamation in Optimistic Data Structures | |
| dc.type | Conference Paper | |
| dcterms.bibliographicCitation | Ajay Singh; Trevor Brown; Michael Spear. (2023). Efficient Hardware Primitives for Immediate Memory Reclamation in Optimistic Data Structures. 2023 IEEE International Parallel and Distributed Processing Symposium (IPDPS). pp. 112-122. https://doi.org/10.1109/ipdps54959.2023.00021. | |
| uws.contributor.affiliation1 | Faculty of Mathematics | |
| uws.contributor.affiliation2 | David R. Cheriton School of Computer Science | |
| uws.peerReviewStatus | Reviewed | |
| uws.scholarLevel | Faculty | |
| uws.typeOfResource | Text | en |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- cv-50-efficient-hardware-primitives-for-immediate-memory-reclamation-in-optimistic-dat.pdf
- Size:
- 952.53 KB
- Format:
- Adobe Portable Document Format
- Description:
- Expanded accepted author manuscript, 13 pages, arXiv:2302.12958v1. Extra proof material not separately peer reviewed. Existing CC BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/. PDF unchanged.
License bundle
1 - 1 of 1
Loading...
- Name:
- license.txt
- Size:
- 4.47 KB
- Format:
- Item-specific license agreed upon to submission
- Description: